@zortexhq/indra-v2.5 0.0.0-stage → 0.2.0
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/README.md +152 -2
- package/bin/codex-postinstall.mjs +2 -0
- package/dist/account-galaxy.js +1 -0
- package/dist/account-link.js +1 -0
- package/dist/action-read-progress.js +1 -0
- package/dist/adapter.js +1 -0
- package/dist/authorization.js +1 -0
- package/dist/auto-sync.js +1 -0
- package/dist/auto-update.js +1 -0
- package/dist/box-level1-setup.js +1 -0
- package/dist/bundled-handbook.js +1 -0
- package/dist/calcom-level1-setup.js +1 -0
- package/dist/calcom-selection.js +1 -0
- package/dist/chrome-sync.js +1 -0
- package/dist/cli-run.js +1 -0
- package/dist/cli.js +2 -0
- package/dist/cloud-action-proof.js +1 -0
- package/dist/cloud-device-host.js +1 -0
- package/dist/cloud-device-identity.js +1 -0
- package/dist/cloud-download-sink.js +1 -0
- package/dist/cloud-gmail-actions.js +1 -0
- package/dist/cloud-gmail-audit.js +1 -0
- package/dist/cloud-gmail-bound-audit-runner.js +1 -0
- package/dist/cloud-gmail-bound-epoch.js +1 -0
- package/dist/cloud-gmail-bound-identity.js +1 -0
- package/dist/cloud-gmail-bound-runner.js +1 -0
- package/dist/cloud-gmail-provider.js +1 -0
- package/dist/cloud-gmail-rpc.js +1 -0
- package/dist/cloud-gmail-sync.js +1 -0
- package/dist/codex-install.js +1 -0
- package/dist/codex-setup.js +1 -0
- package/dist/connector-worker.js +2 -0
- package/dist/copyq-level1-setup.js +1 -0
- package/dist/default-root.js +1 -0
- package/dist/discord-level1-setup.js +1 -0
- package/dist/documentation.js +1 -0
- package/dist/dropbox-level1-setup.js +1 -0
- package/dist/feedback-policy.js +1 -0
- package/dist/figma-level1-setup.js +1 -0
- package/dist/freshdesk-level1-setup.js +1 -0
- package/dist/freshrss-level1-setup.js +1 -0
- package/dist/freshrss-selection.js +1 -0
- package/dist/front-level1-setup.js +1 -0
- package/dist/gateway.js +1 -0
- package/dist/google-chat-level1-setup.js +1 -0
- package/dist/google-contacts-level1-setup.js +1 -0
- package/dist/help-launch.js +1 -0
- package/dist/help-manual-sources.js +1 -0
- package/dist/hubspot-level1-setup.js +1 -0
- package/dist/installation-origin.js +1 -0
- package/dist/joplin-level1-setup.js +1 -0
- package/dist/joplin-selection.js +1 -0
- package/dist/local-cloud-feedback.js +1 -0
- package/dist/local-cloud-policy.js +1 -0
- package/dist/local-cloud-power.js +1 -0
- package/dist/local-cloud.js +1 -0
- package/dist/mattermost-level1-setup.js +1 -0
- package/dist/mattermost-selection.js +1 -0
- package/dist/mcp.js +3 -0
- package/dist/measurement-context.js +1 -0
- package/dist/miniflux-level1-setup.js +1 -0
- package/dist/miniflux-selection.js +1 -0
- package/dist/native-level1-setup.js +1 -0
- package/dist/native-vault-discovery.js +1 -0
- package/dist/nextcloud-level1-setup.js +1 -0
- package/dist/nextcloud-url.js +1 -0
- package/dist/onboarding.js +1 -0
- package/dist/operational-observation.js +1 -0
- package/dist/owntracks-level1-setup.js +1 -0
- package/dist/product-feedback.js +2 -0
- package/dist/profile-include.js +1 -0
- package/dist/profile-upgrade.js +1 -0
- package/dist/profile.js +1 -0
- package/dist/proton-mail-level1-setup.js +1 -0
- package/dist/public-action-progress.js +1 -0
- package/dist/recovery-authorization-url.js +1 -0
- package/dist/recovery-evidence.js +1 -0
- package/dist/recovery-page.js +215 -0
- package/dist/recovery-progress.js +1 -0
- package/dist/recovery-support.js +1 -0
- package/dist/recovery-text.js +1 -0
- package/dist/recovery.js +1 -0
- package/dist/resident-client.js +1 -0
- package/dist/resident-host.js +2 -0
- package/dist/resident-jobs.js +1 -0
- package/dist/resident-platform.js +6 -0
- package/dist/resident-relay-admission.js +1 -0
- package/dist/resident-runtime-identity.js +1 -0
- package/dist/resident-tunnel.js +1 -0
- package/dist/salesforce-level1-setup.js +1 -0
- package/dist/saved-reconnect.js +1 -0
- package/dist/setup-activation.js +1 -0
- package/dist/setup-status.js +1 -0
- package/dist/smartsheet-level1-setup.js +1 -0
- package/dist/source-catalog.js +1 -0
- package/dist/startup.js +2 -0
- package/dist/supervised-sync.js +1 -0
- package/dist/thunderbird-level1-setup.js +1 -0
- package/dist/tools.js +1 -0
- package/dist/tunnel-binary.js +1 -0
- package/dist/update-check.js +1 -0
- package/dist/update-cli.js +1 -0
- package/dist/update-dependencies.js +1 -0
- package/dist/update-recovery.js +1 -0
- package/dist/update-telemetry.js +1 -0
- package/dist/update-tool.js +1 -0
- package/dist/wakatime-level1-setup.js +1 -0
- package/dist/wakatime-selection.js +1 -0
- package/dist/wallabag-level1-setup.js +1 -0
- package/dist/wallabag-selection.js +1 -0
- package/dist/web-port.js +1 -0
- package/dist/web.js +2 -0
- package/dist/wechat-level1-setup.js +1 -0
- package/dist/zendesk-level1-setup.js +1 -0
- package/dist/zendesk-selection.js +1 -0
- package/dist/zoom-level1-setup.js +1 -0
- package/dist/zortex-args.js +1 -0
- package/dist/zortex-cli.js +2 -0
- package/dist/zotero-level1-setup.js +1 -0
- package/dist/zulip-level1-setup.js +1 -0
- package/dist/zulip-selection.js +1 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/LICENSE +21 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/README.md +118 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/audit.js +49 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/auth.js +267 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/client.js +115 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/health.js +56 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/index.js +25 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/oauth-setup.js +129 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/policy.js +37 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/server.js +250 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/shutdown.js +91 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/dist/version.js +21 -0
- package/node_modules/@abd-enterprises/zendesk-mcp/package.json +52 -0
- package/node_modules/@softeria/ms-365-mcp-server/.dockerignore +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/.env.example +78 -0
- package/node_modules/@softeria/ms-365-mcp-server/.releaserc.json +9 -0
- package/node_modules/@softeria/ms-365-mcp-server/Dockerfile +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/Dockerfile.ghcr +29 -0
- package/node_modules/@softeria/ms-365-mcp-server/LICENSE +21 -0
- package/node_modules/@softeria/ms-365-mcp-server/README.md +1234 -0
- package/node_modules/@softeria/ms-365-mcp-server/SECURITY.md +11 -0
- package/node_modules/@softeria/ms-365-mcp-server/bin/generate-graph-client.mjs +80 -0
- package/node_modules/@softeria/ms-365-mcp-server/bin/modules/download-openapi.mjs +45 -0
- package/node_modules/@softeria/ms-365-mcp-server/bin/modules/extract-descriptions.mjs +48 -0
- package/node_modules/@softeria/ms-365-mcp-server/bin/modules/generate-mcp-tools.mjs +81 -0
- package/node_modules/@softeria/ms-365-mcp-server/bin/modules/simplified-openapi.mjs +1009 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/__tests__/blob-output.test.js +106 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/__tests__/graph-client.test.js +289 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/__tests__/graph-tools.test.js +4515 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/attachment-route.js +206 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/audit-log.js +72 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/audit-target-resource.js +75 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/auth-tools.js +240 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/auth.js +1149 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/cli.js +248 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/cloud-config.js +81 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/crash-logging.js +41 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/endpoints.json +3024 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/generated/client-beta.js +1020 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/generated/client.js +15999 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/generated/endpoint-types.js +0 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/generated/hack.js +54 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/graph-client.js +508 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/graph-tools.js +2810 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/index.js +159 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/attachment-minting.js +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/attachment-tickets.js +130 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/attachment-upload.js +81 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/attachment-url-config.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/batch-content-type.js +52 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/bm25.js +53 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/cache-dedupe.js +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/cache-encryption.js +89 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/config-paths.js +20 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/destructive-ops.js +9 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/graph-resilience.js +208 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/log-redactor.js +64 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/mail-text.js +293 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/message-signoff.js +239 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/microsoft-auth.js +217 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/obo-access.js +50 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/param-descriptions.js +131 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/path-params.js +16 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/query-parameter-schema.js +34 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/redirect-uri-validation.js +33 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/select-projection.js +83 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/teams-url-parser.js +24 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/tool-schema.js +154 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/upload-dirs.js +61 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/url-signing.js +81 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/lib/user-field-policy.js +88 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/load-env.js +41 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/logger.js +76 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/mcp-instructions.js +26 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/normalize-tool-schema.js +214 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/oauth-provider.js +51 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/obo-client.js +42 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/request-context.js +9 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/secrets.js +68 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/server.js +892 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/startup-pinning.js +50 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/token-cache-storage.js +692 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/tool-categories.js +137 -0
- package/node_modules/@softeria/ms-365-mcp-server/dist/version.js +10 -0
- package/node_modules/@softeria/ms-365-mcp-server/docs/deployment.md +248 -0
- package/node_modules/@softeria/ms-365-mcp-server/eslint.config.js +43 -0
- package/node_modules/@softeria/ms-365-mcp-server/examples/azure-container-apps/README.md +188 -0
- package/node_modules/@softeria/ms-365-mcp-server/examples/azure-container-apps/deploy.ps1 +170 -0
- package/node_modules/@softeria/ms-365-mcp-server/examples/azure-container-apps/main.bicep +252 -0
- package/node_modules/@softeria/ms-365-mcp-server/glama.json +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/LICENSE +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/Readme.md +1148 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/esm.mjs +16 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/index.js +26 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/lib/argument.js +145 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/lib/command.js +2179 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/lib/error.js +43 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/lib/help.js +462 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/lib/option.js +329 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/lib/suggestSimilar.js +100 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/package-support.json +16 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/package.json +80 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/typings/esm.d.mts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/commander/typings/index.d.ts +884 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/dist/index.cjs +823 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/dist/index.d.cts +588 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/dist/index.d.mts +588 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/dist/index.d.ts +588 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/dist/index.mjs +794 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/license.md +20 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/package.json +130 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/readme.md +147 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/express-rate-limit/tsconfig.json +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/LICENSE +21 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/README.md +208 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/index.cjs +33 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/index.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/index.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/index.js +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/package.json +118 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/index.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v3/types.ts +5136 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/core.ts +134 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/function.ts +176 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/index.ts +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/util.ts +775 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/external.js +6 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/index.js +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/locales/en.cjs +111 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/types.cjs +3775 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/types.d.cts +1031 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/types.d.ts +1031 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v3/types.js +3693 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/compat.js +27 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/errors.js +41 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/external.cjs +70 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/external.js +18 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/parse.js +6 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/api.cjs +1039 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/api.d.cts +284 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/api.d.ts +284 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/api.js +906 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/checks.cjs +591 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/checks.js +565 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/core.cjs +67 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/core.d.cts +49 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/core.d.ts +49 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/core.js +61 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/errors.cjs +226 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/errors.js +195 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/function.cjs +102 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/function.d.cts +52 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/function.d.ts +52 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/function.js +75 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/index.cjs +44 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/index.d.cts +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/index.d.ts +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/index.js +15 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/parse.cjs +87 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/parse.js +57 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/regexes.js +95 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/schemas.js +1717 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/util.cjs +539 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/util.d.cts +183 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/util.d.ts +183 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/util.js +493 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/index.js +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ar.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/az.cjs +141 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/az.js +115 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/be.cjs +190 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/be.js +164 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ca.js +118 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/cs.js +135 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/de.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/de.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/en.cjs +145 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/en.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/eo.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/es.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/es.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fa.js +122 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fi.js +122 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/fr.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/he.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/he.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/hu.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/id.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/id.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/index.cjs +84 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/index.js +39 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/it.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/it.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ja.js +115 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/kh.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ko.js +121 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/mk.js +118 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ms.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/nl.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/no.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/no.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ota.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pl.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ps.js +122 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/pt.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ru.js +164 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sl.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/sv.js +118 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ta.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/th.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/th.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/tr.js +115 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ua.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/ur.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/vi.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/coerce.js +17 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/external.cjs +62 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/external.js +13 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/iso.js +30 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4/mini/schemas.js +732 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4-mini/index.cjs +17 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/node_modules/zod/v4-mini/index.js +1 -0
- package/node_modules/@softeria/ms-365-mcp-server/package.json +70 -0
- package/node_modules/@softeria/ms-365-mcp-server/remove-recursive-refs.js +294 -0
- package/node_modules/@softeria/ms-365-mcp-server/src/endpoints.json +3024 -0
- package/node_modules/@softeria/ms-365-mcp-server/src/generated/README.md +56 -0
- package/node_modules/@softeria/ms-365-mcp-server/src/generated/endpoint-types.ts +27 -0
- package/node_modules/@softeria/ms-365-mcp-server/src/generated/hack.ts +68 -0
- package/node_modules/@softeria/ms-365-mcp-server/test-calendar-fix.js +62 -0
- package/node_modules/@softeria/ms-365-mcp-server/test-real-calendar.js +96 -0
- package/node_modules/@softeria/ms-365-mcp-server/tsup.config.ts +30 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/blind-dom.js +2 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/bounded-content-transaction.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/broker-content-execution.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/broker.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/cells.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/cloud-frame.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/cloud-vault-keyring.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/content-operation.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/content-text-scanner.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/device-admission.js +8 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/driver.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/errors.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/events.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/flows.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/imap-policy.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/imap-request.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/imap-transport.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/lifecycle.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/loopback-host.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/loopback-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/native-account.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/node-control.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/policy.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/private-content-stage.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/redaction.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/response-capability.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/runtime.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/sqlite.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/streaming-pattern-matcher.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/streaming-percent-decoder.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/system-key-store.js +1 -0
- package/node_modules/@zortexhq/plugin-auth-core/dist/vault.js +86 -0
- package/node_modules/@zortexhq/plugin-auth-core/package.json +42 -0
- package/node_modules/@zortexhq/plugin-auto-connect/dist/api/durable-dispatcher.js +1 -0
- package/node_modules/@zortexhq/plugin-auto-connect/dist/api/index.js +1 -0
- package/node_modules/@zortexhq/plugin-auto-connect/dist/api/job-contract.js +1 -0
- package/node_modules/@zortexhq/plugin-auto-connect/package.json +16 -0
- package/node_modules/@zortexhq/plugin-cloud-ai/dist/account.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-ai/dist/adopt.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-ai/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-ai/dist/pack.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-ai/dist/publish.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-ai/dist/records.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-ai/package.json +17 -0
- package/node_modules/@zortexhq/plugin-cloud-vault/dist/device-trust.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-vault/dist/owner-admission.js +1 -0
- package/node_modules/@zortexhq/plugin-cloud-vault/package.json +19 -0
- package/node_modules/@zortexhq/plugin-connector-activitywatch/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-activitywatch/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-activitywatch/package.json +18 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/actions.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/brokered-source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/connector.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/fixture-source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/kit.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/manifest.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/safety.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/dist/source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/manifest.json +47 -0
- package/node_modules/@zortexhq/plugin-connector-calendar/package.json +19 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/artifacts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/chromium-types.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/connector.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/default-profile.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/fixture-source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/manifest.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/dist/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/manifest.json +47 -0
- package/node_modules/@zortexhq/plugin-connector-chrome-history/package.json +17 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/action-review.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/browser-authorization.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/connection-feedback.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/connections.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/connector-utils.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/connector-v3.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/connectors.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/local-read-custody.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/loopback-pin.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/selected-account.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/api/wait-authorization.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/authorization-metrics.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/browser.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/connection-feedback.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/enrollment.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/http.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/hub.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/native-principal.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/resource-admission.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/share-snapshot.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/shared-read-discovery.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/transient-action-context.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/dist/transport.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-core/package.json +29 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/actions.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/artifacts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/connector.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/custodied-full.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/drive-source.js +2 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/file-snapshot.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/fixture-source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/full-provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/manifest.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/office-text.js +5 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-drive/manifest.json +86 -0
- package/node_modules/@zortexhq/plugin-connector-drive/package.json +30 -0
- package/node_modules/@zortexhq/plugin-connector-fleet/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-fleet/package.json +20 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/absence-audit.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/action-rail.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/chromium.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/connector-append-port.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/connector-manifest.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/learning.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/native-read-cache.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/block-layer-map.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/canon.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/cedar.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/channels.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/component-context.js +6 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/component-docs.js +3 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/component-lifecycle.js +4 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/component-shapes.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/composition-events.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connector-cast5.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connector-certificate.js +3 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connector-control.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connector-migration-delta.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connector-proof.js +3 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connector-research.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connector-status.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/connectors.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/constants.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/event.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/evidence.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/fleet.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/flywheel.js +3 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/fuse.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/gateway.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/hash.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i1.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i10-classification-hash.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i10.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i11.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i2.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i3.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i4.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i5.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i6.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i7.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i8.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/i9.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/jcs.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/json.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/jsonpath.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/miners.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/policy.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/projection-fns.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/referee-probe.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/registry.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/result.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/rev.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/schemas.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/security.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/surfaces.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/sync-events.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/taint.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/ulid.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/utf8-order.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/validate.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original/weights.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original-authoring.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original-connector-protocol.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original-log-port.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original-miner.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original-provider-read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/api/original-sync.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/append-port.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/async-provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/audit.js +3 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/authoring.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/change-signal.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-codec.js +2 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-fs.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-move-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-move.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-posix.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-public.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-replay.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/checkpoint-store.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/bookmarks.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/chrome-install.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/chromium-history.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/chromium-paths.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/credential-redaction.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/history-source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/normalize-visit.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/sqlite-source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/sqlite.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium-local/webkit-epoch.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/chromium.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/connection-health.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/connector-order-port.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/connector.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/coverage.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/errors.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/event-log-port.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/failure-type.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/gap-repair-sync.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/gap-repair.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/identity.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/lanes.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/legacy-era-upcast.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/listing-store.js +3 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/loop-yield.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/machine.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/manifest.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/migration-delta-producers.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/native-async-read-cache.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/page-bound.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/provider-bridge.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/provider-read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/rails.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/rebind-projection.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/reconcile.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/retry.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/runner.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/runtime.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/schema-era-admission.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/shared-sync-replay-fold.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/startup-fold.js +2 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/state-store.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/storage-runtime.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/sync-result-evidence.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/token-guard.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/web-status.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/dist/windows-custody.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-framework/package.json +31 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/actions.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/artifacts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/brokered.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/connector.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/custodied-sync.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/gmail-source.js +8 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/manifest.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/dist/starter-source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/manifest.json +91 -0
- package/node_modules/@zortexhq/plugin-connector-gmail/package.json +28 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/compound-generated.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/compounds.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/connector.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/generated.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/guards.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/dist/types.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/manifest.json +983 -0
- package/node_modules/@zortexhq/plugin-connector-google-tasks/package.json +19 -0
- package/node_modules/@zortexhq/plugin-connector-history/dist/chrome.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-history/dist/edge.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-history/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-history/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-history/dist/snapshot.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-history/package.json +20 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/action-policy.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/additional-sources.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/apple-music-helper.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/apple-music-server.js +13 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/apple-music-tools.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/apple-notes-helper.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/apple-notes-server.js +13 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/apple-reminders-helper.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/apple-reminders-server.js +11 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/calcom-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/chatgpt.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/computer-files-pages.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/custodied.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/deferred-box.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/discord-native-bridge.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/discord-native-config.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/facebook-compat.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/figma-pat-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/figma-pat.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/freshrss-read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/graph-bootstrap.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/joplin-pairing.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/joplin-protocol/local-transport.mjs +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/joplin-protocol/pairing.mjs +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/joplin-protocol/read-protocol.mjs +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/joplin-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/lark-user-tools.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/loopback-tls-child.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/loopback-tls.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/macapt-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/matrix-login.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/mattermost-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/microsoft-todo-server.js +2 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/miniflux-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/monday-oauth-scopes.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/notebooklm-read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-adobe-native.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-aedt.js +52 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-autocad.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-ccs.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-developer-history.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-dingtalk.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-discord.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-docker-desktop.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-eclipse.js +149 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-existing.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-game-metadata.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-graph.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-hearthstone.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-illustrator.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-jetbrains.js +144 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-jianying.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-jupyter.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-lattics.js +73 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-local.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-macapt.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-matlab.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-minecraft.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-modelsim.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-modrinth.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-multisim.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-office-local.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-ollama.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-packet-tracer.js +46 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-photoshop.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-plecs.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-powerpoint.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-premiere-pro.js +33 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-pscad.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-qt-designer.js +51 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-quartus.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-services.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-simulink.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-solidworks.js +105 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-stm32cubemx.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-tdms.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-telegram.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-visio.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-visual-studio.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-windows-metadata.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-wordpress.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-work-stdio.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/prepared-work.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/provisioning.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/catalog.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/chembl.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/economics.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/schema.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/scholarly-records.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/science.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/public-data/specs.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/saved-mcp-scopes.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/service-sdk-bridge.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/service-sdk-matrix.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/service-sdk-spotify.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/settings-transaction.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/settings.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/shallow.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/signed-in.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/sources.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/telegram-native-bridge.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/wakatime-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/wallabag-read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/wallabag-server.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/work-stdio-bootstrap.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/zendesk-oauth.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/dist/zotero-read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/package.json +23 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/adobe-native/read.py +85 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/ccs/read.py +74 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/developer-history/read.py +100 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/docker-desktop/read.py +42 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/game-metadata/read.py +136 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/hearthstone-deck-tracker/cards.ps1 +15 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/hearthstone-deck-tracker/read.py +59 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/illustrator/read.py +98 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/macapt/reader.py +116 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/macapt/requirements.txt +16 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/matlab/read.py +92 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/minecraft/read.py +52 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/modelsim/LICENSE +21 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/modelsim/mcp_vcd/gtkw_parser.py +290 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/modelsim/mcp_vcd/server.py +395 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/modelsim/read.py +73 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/modrinth/library.toml +11 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/office-local/read.py +109 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/photoshop/read.py +64 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/powerpoint/read.py +76 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/proton/read.toml +8 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/pscad/read.py +64 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/quartus/LICENSE +21 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/quartus/read.py +64 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/quartus/upstream.py +2059 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/visio/read.py +62 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/visualstudio/read.mjs +1 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/windows-metadata/read.py +77 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/wordpress/indra-l1-readonly.php +145 -0
- package/node_modules/@zortexhq/plugin-connector-level1/server/zotero/read.py +67 -0
- package/node_modules/@zortexhq/plugin-connector-netease/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-netease/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-netease/package.json +18 -0
- package/node_modules/@zortexhq/plugin-connector-notion/dist/broker.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-notion/dist/http.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-notion/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-notion/dist/manual-selection.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-notion/dist/oauth.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-notion/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-notion/dist/read-custody.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-notion/package.json +24 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/dist/actions.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/dist/http.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/dist/mail-sync.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/dist/text.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/dist/token.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-outlook/package.json +21 -0
- package/node_modules/@zortexhq/plugin-connector-slack/dist/actions.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-slack/dist/http.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-slack/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-slack/dist/message-sync.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-slack/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-slack/dist/selected-read.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-slack/package.json +18 -0
- package/node_modules/@zortexhq/plugin-connector-social/dist/full-sync.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-social/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-social/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-social/dist/sites.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-social/package.json +22 -0
- package/node_modules/@zortexhq/plugin-connector-steam/dist/browser-session.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-steam/dist/http.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-steam/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-steam/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-steam/package.json +20 -0
- package/node_modules/@zortexhq/plugin-connector-supervisor/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-supervisor/package.json +21 -0
- package/node_modules/@zortexhq/plugin-connector-teams/dist/actions.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-teams/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-teams/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-teams/dist/token.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-teams/package.json +18 -0
- package/node_modules/@zortexhq/plugin-connector-whatsapp/dist/auth-state.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-whatsapp/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-whatsapp/dist/messages.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-whatsapp/dist/pairing-page.js +15 -0
- package/node_modules/@zortexhq/plugin-connector-whatsapp/dist/provider.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-whatsapp/dist/transient-buffer.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-whatsapp/package.json +18 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/connector.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/creator-data.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/discovery-data.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/full-sync.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/schema.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/source.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/dist/takeout.js +1 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/manifest.json +19755 -0
- package/node_modules/@zortexhq/plugin-connector-youtube/package.json +22 -0
- package/node_modules/@zortexhq/plugin-connectors/package.json +17 -0
- package/node_modules/@zortexhq/plugin-context-share/dist/api/index.js +1 -0
- package/node_modules/@zortexhq/plugin-context-share/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-context-share/dist/share.js +15 -0
- package/node_modules/@zortexhq/plugin-context-share/package.json +21 -0
- package/node_modules/@zortexhq/plugin-device-auth/dist/account-browser.js +1 -0
- package/node_modules/@zortexhq/plugin-device-auth/dist/api.js +1 -0
- package/node_modules/@zortexhq/plugin-device-auth/dist/authority.js +1 -0
- package/node_modules/@zortexhq/plugin-device-auth/dist/memory-store.js +1 -0
- package/node_modules/@zortexhq/plugin-device-auth/dist/sqlite-store.js +1 -0
- package/node_modules/@zortexhq/plugin-device-auth/package.json +13 -0
- package/node_modules/@zortexhq/plugin-drive-content/dist/checks.js +1 -0
- package/node_modules/@zortexhq/plugin-drive-content/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-drive-content/dist/render.js +9 -0
- package/node_modules/@zortexhq/plugin-drive-content/dist/types.js +1 -0
- package/node_modules/@zortexhq/plugin-drive-content/package.json +20 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/galaxy-text.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/localizer.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/original-adapter.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/portrait-compute.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/portrait-math.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/portrait-producer.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/portrait-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/routes.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/server.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/snapshot.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/dist/sync-progress.js +4 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/package.json +17 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/account.css +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/account.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/live-model.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/live-state.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/panels-live.js +35 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/portrait-model.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/product.css +9 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/product.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/refresh-model.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/shell.css +6 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/shell.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/integration/sync-model.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/app.css +323 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/app.html +98 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/apps-model.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/fonts/inter-latin-ext.woff2 +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/fonts/inter-latin.woff2 +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/activitywatch.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/calendly.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/chrome.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/drive.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/gcal.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/gmail.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/instagram.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/linkedin.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/airtable.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/apple-music.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/apple-reminders.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/appstore.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/asana.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/basecamp.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/box.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/calcom.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/calendly.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/canva.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/chatgpt.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/clickup.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/cloudflare.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/coda.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/computer-files.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/confluence.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/copyq.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/dingtalk.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/discord.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/dropbox.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/facebook.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/fastmail.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/figma.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/freshdesk.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/freshrss.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/front.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/ghost.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/github.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/gitlab.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/gmail.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/google-calendar.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/google-chat.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/google-chrome.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/google-contacts.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/google-drive.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/google-tasks.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/harvest.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/hubspot.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/imessage.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/immich.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/instagram.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/intercom.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/jira.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/joplin.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/karakeep.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/lark.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/linear.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/linkedin.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/local-audio.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/logseq.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/mac-apt.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/macos-contacts.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/matrix.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/mattermost.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/microsoft-edge.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/microsoft-planner.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/microsoft-todo.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/miniflux.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/miro.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/monday.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/netease-mail.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/nextcloud.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/notebooklm.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/notion.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/obsidian.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/onedrive.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/onenote.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/openrouter.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/owntracks.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/pipedrive.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/posthog.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/proton-mail.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/railway.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/raindrop.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/readwise.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/reddit.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/rednote.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/salesforce.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/sentry.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/sharepoint.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/shopify.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/smartsheet.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/spotify.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/steam.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/stripe.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/supabase.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/teams.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/telegram.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/thunderbird.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/ticktick.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/tiktok.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/todoist.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/toggl.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/trello.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/wakatime.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/wallabag.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/webflow.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/wechat.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/whatsapp-web.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/wordpress.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/wrike.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/x.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/youtube.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/zendesk.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/zoom.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/zotero.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local/zulip.svg +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/local-sources.json +109 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/notes.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/notion.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/outlook.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/reddit.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/slack.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/sources.json +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/spotify.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/x.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/icons/youtube.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/look.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/mod-icons.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/panels.js +63 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/product-model.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/provenance.json +271 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/setup-model.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/shapes/app-icon.svg +2 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-cpu-field.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-cpu.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-edges-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-fog-links-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-fog-links.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-links.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-nodes.js +16 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-plain.gen.js +160 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-shape.gen.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-sources.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-spacing.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-timeline-links.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-timeline-paint.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-timeline-rooms.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-topics-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-topics.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-twin.gen.js +162 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph-view-state.js +1 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph.css +404 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph.html +141 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/star-graph.js +13 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/vendor/engine.js +43 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/vendor/galaxy.css +19 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/zortex-mark.png +0 -0
- package/node_modules/@zortexhq/plugin-galaxy-ui/src/original/zx-tokens.css +73 -0
- package/node_modules/@zortexhq/plugin-google-auth/dist/desktop-client.js +1 -0
- package/node_modules/@zortexhq/plugin-google-auth/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-google-auth/dist/read-batch.js +1 -0
- package/node_modules/@zortexhq/plugin-google-auth/package.json +24 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/attached.js +11 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/browser.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/decision.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/extension-transport.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/feedback.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/google-oauth-bridge.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/google-oauth-driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/google-uia-decision.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/microsoft-oauth-bridge.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/microsoft-oauth-driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/page-inspect.js +6 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/runner.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/slack-oauth-bridge.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/slack-oauth-driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/dist/whatsapp-session.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/extension/manifest.json +9 -0
- package/node_modules/@zortexhq/plugin-jev-autopilot/package.json +21 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/assets/ax-page.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/assets/uia-page.ps1 +545 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/approved-control.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/attached-session.js +8 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-account-policy.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-memory.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-planner.js +8 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/authorization-task.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/browser-actions.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/browser-task.js +7 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/combined.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/decision.js +5 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/google-oauth-driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/isolated-display.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/microsoft-oauth-driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/native-session.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/notion-oauth-driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/observe-log.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/page-settle.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/planned-oauth.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/session-routes.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/shared-session.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/site-read.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/dist/slack-oauth-driver.js +1 -0
- package/node_modules/@zortexhq/plugin-jev-browser-driver/package.json +20 -0
- package/node_modules/@zortexhq/plugin-local-source-access/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-local-source-access/dist/original-grant.js +1 -0
- package/node_modules/@zortexhq/plugin-local-source-access/dist/recipe-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-local-source-access/package.json +22 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-background.cs +492 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-guard-x64.build.json +30 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-guard-x64.dll +0 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-oauth-guard.c +692 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/assets/windows-uia-oauth.ps1 +3840 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/dist/api/index.js +1 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/dist/driver.js +3 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-oauth-browser-driver/package.json +19 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/collection-gap.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/delivery-policy.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/github-identity.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/indra.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/install-attribution.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/local-cloud.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/northstar.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/observations.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/onboarding.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/product-update.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/source-ids.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/dist/source-taxonomy.js +1 -0
- package/node_modules/@zortexhq/plugin-posthog/package.json +27 -0
- package/node_modules/@zortexhq/plugin-process-local/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-process-local/dist/runner.js +1 -0
- package/node_modules/@zortexhq/plugin-process-local/dist/windows-job.js +1 -0
- package/node_modules/@zortexhq/plugin-process-local/package.json +16 -0
- package/node_modules/@zortexhq/plugin-product-account/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-product-account/package.json +16 -0
- package/node_modules/@zortexhq/plugin-telemetry/dist/aggregate.js +1 -0
- package/node_modules/@zortexhq/plugin-telemetry/dist/api/index.js +1 -0
- package/node_modules/@zortexhq/plugin-telemetry/dist/api/measurement.js +1 -0
- package/node_modules/@zortexhq/plugin-telemetry/dist/api/observations.js +1 -0
- package/node_modules/@zortexhq/plugin-telemetry/dist/api/telemetry.js +1 -0
- package/node_modules/@zortexhq/plugin-telemetry/dist/api/trace.js +1 -0
- package/node_modules/@zortexhq/plugin-telemetry/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-telemetry/package.json +22 -0
- package/node_modules/@zortexhq/plugin-tunnel-frp/dist/client.js +30 -0
- package/node_modules/@zortexhq/plugin-tunnel-frp/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-tunnel-frp/package.json +16 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/binding-custody.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/blob-store.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/checkpoint-erasure-proof.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/connector-supervisor.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/custody.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/index.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/local-source.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/metadata.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/sqlite-vault.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/vault-backup.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/api/vault-sql.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/append-port.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/blob-port.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/checkpoint-erasure-proof.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/codec.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/credentials.js +19 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/custody.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/dpapi.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/id-read.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/index.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/joplin-pairing-commit.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/keychain.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/local-source-registry.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/mcp.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/metadata.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/original-contracts.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/process-journal.js +6 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/record-rules.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/recovery-guard.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/registry.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/schema.js +10 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/snapshot-codec.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/snapshot-tables.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/snapshot-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/snapshot.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/source-principal-port.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/sql-worker.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/sql.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/dist/sqlite.js +1 -0
- package/node_modules/@zortexhq/plugin-vault-sqlite/package.json +41 -0
- package/node_modules/@zortexhq/rooktrail/LICENSE +202 -0
- package/node_modules/@zortexhq/rooktrail/NOTICE +5 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/canon.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/event.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/hash.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/i1.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/i2.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/index.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/jcs.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/json.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/result.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/rev.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/taint.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/ulid.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/contracts/validate.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/effects.js +9 -0
- package/node_modules/@zortexhq/rooktrail/dist/integration.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/read.js +4 -0
- package/node_modules/@zortexhq/rooktrail/dist/record-rules.js +6 -0
- package/node_modules/@zortexhq/rooktrail/dist/registry.js +1 -0
- package/node_modules/@zortexhq/rooktrail/dist/schema.js +84 -0
- package/node_modules/@zortexhq/rooktrail/dist/sqlite.js +1 -0
- package/node_modules/@zortexhq/rooktrail/package.json +22 -0
- package/node_modules/chatgpt-web-mcp/.env.example +30 -0
- package/node_modules/chatgpt-web-mcp/CONTRIBUTING.md +65 -0
- package/node_modules/chatgpt-web-mcp/LICENSE +21 -0
- package/node_modules/chatgpt-web-mcp/README.en.md +149 -0
- package/node_modules/chatgpt-web-mcp/README.md +194 -0
- package/node_modules/chatgpt-web-mcp/SECURITY.md +37 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/LICENSE +21 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/README.md +208 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/index.cjs +33 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/index.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/index.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/index.js +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/package.json +118 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/index.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v3/types.ts +5136 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/core.ts +134 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/function.ts +176 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/index.ts +15 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/util.ts +775 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/external.js +6 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/index.js +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.cjs +111 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.cjs +3775 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.d.cts +1031 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.d.ts +1031 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v3/types.js +3693 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/compat.js +27 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/errors.js +41 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.cjs +70 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/external.js +18 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/parse.js +6 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.cjs +1039 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.d.cts +284 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.d.ts +284 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/api.js +906 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.cjs +591 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/checks.js +565 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.cjs +67 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.d.cts +49 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.d.ts +49 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/core.js +61 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.cjs +226 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/errors.js +195 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.cjs +102 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.d.cts +52 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.d.ts +52 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/function.js +75 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.cjs +44 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.d.cts +15 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.d.ts +15 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/index.js +15 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.cjs +87 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/parse.js +57 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/regexes.js +95 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/schemas.js +1717 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.cjs +539 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.d.cts +183 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.d.ts +183 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/util.js +493 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/index.js +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ar.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.cjs +141 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/az.js +115 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.cjs +190 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/be.js +164 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ca.js +118 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/cs.js +135 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/de.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.cjs +145 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/en.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/eo.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/es.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fa.js +122 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fi.js +122 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/fr.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/he.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/hu.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/id.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.cjs +84 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/index.js +39 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/it.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ja.js +115 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/kh.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ko.js +121 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/mk.js +118 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ms.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/nl.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/no.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ota.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pl.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ps.js +122 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/pt.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ru.js +164 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sl.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/sv.js +118 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ta.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/th.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/tr.js +115 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ua.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/ur.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/vi.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/coerce.js +17 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.cjs +62 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/external.js +13 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/iso.js +30 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4/mini/schemas.js +732 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.cjs +17 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/node_modules/chatgpt-web-mcp/node_modules/zod/v4-mini/index.js +1 -0
- package/node_modules/chatgpt-web-mcp/package.json +50 -0
- package/node_modules/chatgpt-web-mcp/scripts/doctor.js +40 -0
- package/node_modules/chatgpt-web-mcp/scripts/inspect.js +16 -0
- package/node_modules/chatgpt-web-mcp/scripts/login.js +32 -0
- package/node_modules/chatgpt-web-mcp/scripts/smoke-mcp.js +26 -0
- package/node_modules/chatgpt-web-mcp/src/browser.js +4670 -0
- package/node_modules/chatgpt-web-mcp/src/cli.js +27 -0
- package/node_modules/chatgpt-web-mcp/src/config.js +210 -0
- package/node_modules/chatgpt-web-mcp/src/errors.js +20 -0
- package/node_modules/chatgpt-web-mcp/src/index.js +381 -0
- package/node_modules/chatgpt-web-mcp/src/login-lifecycle.js +39 -0
- package/node_modules/chatgpt-web-mcp/src/selectors.js +151 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1172 -0
- package/node_modules/commander/index.js +21 -0
- package/node_modules/commander/lib/argument.js +147 -0
- package/node_modules/commander/lib/command.js +2790 -0
- package/node_modules/commander/lib/error.js +36 -0
- package/node_modules/commander/lib/help.js +731 -0
- package/node_modules/commander/lib/option.js +377 -0
- package/node_modules/commander/lib/suggestSimilar.js +99 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +64 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/node_modules/debug/.coveralls.yml +1 -0
- package/node_modules/debug/.eslintrc +11 -0
- package/node_modules/debug/.travis.yml +14 -0
- package/node_modules/debug/CHANGELOG.md +362 -0
- package/node_modules/debug/LICENSE +19 -0
- package/node_modules/debug/Makefile +50 -0
- package/node_modules/debug/README.md +312 -0
- package/node_modules/debug/component.json +19 -0
- package/node_modules/debug/karma.conf.js +70 -0
- package/node_modules/debug/node.js +1 -0
- package/node_modules/debug/package.json +49 -0
- package/node_modules/debug/src/browser.js +185 -0
- package/node_modules/debug/src/debug.js +202 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/inspector-log.js +15 -0
- package/node_modules/debug/src/node.js +248 -0
- package/node_modules/express-rate-limit/dist/index.cjs +1090 -0
- package/node_modules/express-rate-limit/dist/index.d.cts +699 -0
- package/node_modules/express-rate-limit/dist/index.d.mts +699 -0
- package/node_modules/express-rate-limit/dist/index.d.ts +699 -0
- package/node_modules/express-rate-limit/dist/index.mjs +1046 -0
- package/node_modules/express-rate-limit/license +21 -0
- package/node_modules/express-rate-limit/node_modules/debug/LICENSE +20 -0
- package/node_modules/express-rate-limit/node_modules/debug/README.md +481 -0
- package/node_modules/express-rate-limit/node_modules/debug/package.json +64 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/browser.js +272 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/common.js +292 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/index.js +10 -0
- package/node_modules/express-rate-limit/node_modules/debug/src/node.js +263 -0
- package/node_modules/express-rate-limit/node_modules/ms/index.js +162 -0
- package/node_modules/express-rate-limit/node_modules/ms/license.md +21 -0
- package/node_modules/express-rate-limit/node_modules/ms/package.json +38 -0
- package/node_modules/express-rate-limit/node_modules/ms/readme.md +59 -0
- package/node_modules/express-rate-limit/package.json +112 -0
- package/node_modules/express-rate-limit/readme.md +140 -0
- package/node_modules/express-rate-limit/tsconfig.json +8 -0
- package/node_modules/ms/index.js +152 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +37 -0
- package/node_modules/ms/readme.md +51 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +52 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +36 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +51 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +147 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/node_modules/zod/src/v4/core/compile.ts +2322 -0
- package/node_modules/zod/src/v4/core/core.ts +230 -0
- package/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5226 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/node_modules/zod/src/v4/core/util.ts +1293 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +167 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +36 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +41 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +52 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3798 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +97 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +52 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/node_modules/zod/v4/core/api.cjs +1269 -0
- package/node_modules/zod/v4/core/api.d.cts +335 -0
- package/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/zod/v4/core/api.js +1107 -0
- package/node_modules/zod/v4/core/checks.cjs +561 -0
- package/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/zod/v4/core/checks.js +516 -0
- package/node_modules/zod/v4/core/compile.cjs +1916 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1866 -0
- package/node_modules/zod/v4/core/core.cjs +167 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +61 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +38 -0
- package/node_modules/zod/v4/core/errors.cjs +317 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +267 -0
- package/node_modules/zod/v4/core/index.cjs +70 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +233 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +175 -0
- package/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/zod/v4/core/regexes.js +156 -0
- package/node_modules/zod/v4/core/registries.cjs +75 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2699 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1275 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1275 -0
- package/node_modules/zod/v4/core/schemas.js +2636 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/node_modules/zod/v4/core/util.cjs +964 -0
- package/node_modules/zod/v4/core/util.d.cts +280 -0
- package/node_modules/zod/v4/core/util.d.ts +280 -0
- package/node_modules/zod/v4/core/util.js +873 -0
- package/node_modules/zod/v4/core/versions.cjs +27 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +51 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +111 -0
- package/node_modules/zod/v4/locales/az.cjs +137 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +110 -0
- package/node_modules/zod/v4/locales/be.cjs +195 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +168 -0
- package/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +125 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +112 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +116 -0
- package/node_modules/zod/v4/locales/da.cjs +147 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +120 -0
- package/node_modules/zod/v4/locales/de.cjs +140 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +113 -0
- package/node_modules/zod/v4/locales/el.cjs +139 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +112 -0
- package/node_modules/zod/v4/locales/en.cjs +152 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +125 -0
- package/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +114 -0
- package/node_modules/zod/v4/locales/es.cjs +163 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +136 -0
- package/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +119 -0
- package/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +117 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +129 -0
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +248 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +221 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +126 -0
- package/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +113 -0
- package/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +158 -0
- package/node_modules/zod/v4/locales/id.cjs +138 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +111 -0
- package/node_modules/zod/v4/locales/index.cjs +152 -0
- package/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/zod/v4/locales/index.js +63 -0
- package/node_modules/zod/v4/locales/is.cjs +141 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +114 -0
- package/node_modules/zod/v4/locales/it.cjs +140 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +113 -0
- package/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +112 -0
- package/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +117 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +142 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +115 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +116 -0
- package/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +207 -0
- package/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +114 -0
- package/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +112 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +115 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +140 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +113 -0
- package/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +114 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +114 -0
- package/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +119 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +142 -0
- package/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +122 -0
- package/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +168 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +114 -0
- package/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +115 -0
- package/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +115 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +142 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +115 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +110 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +113 -0
- package/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +115 -0
- package/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +113 -0
- package/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +113 -0
- package/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +112 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +95 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +51 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +51 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +1043 -4
- package/profiles/account-worker.yml +13 -0
- package/profiles/browser-worker.yml +12 -0
- package/profiles/chrome-worker.yml +11 -0
- package/profiles/core.yml +106 -0
- package/profiles/google-worker.yml +17 -0
- package/profiles/social-worker.yml +18 -0
- package/profiles/vault.yml +16 -0
- package/release-provenance.json +1308 -0
- package/update-manifest.json +21523 -0
|
@@ -0,0 +1,2810 @@
|
|
|
1
|
+
import { CallToolRequestSchema } from "@modelcontextprotocol/sdk/types.js";
|
|
2
|
+
import { randomUUID } from "crypto";
|
|
3
|
+
import { readFileSync } from "fs";
|
|
4
|
+
import { access } from "fs/promises";
|
|
5
|
+
import path from "path";
|
|
6
|
+
import { fileURLToPath } from "url";
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
import { auditLog, getUserIdentityForAudit } from "./audit-log.js";
|
|
9
|
+
import { deriveTargetResource } from "./audit-target-resource.js";
|
|
10
|
+
import {
|
|
11
|
+
getEndpointScopeGroups,
|
|
12
|
+
getMissingAllowedScopesForGroups,
|
|
13
|
+
parseAllowedScopes
|
|
14
|
+
} from "./auth.js";
|
|
15
|
+
import { api as betaApi } from "./generated/client-beta.js";
|
|
16
|
+
import { api } from "./generated/client.js";
|
|
17
|
+
import { getBlobMaxBytes, isBlobOutputEnabled } from "./graph-client.js";
|
|
18
|
+
import { getAttachmentMinting } from "./lib/attachment-minting.js";
|
|
19
|
+
import { MAX_UPLOAD_BYTES, uploadAttachment } from "./lib/attachment-upload.js";
|
|
20
|
+
import { getUploadDirs, openUploadFile } from "./lib/upload-dirs.js";
|
|
21
|
+
import {
|
|
22
|
+
buildAttachmentUrl,
|
|
23
|
+
isPlainGraphPath,
|
|
24
|
+
isUnalteredGraphPath,
|
|
25
|
+
TicketStoreFullError
|
|
26
|
+
} from "./lib/attachment-tickets.js";
|
|
27
|
+
import { buildBM25Index, scoreQuery, tokenize } from "./lib/bm25.js";
|
|
28
|
+
import { isDestructiveOperation } from "./lib/destructive-ops.js";
|
|
29
|
+
import {
|
|
30
|
+
CONFIRM_PARAM_DESCRIPTION,
|
|
31
|
+
DEFAULT_MAX_PAGES,
|
|
32
|
+
EXPAND_EXTENDED_PROPERTIES_PARAM_DESCRIPTION,
|
|
33
|
+
getAcceptParamDescription,
|
|
34
|
+
getAccountParamDescription,
|
|
35
|
+
getFetchAllPagesParamDescription,
|
|
36
|
+
getMaxPages,
|
|
37
|
+
isFetchAllPagesApplicable,
|
|
38
|
+
isSkiptokenApplicable,
|
|
39
|
+
MEMBER_NAME_PARAM_DESCRIPTION,
|
|
40
|
+
paginationAllowed,
|
|
41
|
+
positiveIntFromEnv,
|
|
42
|
+
SKIPTOKEN_PARAM_DESCRIPTION,
|
|
43
|
+
TIMEZONE_PARAM_DESCRIPTION
|
|
44
|
+
} from "./lib/param-descriptions.js";
|
|
45
|
+
import { describePathParam } from "./lib/path-params.js";
|
|
46
|
+
import { queryParameterSchema } from "./lib/query-parameter-schema.js";
|
|
47
|
+
import {
|
|
48
|
+
anyFieldPresent,
|
|
49
|
+
isTransportEnvelope,
|
|
50
|
+
parseSelectFields,
|
|
51
|
+
projectSelectedFields
|
|
52
|
+
} from "./lib/select-projection.js";
|
|
53
|
+
import { parseTeamsUrl } from "./lib/teams-url-parser.js";
|
|
54
|
+
import {
|
|
55
|
+
MAIL_TEXT_DEFAULT_MAX_RESPONSE_CHARS,
|
|
56
|
+
MAIL_TEXT_DEFAULT_MAX_CHARS,
|
|
57
|
+
MAIL_TEXT_MAX_INPUT_CHARS,
|
|
58
|
+
MAIL_TEXT_MAX_IDS,
|
|
59
|
+
MAIL_TEXT_MAX_TOP,
|
|
60
|
+
MAIL_TEXT_SELECT,
|
|
61
|
+
PREFER_TEXT_BODY,
|
|
62
|
+
oversizeError,
|
|
63
|
+
toMailTextEntry,
|
|
64
|
+
validateMailTextArgs
|
|
65
|
+
} from "./lib/mail-text.js";
|
|
66
|
+
import { describeToolSchema, describeUtilityToolSchema } from "./lib/tool-schema.js";
|
|
67
|
+
import {
|
|
68
|
+
restrictUserFieldQuery,
|
|
69
|
+
restrictUserFieldUrl,
|
|
70
|
+
shouldStripUserFieldExpand,
|
|
71
|
+
stripUserFieldExpandFromUrl,
|
|
72
|
+
targetsUserProfile,
|
|
73
|
+
userFieldEnforcement
|
|
74
|
+
} from "./lib/user-field-policy.js";
|
|
75
|
+
import logger from "./logger.js";
|
|
76
|
+
import { getRequestTokens } from "./request-context.js";
|
|
77
|
+
import { TOOL_CATEGORIES } from "./tool-categories.js";
|
|
78
|
+
const allEndpoints = [...api.endpoints, ...betaApi.endpoints];
|
|
79
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
80
|
+
const __dirname = path.dirname(__filename);
|
|
81
|
+
const endpointsData = JSON.parse(
|
|
82
|
+
readFileSync(path.join(__dirname, "endpoints.json"), "utf8")
|
|
83
|
+
);
|
|
84
|
+
function withApiVersionPrefix(description, config) {
|
|
85
|
+
return config?.apiVersion === "beta" ? `[beta] ${description}` : description;
|
|
86
|
+
}
|
|
87
|
+
function maxTopFromEnv() {
|
|
88
|
+
const raw = process.env.MS365_MCP_MAX_TOP;
|
|
89
|
+
if (raw === void 0 || raw === "") return void 0;
|
|
90
|
+
const n = Number.parseInt(raw, 10);
|
|
91
|
+
if (!Number.isFinite(n) || n < 1) {
|
|
92
|
+
logger.warn(
|
|
93
|
+
`Ignoring invalid MS365_MCP_MAX_TOP=${JSON.stringify(raw)} (use a positive integer)`
|
|
94
|
+
);
|
|
95
|
+
return void 0;
|
|
96
|
+
}
|
|
97
|
+
return n;
|
|
98
|
+
}
|
|
99
|
+
function clampTopQueryParam(queryParams) {
|
|
100
|
+
const cap = maxTopFromEnv();
|
|
101
|
+
if (cap === void 0 || queryParams["$top"] === void 0) return;
|
|
102
|
+
const requested = Number.parseInt(queryParams["$top"], 10);
|
|
103
|
+
if (!Number.isFinite(requested) || requested <= cap) return;
|
|
104
|
+
logger.info(`Clamping $top from ${requested} to ${cap} (MS365_MCP_MAX_TOP)`);
|
|
105
|
+
queryParams["$top"] = String(cap);
|
|
106
|
+
}
|
|
107
|
+
function parseUserFields(value) {
|
|
108
|
+
if (value === void 0) return void 0;
|
|
109
|
+
const fields = value.split(",").map((field) => field.trim()).filter(Boolean);
|
|
110
|
+
if (fields.length === 0) {
|
|
111
|
+
throw new Error(
|
|
112
|
+
"User field allowlist was configured but names no fields. Provide one or more comma-separated Graph fields, or omit --user-fields / MS365_MCP_USER_FIELDS."
|
|
113
|
+
);
|
|
114
|
+
}
|
|
115
|
+
return fields;
|
|
116
|
+
}
|
|
117
|
+
const OUTLOOK_MAIL_PATH = /^\/(?:me|users\/[^/]+)(?:\/(?:mailFolders|childFolders)\/[^/]+)*\/messages(?:\/delta\(\))?$/i;
|
|
118
|
+
function isOutlookMailPath(path2) {
|
|
119
|
+
return OUTLOOK_MAIL_PATH.test(path2);
|
|
120
|
+
}
|
|
121
|
+
function readQuotedSegment(expr, start) {
|
|
122
|
+
let j = start + 1;
|
|
123
|
+
let segment = "";
|
|
124
|
+
while (j < expr.length) {
|
|
125
|
+
if (expr[j] === "\\" && expr[j + 1] === "\\") {
|
|
126
|
+
segment += "\\\\";
|
|
127
|
+
j += 2;
|
|
128
|
+
continue;
|
|
129
|
+
}
|
|
130
|
+
if (expr[j] === "\\" && expr[j + 1] === '"') {
|
|
131
|
+
segment += '\\"';
|
|
132
|
+
j += 2;
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
if (expr[j] === '"') return { segment, end: j };
|
|
136
|
+
segment += expr[j];
|
|
137
|
+
j += 1;
|
|
138
|
+
}
|
|
139
|
+
return void 0;
|
|
140
|
+
}
|
|
141
|
+
const MAIL_SEARCH_PROPERTIES = /* @__PURE__ */ new Set([
|
|
142
|
+
"attachment",
|
|
143
|
+
"bcc",
|
|
144
|
+
"body",
|
|
145
|
+
"category",
|
|
146
|
+
"cc",
|
|
147
|
+
"from",
|
|
148
|
+
"hasattachment",
|
|
149
|
+
"hasattachments",
|
|
150
|
+
"importance",
|
|
151
|
+
"kind",
|
|
152
|
+
"participants",
|
|
153
|
+
"received",
|
|
154
|
+
"recipients",
|
|
155
|
+
"sent",
|
|
156
|
+
"size",
|
|
157
|
+
"subject",
|
|
158
|
+
"to"
|
|
159
|
+
]);
|
|
160
|
+
const CLAUSE_HEAD = /^([A-Za-z]+)(?::|<=|>=|<>|=|<|>)\S/;
|
|
161
|
+
const BOOLEAN_JOIN = /\s(?:AND|OR|NOT)\s/;
|
|
162
|
+
function clauseHead(segment) {
|
|
163
|
+
const head = CLAUSE_HEAD.exec(segment);
|
|
164
|
+
return head && MAIL_SEARCH_PROPERTIES.has(head[1].toLowerCase()) ? head : null;
|
|
165
|
+
}
|
|
166
|
+
function balanceTrailingSlashes(text) {
|
|
167
|
+
const slashes = text.length - text.replace(/\\+$/, "").length;
|
|
168
|
+
return slashes % 2 === 1 ? `${text}\\` : text;
|
|
169
|
+
}
|
|
170
|
+
function classifyRun(segment, introducedByProperty) {
|
|
171
|
+
if (introducedByProperty) return "phrase";
|
|
172
|
+
const head = clauseHead(segment);
|
|
173
|
+
if (!head) return "phrase";
|
|
174
|
+
if (BOOLEAN_JOIN.test(segment) || !/\s/.test(segment)) return "clause";
|
|
175
|
+
return "restriction-value";
|
|
176
|
+
}
|
|
177
|
+
function rewriteMailSearchQuotes(expr) {
|
|
178
|
+
let out = "";
|
|
179
|
+
let i = 0;
|
|
180
|
+
while (i < expr.length) {
|
|
181
|
+
if (expr[i] === "\\" && expr[i + 1] === "\\") {
|
|
182
|
+
out += "\\\\";
|
|
183
|
+
i += 2;
|
|
184
|
+
continue;
|
|
185
|
+
}
|
|
186
|
+
if (expr[i] === "\\" && expr[i + 1] === '"') {
|
|
187
|
+
out += '\\"';
|
|
188
|
+
i += 2;
|
|
189
|
+
continue;
|
|
190
|
+
}
|
|
191
|
+
if (expr[i] !== '"') {
|
|
192
|
+
out += expr[i];
|
|
193
|
+
i += 1;
|
|
194
|
+
continue;
|
|
195
|
+
}
|
|
196
|
+
const run = readQuotedSegment(expr, i);
|
|
197
|
+
const segment = run ? run.segment : balanceTrailingSlashes(expr.slice(i + 1));
|
|
198
|
+
const introducedByProperty = i > 0 && expr[i - 1] === ":";
|
|
199
|
+
switch (classifyRun(segment, introducedByProperty)) {
|
|
200
|
+
case "clause":
|
|
201
|
+
out += segment;
|
|
202
|
+
break;
|
|
203
|
+
case "restriction-value": {
|
|
204
|
+
const head = clauseHead(segment);
|
|
205
|
+
const valueAt = head[0].length - 1;
|
|
206
|
+
out += `${segment.slice(0, valueAt)}\\"${segment.slice(valueAt)}\\"`;
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
default:
|
|
210
|
+
out += `\\"${segment}\\"`;
|
|
211
|
+
}
|
|
212
|
+
if (!run) break;
|
|
213
|
+
i = run.end + 1;
|
|
214
|
+
}
|
|
215
|
+
return balanceTrailingSlashes(out.trim());
|
|
216
|
+
}
|
|
217
|
+
function filterMembersByName(parsed, name) {
|
|
218
|
+
const needle = name.trim().toLowerCase();
|
|
219
|
+
if (needle === "" || !isPlainObject(parsed) || !Array.isArray(parsed.value)) return parsed;
|
|
220
|
+
const matches = (member) => isPlainObject(member) && ["displayName", "email"].some((field) => {
|
|
221
|
+
const value = member[field];
|
|
222
|
+
return typeof value === "string" && value.toLowerCase().includes(needle);
|
|
223
|
+
});
|
|
224
|
+
return { ...parsed, value: parsed.value.filter(matches) };
|
|
225
|
+
}
|
|
226
|
+
function normalizeSearchQueryParam(queryParams, path2, toolAlias) {
|
|
227
|
+
if (!isOutlookMailPath(path2)) return;
|
|
228
|
+
const raw = queryParams["$search"];
|
|
229
|
+
if (raw === void 0) return;
|
|
230
|
+
const trimmed = raw.trim();
|
|
231
|
+
const noSearchableText = () => {
|
|
232
|
+
logger.warn(`Refusing ${toolAlias}: '$search' has no searchable text`);
|
|
233
|
+
return {
|
|
234
|
+
content: [
|
|
235
|
+
{
|
|
236
|
+
type: "text",
|
|
237
|
+
text: JSON.stringify({
|
|
238
|
+
error: "invalid_search",
|
|
239
|
+
tool: toolAlias,
|
|
240
|
+
message: 'The $search parameter has no searchable text. Supply a KQL expression such as "from:john" or "subject:budget", or omit $search to list messages unfiltered.'
|
|
241
|
+
})
|
|
242
|
+
}
|
|
243
|
+
],
|
|
244
|
+
isError: true
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
if (trimmed === "" || /^["'\s]+$/.test(trimmed)) return noSearchableText();
|
|
248
|
+
let expr = trimmed;
|
|
249
|
+
if (expr.startsWith('"')) {
|
|
250
|
+
const whole = readQuotedSegment(expr, 0);
|
|
251
|
+
if (!whole) expr = expr.slice(1);
|
|
252
|
+
else if (whole.end === expr.length - 1) expr = whole.segment;
|
|
253
|
+
}
|
|
254
|
+
const inner = rewriteMailSearchQuotes(expr);
|
|
255
|
+
if (inner === "") return noSearchableText();
|
|
256
|
+
const normalized = `"${inner}"`;
|
|
257
|
+
if (normalized !== raw) {
|
|
258
|
+
logger.info(`Auto-corrected parameter '$search': normalized KQL quoting to ${normalized}`);
|
|
259
|
+
queryParams["$search"] = normalized;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
function normalizeSkiptokenQueryParam(queryParams, toolAlias) {
|
|
263
|
+
const raw = queryParams["$skiptoken"];
|
|
264
|
+
if (raw === void 0) return;
|
|
265
|
+
delete queryParams["$skiptoken"];
|
|
266
|
+
let token = raw.trim();
|
|
267
|
+
if (token === "") return;
|
|
268
|
+
const cursorlessLink = () => {
|
|
269
|
+
logger.warn(`Refusing ${toolAlias}: 'skiptoken' has no $skiptoken or $skip to page with`);
|
|
270
|
+
return {
|
|
271
|
+
content: [
|
|
272
|
+
{
|
|
273
|
+
type: "text",
|
|
274
|
+
text: JSON.stringify({
|
|
275
|
+
error: "invalid_skiptoken",
|
|
276
|
+
tool: toolAlias,
|
|
277
|
+
message: "The value passed as skiptoken has no $skiptoken or $skip to page with. The drive and sites delta tools page with a token= link, which skiptoken cannot resend." + (paginationAllowed() ? " Remove skiptoken and retry with fetchAllPages set to true to follow the link, or remove it for the first page." : " Remove skiptoken and retry for the first page.")
|
|
278
|
+
})
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
isError: true
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
const marker = token.match(/(?:^|[?&])(?:\$|%24)skiptoken=/i);
|
|
285
|
+
if (marker?.index !== void 0) {
|
|
286
|
+
token = token.slice(marker.index + marker[0].length).split("&")[0];
|
|
287
|
+
if (token === "") return cursorlessLink();
|
|
288
|
+
} else if (/:\/\/|\?|^(?:\$|%24)\w+=/.test(token)) {
|
|
289
|
+
const skip = token.match(/(?:^|[?&])(?:\$|%24)skip=(\d+)(?=&|$)/i)?.[1];
|
|
290
|
+
if (skip === void 0) return cursorlessLink();
|
|
291
|
+
logger.info(
|
|
292
|
+
`Auto-corrected parameter 'skiptoken': link pages with $skip, sending $skip=${skip}`
|
|
293
|
+
);
|
|
294
|
+
queryParams["$skip"] = skip;
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
if (token.includes("%")) {
|
|
298
|
+
try {
|
|
299
|
+
token = decodeURIComponent(token);
|
|
300
|
+
} catch {
|
|
301
|
+
logger.warn("skiptoken looks percent-encoded but could not be decoded; sending as-is");
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
queryParams["$skiptoken"] = token;
|
|
305
|
+
}
|
|
306
|
+
const DEFAULT_MAX_ITEMS = 1e4;
|
|
307
|
+
function isConfirmGateEnabled() {
|
|
308
|
+
return process.env.MS365_MCP_REQUIRE_CONFIRM === "true";
|
|
309
|
+
}
|
|
310
|
+
function auditHttpStatus(value) {
|
|
311
|
+
if (typeof value === "number" && Number.isInteger(value)) return value;
|
|
312
|
+
if (typeof value === "string" && /^\d+$/.test(value)) return Number(value);
|
|
313
|
+
return void 0;
|
|
314
|
+
}
|
|
315
|
+
function auditErrorCode(value) {
|
|
316
|
+
return typeof value === "string" || typeof value === "number" ? value : void 0;
|
|
317
|
+
}
|
|
318
|
+
function auditNonNegativeInteger(value) {
|
|
319
|
+
return typeof value === "number" && Number.isInteger(value) && value >= 0 ? value : void 0;
|
|
320
|
+
}
|
|
321
|
+
function auditStringNumberMap(value) {
|
|
322
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) return void 0;
|
|
323
|
+
const entries = Object.entries(value).filter(
|
|
324
|
+
(entry) => typeof entry[1] === "number" && Number.isInteger(entry[1]) && entry[1] >= 0
|
|
325
|
+
);
|
|
326
|
+
return entries.length > 0 ? Object.fromEntries(entries) : void 0;
|
|
327
|
+
}
|
|
328
|
+
function graphResponseAuditFields(response) {
|
|
329
|
+
const httpStatus = auditHttpStatus(response._meta?.http_status);
|
|
330
|
+
const errorCode = response.isError ? auditErrorCode(response._meta?.error_code) : void 0;
|
|
331
|
+
const graphBatchSubrequestCount = auditNonNegativeInteger(
|
|
332
|
+
response._meta?.graph_batch_subrequest_count
|
|
333
|
+
);
|
|
334
|
+
const graphBatchHttpStatusCounts = auditStringNumberMap(
|
|
335
|
+
response._meta?.graph_batch_http_status_counts
|
|
336
|
+
);
|
|
337
|
+
const graphBatchErrorCodeCounts = auditStringNumberMap(
|
|
338
|
+
response._meta?.graph_batch_error_code_counts
|
|
339
|
+
);
|
|
340
|
+
const resultCount = auditNonNegativeInteger(response._meta?.result_count);
|
|
341
|
+
const responseBytes = auditNonNegativeInteger(response._meta?.response_bytes);
|
|
342
|
+
const resultHasMore = typeof response._meta?.result_has_more === "boolean" ? response._meta.result_has_more : void 0;
|
|
343
|
+
return {
|
|
344
|
+
...resultCount !== void 0 ? { result_count: resultCount } : {},
|
|
345
|
+
...resultHasMore !== void 0 ? { result_has_more: resultHasMore } : {},
|
|
346
|
+
...responseBytes !== void 0 ? { response_bytes: responseBytes } : {},
|
|
347
|
+
...httpStatus !== void 0 ? { http_status: httpStatus } : {},
|
|
348
|
+
...errorCode !== void 0 ? { error_code: errorCode } : {},
|
|
349
|
+
...graphBatchSubrequestCount !== void 0 ? { graph_batch_subrequest_count: graphBatchSubrequestCount } : {},
|
|
350
|
+
...graphBatchHttpStatusCounts !== void 0 ? { graph_batch_http_status_counts: graphBatchHttpStatusCounts } : {},
|
|
351
|
+
...graphBatchErrorCodeCounts !== void 0 ? { graph_batch_error_code_counts: graphBatchErrorCodeCounts } : {}
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
const RECIPIENT_FIELDS = /* @__PURE__ */ new Set([
|
|
355
|
+
"torecipients",
|
|
356
|
+
"ccrecipients",
|
|
357
|
+
"bccrecipients",
|
|
358
|
+
"attendees",
|
|
359
|
+
// driveItem /invite mails an outsider a link to the file
|
|
360
|
+
"recipients"
|
|
361
|
+
]);
|
|
362
|
+
const MAX_BODY_DEPTH = 8;
|
|
363
|
+
const MAX_RECIPIENT_DOMAINS = 50;
|
|
364
|
+
function lookupCaseInsensitive(node, lowerName) {
|
|
365
|
+
if (!node || typeof node !== "object") return void 0;
|
|
366
|
+
for (const [key, value] of Object.entries(node)) {
|
|
367
|
+
if (key.toLowerCase() === lowerName) return value;
|
|
368
|
+
}
|
|
369
|
+
return void 0;
|
|
370
|
+
}
|
|
371
|
+
function readAddress(entry) {
|
|
372
|
+
if (typeof entry === "string") return entry;
|
|
373
|
+
const emailAddress = lookupCaseInsensitive(entry, "emailaddress");
|
|
374
|
+
const candidates = [
|
|
375
|
+
typeof emailAddress === "string" ? emailAddress : lookupCaseInsensitive(emailAddress, "address"),
|
|
376
|
+
lookupCaseInsensitive(entry, "email"),
|
|
377
|
+
lookupCaseInsensitive(entry, "upn")
|
|
378
|
+
];
|
|
379
|
+
for (const candidate of candidates) {
|
|
380
|
+
if (typeof candidate === "string" && candidate) return candidate;
|
|
381
|
+
}
|
|
382
|
+
return void 0;
|
|
383
|
+
}
|
|
384
|
+
const DOMAIN_PATTERN = /^[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)+$/;
|
|
385
|
+
const MAX_DOMAIN_LENGTH = 253;
|
|
386
|
+
function addRecipient(entry, domains, counter) {
|
|
387
|
+
counter.count += 1;
|
|
388
|
+
const address = readAddress(entry);
|
|
389
|
+
if (address === void 0) return;
|
|
390
|
+
const at = address.lastIndexOf("@");
|
|
391
|
+
if (at <= 0 || at >= address.length - 1) return;
|
|
392
|
+
const domain = address.slice(at + 1).trim().split(/\s/)[0].replace(/[>.]+$/, "").toLowerCase();
|
|
393
|
+
if (domain.length <= MAX_DOMAIN_LENGTH && DOMAIN_PATTERN.test(domain)) domains.add(domain);
|
|
394
|
+
}
|
|
395
|
+
function collectRecipients(node, domains, counter, depth = 0) {
|
|
396
|
+
if (!node || typeof node !== "object" || depth > MAX_BODY_DEPTH) return;
|
|
397
|
+
if (Array.isArray(node)) {
|
|
398
|
+
for (const item of node) collectRecipients(item, domains, counter, depth + 1);
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
for (const [key, value] of Object.entries(node)) {
|
|
402
|
+
if (RECIPIENT_FIELDS.has(key.toLowerCase()) && Array.isArray(value)) {
|
|
403
|
+
for (const entry of value) addRecipient(entry, domains, counter);
|
|
404
|
+
continue;
|
|
405
|
+
}
|
|
406
|
+
collectRecipients(value, domains, counter, depth + 1);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
const AAD_GUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
410
|
+
const SHORTHAND_AT = /<at\s+user-id="([^"]*)">([^<]*)<\/at>/gi;
|
|
411
|
+
const HAS_SHORTHAND = /<at\b[^>]*\buser-id\b/i;
|
|
412
|
+
function rewriteMentionShorthand(body) {
|
|
413
|
+
if (!isPlainObject(body) || !isPlainObject(body.body)) return { body };
|
|
414
|
+
const itemBody = body.body;
|
|
415
|
+
const content = itemBody.content;
|
|
416
|
+
if (typeof content !== "string" || !HAS_SHORTHAND.test(content)) return { body };
|
|
417
|
+
if (String(itemBody.contentType).toLowerCase() !== "html") {
|
|
418
|
+
return {
|
|
419
|
+
body,
|
|
420
|
+
error: 'The <at user-id> mention shorthand needs contentType "html" on the message body. Set body.contentType to "html".'
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
const existing = Array.isArray(body.mentions) ? body.mentions : [];
|
|
424
|
+
let nextId = 0;
|
|
425
|
+
for (const m of existing) {
|
|
426
|
+
if (isPlainObject(m) && typeof m.id === "number") nextId = Math.max(nextId, m.id + 1);
|
|
427
|
+
}
|
|
428
|
+
for (const m of content.matchAll(/<at\s+id="(\d+)"/gi)) {
|
|
429
|
+
nextId = Math.max(nextId, Number(m[1]) + 1);
|
|
430
|
+
}
|
|
431
|
+
const added = [];
|
|
432
|
+
let error;
|
|
433
|
+
const rewritten = content.replace(SHORTHAND_AT, (tag, userId, name) => {
|
|
434
|
+
if (!AAD_GUID.test(userId)) {
|
|
435
|
+
error ?? (error = `Mention user-id "${userId}" is not an Entra object id (GUID). Use the userId from list-team-members or list-chat-members.`);
|
|
436
|
+
return tag;
|
|
437
|
+
}
|
|
438
|
+
const id = nextId++;
|
|
439
|
+
added.push({
|
|
440
|
+
id,
|
|
441
|
+
mentionText: name,
|
|
442
|
+
mentioned: { user: { id: userId, displayName: name, userIdentityType: "aadUser" } }
|
|
443
|
+
});
|
|
444
|
+
return `<at id="${id}">${name}</at>`;
|
|
445
|
+
});
|
|
446
|
+
if (error) return { body, error };
|
|
447
|
+
if (HAS_SHORTHAND.test(rewritten)) {
|
|
448
|
+
return {
|
|
449
|
+
body,
|
|
450
|
+
error: 'Unsupported mention tag form. Write <at user-id="<guid>">Name</at> with double quotes, no other attributes and plain text inside.'
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
return {
|
|
454
|
+
body: { ...body, body: { ...itemBody, content: rewritten }, mentions: [...existing, ...added] }
|
|
455
|
+
};
|
|
456
|
+
}
|
|
457
|
+
function bodyForRecipientWalk(body) {
|
|
458
|
+
if (typeof body !== "string") return body;
|
|
459
|
+
if (!/^\s*[{[]/.test(body)) return void 0;
|
|
460
|
+
return JSON.parse(body);
|
|
461
|
+
}
|
|
462
|
+
function recipientAuditFields(body) {
|
|
463
|
+
const domains = /* @__PURE__ */ new Set();
|
|
464
|
+
const counter = { count: 0 };
|
|
465
|
+
try {
|
|
466
|
+
collectRecipients(bodyForRecipientWalk(body), domains, counter);
|
|
467
|
+
} catch (error) {
|
|
468
|
+
logger.warn(
|
|
469
|
+
`Skipped recipient audit metadata: ${error instanceof Error ? error.message : "unknown error"}`
|
|
470
|
+
);
|
|
471
|
+
return {};
|
|
472
|
+
}
|
|
473
|
+
if (counter.count === 0) return {};
|
|
474
|
+
const sorted = [...domains].sort();
|
|
475
|
+
const capped = sorted.slice(0, MAX_RECIPIENT_DOMAINS);
|
|
476
|
+
return {
|
|
477
|
+
recipient_count: counter.count,
|
|
478
|
+
...capped.length > 0 ? { recipient_domains: capped } : {},
|
|
479
|
+
...sorted.length > capped.length ? { recipient_domains_truncated: true } : {}
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
function thrownErrorAuditFields(error) {
|
|
483
|
+
const err = error;
|
|
484
|
+
const httpStatus = auditHttpStatus(err?.httpStatus ?? err?.status);
|
|
485
|
+
const errorCode = auditErrorCode(err?.graphErrorCode ?? err?.code ?? err?.status);
|
|
486
|
+
return {
|
|
487
|
+
...httpStatus !== void 0 ? { http_status: httpStatus } : {},
|
|
488
|
+
...errorCode !== void 0 ? { error_code: errorCode } : {}
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
async function executeUtilityTool(utility, ctx, params) {
|
|
492
|
+
const requestId = randomUUID();
|
|
493
|
+
const startTime = Date.now();
|
|
494
|
+
const upn = getUserIdentityForAudit(getRequestTokens()?.accessToken);
|
|
495
|
+
try {
|
|
496
|
+
const response = await utility.execute(params, ctx);
|
|
497
|
+
auditLog({
|
|
498
|
+
event: "tool.call",
|
|
499
|
+
request_id: requestId,
|
|
500
|
+
user_principal_name: upn,
|
|
501
|
+
tool: utility.name,
|
|
502
|
+
http_method: utility.method.toUpperCase(),
|
|
503
|
+
status: response.isError ? "error" : "success",
|
|
504
|
+
duration_ms: Date.now() - startTime,
|
|
505
|
+
...graphResponseAuditFields(response)
|
|
506
|
+
});
|
|
507
|
+
return response;
|
|
508
|
+
} catch (error) {
|
|
509
|
+
const err = error;
|
|
510
|
+
auditLog({
|
|
511
|
+
event: "tool.call",
|
|
512
|
+
request_id: requestId,
|
|
513
|
+
user_principal_name: upn,
|
|
514
|
+
tool: utility.name,
|
|
515
|
+
http_method: utility.method.toUpperCase(),
|
|
516
|
+
status: "error",
|
|
517
|
+
duration_ms: Date.now() - startTime,
|
|
518
|
+
error_type: err?.name || "Error",
|
|
519
|
+
...thrownErrorAuditFields(error)
|
|
520
|
+
});
|
|
521
|
+
throw error;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
function formatDisabledToolsForLog(disabledTools) {
|
|
525
|
+
const shown = disabledTools.slice(0, 20).map((tool) => `${tool.toolName} (missing: ${tool.missingScopes.join(", ")})`);
|
|
526
|
+
const suffix = disabledTools.length > shown.length ? `, ... +${disabledTools.length - shown.length} more` : "";
|
|
527
|
+
return `${shown.join("; ")}${suffix}`;
|
|
528
|
+
}
|
|
529
|
+
function deniedToolPolicyForGraphTool(tool, config, reason, missingScopes) {
|
|
530
|
+
return {
|
|
531
|
+
toolName: tool.alias,
|
|
532
|
+
reason,
|
|
533
|
+
...missingScopes && missingScopes.length > 0 ? { missingScopes } : {},
|
|
534
|
+
pathPattern: config?.pathPattern ?? tool.path
|
|
535
|
+
};
|
|
536
|
+
}
|
|
537
|
+
function collectDeniedToolPolicies(options) {
|
|
538
|
+
const deniedTools = /* @__PURE__ */ new Map();
|
|
539
|
+
const allowedScopes = parseAllowedScopes(options.allowedScopesValue);
|
|
540
|
+
for (const tool of allEndpoints) {
|
|
541
|
+
const endpointConfig = endpointsData.find((e) => e.toolName === tool.alias);
|
|
542
|
+
if (!options.orgMode && endpointConfig && !endpointConfig.scopes && endpointConfig.workScopes) {
|
|
543
|
+
continue;
|
|
544
|
+
}
|
|
545
|
+
const method = tool.method.toUpperCase();
|
|
546
|
+
if (options.readOnly && method !== "GET" && !(method === "POST" && endpointConfig?.readOnly)) {
|
|
547
|
+
continue;
|
|
548
|
+
}
|
|
549
|
+
if (options.enabledToolsRegex && !options.enabledToolsRegex.test(tool.alias)) {
|
|
550
|
+
deniedTools.set(
|
|
551
|
+
tool.alias,
|
|
552
|
+
deniedToolPolicyForGraphTool(tool, endpointConfig, "tool_allowlist")
|
|
553
|
+
);
|
|
554
|
+
continue;
|
|
555
|
+
}
|
|
556
|
+
const missingScopes = allowedScopes !== void 0 && !endpointConfig ? ["endpoint scope metadata"] : getMissingAllowedScopesForGroups(
|
|
557
|
+
getEndpointScopeGroups(endpointConfig, options.orgMode),
|
|
558
|
+
allowedScopes
|
|
559
|
+
);
|
|
560
|
+
if (missingScopes.length > 0) {
|
|
561
|
+
deniedTools.set(
|
|
562
|
+
tool.alias,
|
|
563
|
+
deniedToolPolicyForGraphTool(tool, endpointConfig, "allowed_scopes", missingScopes)
|
|
564
|
+
);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
for (const utility of UTILITY_TOOLS) {
|
|
568
|
+
if (options.readOnly && !utility.readOnlyHint) continue;
|
|
569
|
+
if (options.httpMode && utility.stdioOnly) continue;
|
|
570
|
+
if (utility.enabled && !utility.enabled()) continue;
|
|
571
|
+
if (options.enabledToolsRegex && !options.enabledToolsRegex.test(utility.name)) {
|
|
572
|
+
deniedTools.set(utility.name, {
|
|
573
|
+
toolName: utility.name,
|
|
574
|
+
reason: "tool_allowlist"
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
return deniedTools;
|
|
579
|
+
}
|
|
580
|
+
function auditToolDenied(policy, params = {}) {
|
|
581
|
+
const targetResource = policy.pathPattern ? deriveTargetResource({ pathPattern: policy.pathPattern, params }) : void 0;
|
|
582
|
+
auditLog({
|
|
583
|
+
event: "tool.denied",
|
|
584
|
+
request_id: randomUUID(),
|
|
585
|
+
user_principal_name: getUserIdentityForAudit(getRequestTokens()?.accessToken),
|
|
586
|
+
tool: policy.toolName,
|
|
587
|
+
status: "denied",
|
|
588
|
+
reason: policy.reason,
|
|
589
|
+
...policy.missingScopes ? { missing_scopes: policy.missingScopes } : {},
|
|
590
|
+
...targetResource ? { target_resource: targetResource } : {}
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
function installDeniedToolAuditHandler(server, deniedTools) {
|
|
594
|
+
if (deniedTools.size === 0) return;
|
|
595
|
+
const lowLevel = server.server;
|
|
596
|
+
const handlers = lowLevel._requestHandlers;
|
|
597
|
+
const original = handlers?.get("tools/call");
|
|
598
|
+
if (!original) {
|
|
599
|
+
logger.warn("Skipping denied-tool audit hook: tools/call handler not found");
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
lowLevel.setRequestHandler(CallToolRequestSchema, async (request, extra) => {
|
|
603
|
+
const policy = deniedTools.get(request.params.name);
|
|
604
|
+
if (policy) {
|
|
605
|
+
const params = request.params.arguments && typeof request.params.arguments === "object" ? request.params.arguments : {};
|
|
606
|
+
auditToolDenied(policy, params);
|
|
607
|
+
}
|
|
608
|
+
return original(request, extra);
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
async function checkAccountParamInBearerMode(accountParam, authManager) {
|
|
612
|
+
if (!accountParam || !authManager) return null;
|
|
613
|
+
const contextToken = getRequestTokens()?.accessToken;
|
|
614
|
+
if (!contextToken && !authManager.isOAuthModeEnabled()) return null;
|
|
615
|
+
const bearerToken = contextToken ?? await authManager.getToken().catch(() => null) ?? void 0;
|
|
616
|
+
const bearerIdentity = getUserIdentityForAudit(bearerToken);
|
|
617
|
+
if (bearerIdentity && bearerIdentity.toLowerCase() === accountParam.toLowerCase()) return null;
|
|
618
|
+
return `The 'account' parameter is not supported in HTTP/OAuth mode: every request uses the identity of the connecting client's bearer token` + (bearerIdentity ? ` ('${bearerIdentity}')` : "") + `, so account switching is not possible. To act as '${accountParam}', reconnect the MCP client authenticated as that account, or run the server in stdio mode (or HTTP with --trust-proxy-auth) where cached accounts are available.`;
|
|
619
|
+
}
|
|
620
|
+
const UPLOAD_TARGET = /^(\/me|\/users\/[^/]+)\/(messages|events)\/[^/]+\/attachments$/;
|
|
621
|
+
const UPLOAD_CONTENT_TYPE = /^[\w.+-]+\/[\w.+-]+$/;
|
|
622
|
+
const UPLOAD_TARGET_ERROR = "target must be the attachments collection of a draft message or an event: /me/messages/{message-id}/attachments or /me/events/{event-id}/attachments.";
|
|
623
|
+
function uploadError(message) {
|
|
624
|
+
return { content: [{ type: "text", text: JSON.stringify({ error: message }) }], isError: true };
|
|
625
|
+
}
|
|
626
|
+
function cleanAttachmentName(name) {
|
|
627
|
+
return Array.from(name.trim()).filter((char) => {
|
|
628
|
+
const code = char.charCodeAt(0);
|
|
629
|
+
return code > 31 && code !== 127;
|
|
630
|
+
}).join("").slice(0, 255);
|
|
631
|
+
}
|
|
632
|
+
async function mintUploadUrl(target, name, contentType, accountParam, authManager) {
|
|
633
|
+
const minting = getAttachmentMinting();
|
|
634
|
+
if (!minting) {
|
|
635
|
+
const smallFileTool = target.includes("/events/") ? "add-calendar-event-attachment" : target.startsWith("/users/") ? "add-shared-mailbox-attachment" : "add-mail-attachment";
|
|
636
|
+
return uploadError(
|
|
637
|
+
`This server is not running with --enable-attachment-urls, so no upload URL can be minted. Attach small files with ${smallFileTool} (base64 contentBytes).`
|
|
638
|
+
);
|
|
639
|
+
}
|
|
640
|
+
if (!UPLOAD_TARGET.test(target) || !isPlainGraphPath(target)) {
|
|
641
|
+
return uploadError(UPLOAD_TARGET_ERROR);
|
|
642
|
+
}
|
|
643
|
+
const cleanName = cleanAttachmentName(name);
|
|
644
|
+
if (!cleanName) return uploadError("name is required.");
|
|
645
|
+
if (!UPLOAD_CONTENT_TYPE.test(contentType)) {
|
|
646
|
+
return uploadError("contentType must be a MIME type such as application/pdf.");
|
|
647
|
+
}
|
|
648
|
+
const identityFromRequest = Boolean(authManager?.isOAuthModeEnabled() || getRequestTokens());
|
|
649
|
+
const requestToken = identityFromRequest ? getRequestTokens()?.accessToken ?? await authManager?.getToken().catch(() => null) ?? void 0 : void 0;
|
|
650
|
+
if (identityFromRequest && !requestToken) {
|
|
651
|
+
return uploadError(
|
|
652
|
+
"No Graph access token is available for this request, so no upload URL can be minted."
|
|
653
|
+
);
|
|
654
|
+
}
|
|
655
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
656
|
+
if (accountModeError) return uploadError(accountModeError);
|
|
657
|
+
let ticket;
|
|
658
|
+
try {
|
|
659
|
+
const upload = { name: cleanName, contentType };
|
|
660
|
+
ticket = requestToken ? minting.store.mintUploadWithToken(target, requestToken, upload) : minting.store.mintUpload(target, accountParam, upload);
|
|
661
|
+
} catch (error) {
|
|
662
|
+
if (error instanceof TicketStoreFullError) return uploadError(error.message);
|
|
663
|
+
throw error;
|
|
664
|
+
}
|
|
665
|
+
return {
|
|
666
|
+
content: [
|
|
667
|
+
{
|
|
668
|
+
type: "text",
|
|
669
|
+
text: JSON.stringify({
|
|
670
|
+
uploadUrl: buildAttachmentUrl(minting.config, ticket.id),
|
|
671
|
+
method: "PUT",
|
|
672
|
+
expiresAt: new Date(ticket.expiresAtMs).toISOString(),
|
|
673
|
+
singleUse: true,
|
|
674
|
+
maxBytes: MAX_UPLOAD_BYTES,
|
|
675
|
+
note: 'PUT the raw file bytes with a Content-Length (e.g. curl -T <file> "<uploadUrl>"). Served by this server; valid for one upload until it expires.'
|
|
676
|
+
})
|
|
677
|
+
}
|
|
678
|
+
]
|
|
679
|
+
};
|
|
680
|
+
}
|
|
681
|
+
const MAIL_EVENT_ATTACHMENT_VALUE = /^(?:\/me|\/users\/[^/]+|\/groups\/[^/]+)\/(?:messages|events)\/[^/]+\/attachments\/[^/]+\/\$value$/;
|
|
682
|
+
async function probeAttachment(target, graphClient, accessToken) {
|
|
683
|
+
if (!MAIL_EVENT_ATTACHMENT_VALUE.test(target)) return {};
|
|
684
|
+
try {
|
|
685
|
+
const meta = await graphClient.makeRequest(
|
|
686
|
+
`${target.slice(0, -"/$value".length)}?$select=name,contentType`,
|
|
687
|
+
{ accessToken }
|
|
688
|
+
);
|
|
689
|
+
return {
|
|
690
|
+
...typeof meta?.contentType === "string" && { probedContentType: meta.contentType },
|
|
691
|
+
...typeof meta?.name === "string" && { probedName: meta.name }
|
|
692
|
+
};
|
|
693
|
+
} catch {
|
|
694
|
+
return {};
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
async function mintDownloadUrl(target, accountParam, authManager, probeWith) {
|
|
698
|
+
const minting = getAttachmentMinting();
|
|
699
|
+
if (!minting) return null;
|
|
700
|
+
const identityFromRequest = Boolean(authManager?.isOAuthModeEnabled() || getRequestTokens());
|
|
701
|
+
const requestToken = identityFromRequest ? getRequestTokens()?.accessToken ?? await authManager?.getToken().catch(() => null) ?? void 0 : void 0;
|
|
702
|
+
if (identityFromRequest && !requestToken) {
|
|
703
|
+
return {
|
|
704
|
+
content: [
|
|
705
|
+
{
|
|
706
|
+
type: "text",
|
|
707
|
+
text: JSON.stringify({
|
|
708
|
+
error: "No Graph access token is available for this request, so no download URL can be minted. Use download-bytes."
|
|
709
|
+
})
|
|
710
|
+
}
|
|
711
|
+
],
|
|
712
|
+
isError: true
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
716
|
+
if (accountModeError) {
|
|
717
|
+
return {
|
|
718
|
+
content: [{ type: "text", text: JSON.stringify({ error: accountModeError }) }],
|
|
719
|
+
isError: true
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
if (!isPlainGraphPath(target)) {
|
|
723
|
+
return {
|
|
724
|
+
content: [
|
|
725
|
+
{
|
|
726
|
+
type: "text",
|
|
727
|
+
text: JSON.stringify({
|
|
728
|
+
error: 'target must be a plain relative Graph path: no fragment, no query, no "." or ".." segments, and no percent-encoded separators.'
|
|
729
|
+
})
|
|
730
|
+
}
|
|
731
|
+
],
|
|
732
|
+
isError: true
|
|
733
|
+
};
|
|
734
|
+
}
|
|
735
|
+
const probe = probeWith ? await probeAttachment(
|
|
736
|
+
target,
|
|
737
|
+
probeWith,
|
|
738
|
+
requestToken ?? await authManager?.getTokenForAccount(accountParam).catch(() => void 0)
|
|
739
|
+
) : {};
|
|
740
|
+
let ticket;
|
|
741
|
+
try {
|
|
742
|
+
ticket = requestToken ? minting.store.mintWithToken(target, requestToken, void 0, probe) : minting.store.mint(target, accountParam, void 0, probe);
|
|
743
|
+
} catch (error) {
|
|
744
|
+
if (error instanceof TicketStoreFullError) {
|
|
745
|
+
return {
|
|
746
|
+
content: [{ type: "text", text: JSON.stringify({ error: error.message }) }],
|
|
747
|
+
isError: true
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
throw error;
|
|
751
|
+
}
|
|
752
|
+
return {
|
|
753
|
+
content: [
|
|
754
|
+
{
|
|
755
|
+
type: "text",
|
|
756
|
+
text: JSON.stringify({
|
|
757
|
+
downloadUrl: buildAttachmentUrl(minting.config, ticket.id),
|
|
758
|
+
expiresAt: new Date(ticket.expiresAtMs).toISOString(),
|
|
759
|
+
singleUse: true,
|
|
760
|
+
note: "Served by this server, not by Microsoft Graph. Valid for one fetch until it expires."
|
|
761
|
+
})
|
|
762
|
+
}
|
|
763
|
+
]
|
|
764
|
+
};
|
|
765
|
+
}
|
|
766
|
+
const UTILITY_TOOLS = [
|
|
767
|
+
{
|
|
768
|
+
name: "get-upload-url",
|
|
769
|
+
method: "PUT",
|
|
770
|
+
path: "tool:get-upload-url",
|
|
771
|
+
searchKeywords: "upload attachment attach file draft email attach file event large attachment send file out-of-band upload url",
|
|
772
|
+
description: 'Mint a short-lived, single-use URL that this server serves for uploading a file as an attachment to a draft message or an event, so the bytes go straight from the caller to Microsoft Graph instead of passing as base64 through the agent context. target is the attachments collection of the item: /me/messages/{message-id}/attachments (a draft; create it first) or /me/events/{event-id}/attachments. PUT the raw file bytes to the returned uploadUrl with a Content-Length (e.g. curl -T file "<uploadUrl>"); the response confirms the attachment. Files under 3 MB are attached directly, larger ones (up to 150 MB) through a Graph upload session. Requires --enable-attachment-urls. Returns { uploadUrl, method, expiresAt, singleUse, maxBytes }.',
|
|
773
|
+
readOnlyHint: false,
|
|
774
|
+
openWorldHint: true,
|
|
775
|
+
buildSchema: (ctx) => {
|
|
776
|
+
const schema = {
|
|
777
|
+
target: z.string().describe(
|
|
778
|
+
"Attachments collection of a draft message or an event, e.g. /me/messages/{message-id}/attachments or /me/events/{event-id}/attachments."
|
|
779
|
+
),
|
|
780
|
+
name: z.string().describe("Attachment file name as the recipient will see it, e.g. report.pdf"),
|
|
781
|
+
contentType: z.string().optional().describe(
|
|
782
|
+
"MIME type of the file, e.g. application/pdf. Defaults to application/octet-stream."
|
|
783
|
+
)
|
|
784
|
+
};
|
|
785
|
+
if (ctx.multiAccount) {
|
|
786
|
+
schema["account"] = z.string().optional().describe(
|
|
787
|
+
"Account to use when multiple Microsoft accounts are configured. Required when multiple accounts exist (see list-accounts)."
|
|
788
|
+
);
|
|
789
|
+
}
|
|
790
|
+
return schema;
|
|
791
|
+
},
|
|
792
|
+
execute: async (params, { authManager }) => {
|
|
793
|
+
const target = params.target;
|
|
794
|
+
const name = params.name;
|
|
795
|
+
if (typeof target !== "string" || target.length === 0) {
|
|
796
|
+
return uploadError("target is required and must be a non-empty string.");
|
|
797
|
+
}
|
|
798
|
+
if (typeof name !== "string" || name.length === 0) {
|
|
799
|
+
return uploadError("name is required and must be a non-empty string.");
|
|
800
|
+
}
|
|
801
|
+
const contentType = typeof params.contentType === "string" && params.contentType.length > 0 ? params.contentType : "application/octet-stream";
|
|
802
|
+
return mintUploadUrl(
|
|
803
|
+
target,
|
|
804
|
+
name,
|
|
805
|
+
contentType,
|
|
806
|
+
params.account,
|
|
807
|
+
authManager
|
|
808
|
+
);
|
|
809
|
+
}
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
name: "upload-attachment-from-file",
|
|
813
|
+
method: "POST",
|
|
814
|
+
path: "tool:upload-attachment-from-file",
|
|
815
|
+
searchKeywords: "attach local file upload file from disk attach file path draft email attach file event attachment without base64",
|
|
816
|
+
description: "Attach a local file on the server to a draft message or an event, read straight from disk instead of passing as base64 through the agent context. target is the attachments collection, e.g. /me/messages/{message-id}/attachments or /me/events/{event-id}/attachments. Files up to 150 MB; the server picks an inline upload or an upload session by size. filePath must be absolute and inside a directory listed in MS365_MCP_UPLOAD_DIRS. stdio mode, or HTTP with --http-local-file-tools.",
|
|
817
|
+
readOnlyHint: false,
|
|
818
|
+
openWorldHint: true,
|
|
819
|
+
stdioOnly: true,
|
|
820
|
+
enabled: () => getUploadDirs().length > 0,
|
|
821
|
+
buildSchema: (ctx) => {
|
|
822
|
+
const schema = {
|
|
823
|
+
target: z.string().describe(
|
|
824
|
+
"Attachments collection of a draft message or an event, e.g. /me/messages/{message-id}/attachments or /me/events/{event-id}/attachments."
|
|
825
|
+
),
|
|
826
|
+
filePath: z.string().describe(
|
|
827
|
+
"Absolute path of the file on the server's filesystem, e.g. /Users/me/documents/invitation.pdf. Must be inside a directory the server allows uploads from."
|
|
828
|
+
),
|
|
829
|
+
name: z.string().optional().describe(
|
|
830
|
+
"Attachment file name as the recipient will see it. Defaults to the file name of filePath."
|
|
831
|
+
),
|
|
832
|
+
contentType: z.string().optional().describe(
|
|
833
|
+
"MIME type of the file, e.g. application/pdf. Defaults to application/octet-stream."
|
|
834
|
+
)
|
|
835
|
+
};
|
|
836
|
+
if (ctx.multiAccount) {
|
|
837
|
+
schema["account"] = z.string().optional().describe(
|
|
838
|
+
"Account to use when multiple Microsoft accounts are configured. Required when multiple accounts exist (see list-accounts)."
|
|
839
|
+
);
|
|
840
|
+
}
|
|
841
|
+
return schema;
|
|
842
|
+
},
|
|
843
|
+
execute: async (params, { graphClient, authManager }) => {
|
|
844
|
+
const target = params.target;
|
|
845
|
+
const filePath = params.filePath;
|
|
846
|
+
const accountParam = params.account;
|
|
847
|
+
if (typeof target !== "string" || target.length === 0) {
|
|
848
|
+
return uploadError("target is required and must be a non-empty string.");
|
|
849
|
+
}
|
|
850
|
+
if (typeof filePath !== "string" || filePath.length === 0) {
|
|
851
|
+
return uploadError("filePath is required and must be a non-empty string.");
|
|
852
|
+
}
|
|
853
|
+
if (!UPLOAD_TARGET.test(target) || !isPlainGraphPath(target)) {
|
|
854
|
+
return uploadError(UPLOAD_TARGET_ERROR);
|
|
855
|
+
}
|
|
856
|
+
const contentType = typeof params.contentType === "string" && params.contentType.length > 0 ? params.contentType : "application/octet-stream";
|
|
857
|
+
if (!UPLOAD_CONTENT_TYPE.test(contentType)) {
|
|
858
|
+
return uploadError("contentType must be a MIME type such as application/pdf.");
|
|
859
|
+
}
|
|
860
|
+
const name = cleanAttachmentName(
|
|
861
|
+
typeof params.name === "string" && params.name.trim().length > 0 ? params.name : path.basename(filePath)
|
|
862
|
+
);
|
|
863
|
+
if (!name) return uploadError("name is required.");
|
|
864
|
+
let file;
|
|
865
|
+
try {
|
|
866
|
+
file = await openUploadFile(filePath, getUploadDirs());
|
|
867
|
+
} catch (error) {
|
|
868
|
+
return uploadError(error.message);
|
|
869
|
+
}
|
|
870
|
+
try {
|
|
871
|
+
if (file.size === 0) return uploadError("The file is empty.");
|
|
872
|
+
if (file.size > MAX_UPLOAD_BYTES) {
|
|
873
|
+
return uploadError(
|
|
874
|
+
`The file is ${file.size} bytes; the largest attachment is ${MAX_UPLOAD_BYTES} bytes.`
|
|
875
|
+
);
|
|
876
|
+
}
|
|
877
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
878
|
+
if (accountModeError) return uploadError(accountModeError);
|
|
879
|
+
let accountAccessToken;
|
|
880
|
+
if (authManager && !authManager.isOAuthModeEnabled() && !getRequestTokens()) {
|
|
881
|
+
accountAccessToken = await authManager.getTokenForAccount(accountParam);
|
|
882
|
+
}
|
|
883
|
+
const created = await uploadAttachment(
|
|
884
|
+
graphClient,
|
|
885
|
+
{ target, name, contentType, size: file.size, accessToken: accountAccessToken },
|
|
886
|
+
// end pins the read to the size that was declared, should the file grow meanwhile
|
|
887
|
+
file.handle.createReadStream({
|
|
888
|
+
autoClose: false,
|
|
889
|
+
highWaterMark: 1024 * 1024,
|
|
890
|
+
end: file.size - 1
|
|
891
|
+
})
|
|
892
|
+
);
|
|
893
|
+
return {
|
|
894
|
+
content: [
|
|
895
|
+
{
|
|
896
|
+
type: "text",
|
|
897
|
+
text: JSON.stringify({
|
|
898
|
+
name,
|
|
899
|
+
size: file.size,
|
|
900
|
+
...created.id ? { id: created.id } : {}
|
|
901
|
+
})
|
|
902
|
+
}
|
|
903
|
+
]
|
|
904
|
+
};
|
|
905
|
+
} catch (error) {
|
|
906
|
+
const metadata = thrownErrorAuditFields(error);
|
|
907
|
+
return {
|
|
908
|
+
...uploadError(error.message),
|
|
909
|
+
...Object.keys(metadata).length > 0 ? { _meta: metadata } : {}
|
|
910
|
+
};
|
|
911
|
+
} finally {
|
|
912
|
+
await file.handle.close();
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
name: "parse-teams-url",
|
|
918
|
+
method: "POST",
|
|
919
|
+
path: "tool:parse-teams-url",
|
|
920
|
+
description: "Converts any Teams meeting URL format (short /meet/, full /meetup-join/, or recap ?threadId=) into a standard joinWebUrl. Use this before list-online-meetings when the user provides a recap or short URL.",
|
|
921
|
+
readOnlyHint: true,
|
|
922
|
+
openWorldHint: false,
|
|
923
|
+
buildSchema: () => ({
|
|
924
|
+
url: z.string().describe("Teams meeting URL in any format")
|
|
925
|
+
}),
|
|
926
|
+
execute: async (params) => {
|
|
927
|
+
const url = params.url;
|
|
928
|
+
if (typeof url !== "string") {
|
|
929
|
+
return {
|
|
930
|
+
content: [{ type: "text", text: JSON.stringify({ error: "url is required." }) }],
|
|
931
|
+
isError: true
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
try {
|
|
935
|
+
const joinWebUrl = parseTeamsUrl(url);
|
|
936
|
+
return { content: [{ type: "text", text: joinWebUrl }] };
|
|
937
|
+
} catch (error) {
|
|
938
|
+
return {
|
|
939
|
+
content: [{ type: "text", text: JSON.stringify({ error: error.message }) }],
|
|
940
|
+
isError: true
|
|
941
|
+
};
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
name: "read-mail-text",
|
|
947
|
+
method: "GET",
|
|
948
|
+
path: "tool:read-mail-text",
|
|
949
|
+
searchKeywords: "triage inbox skim many emails at once without quoted history signature footer tracking links",
|
|
950
|
+
description: "Triage view of up to 20 mail messages at once, as text with the bulk junk removed: invisible padding, image placeholders and quoted reply history (forwards keep theirs). Links are kept: Safe Links, Proofpoint and Google redirects are unwrapped to the real address and tracking parameters (utm_* and similar) dropped; only an address still over 300 characters (a tracking redirect) is shortened to \u27E6link: domain\u27E7. Everything else (signatures, footers, whitespace) is left as the message has it; line endings become \\n and \u27E6 \u27E7 in the body itself appear as [ ]. Use get-mail-message for the raw body or the quoted thread. Give messageIds (up to 20), or folderId with optional top and filter or search for the newest messages in a folder. Each message is cut to maxChars characters (default 3,000; marked truncated: true): pass a larger maxChars, up to 300,000, for the whole of a long message; a body over 300,000 characters is cleaned only that far. If the whole result would exceed the server limit (MS365_MCP_READ_MAIL_TEXT_MAX_CHARS, default 80000) the call fails, listing the largest messages, instead of returning part of it. Returns [{ id, from, to, cc, subject, received, hasAttachments, text, chars, truncated }].",
|
|
951
|
+
readOnlyHint: true,
|
|
952
|
+
openWorldHint: true,
|
|
953
|
+
buildSchema: (ctx) => {
|
|
954
|
+
const schema = {
|
|
955
|
+
messageIds: z.array(z.string()).max(MAIL_TEXT_MAX_IDS).optional().describe(
|
|
956
|
+
`Ids of the messages to read (max ${MAIL_TEXT_MAX_IDS}). Give messageIds or folderId, not both.`
|
|
957
|
+
),
|
|
958
|
+
folderId: z.string().optional().describe(
|
|
959
|
+
"Folder to read from: a well-known name (inbox, sentitems, drafts, archive, deleteditems, junkemail) or a folder id."
|
|
960
|
+
),
|
|
961
|
+
top: z.number().int().min(1).max(MAIL_TEXT_MAX_TOP).optional().describe(
|
|
962
|
+
`With folderId: how many messages, newest first (default and max ${MAIL_TEXT_MAX_TOP}).`
|
|
963
|
+
),
|
|
964
|
+
filter: z.string().optional().describe(
|
|
965
|
+
"With folderId: OData $filter, e.g. receivedDateTime ge 2026-10-01T00:00:00Z or from/emailAddress/address eq 'a@example.com'."
|
|
966
|
+
),
|
|
967
|
+
search: z.string().optional().describe(
|
|
968
|
+
'With folderId: KQL search, e.g. from:paul subject:"quarterly report" (quoting is normalised as for list-mail-messages). Graph cannot combine it with filter.'
|
|
969
|
+
),
|
|
970
|
+
maxChars: z.number().int().min(1).max(MAIL_TEXT_MAX_INPUT_CHARS).optional().describe(
|
|
971
|
+
"Cut each message text to this many characters (marked truncated). Default 3,000; pass up to 300,000 for the whole of a long message (a body over 300,000 characters is cleaned only that far, also marked truncated)."
|
|
972
|
+
)
|
|
973
|
+
};
|
|
974
|
+
if (ctx.multiAccount) {
|
|
975
|
+
schema["account"] = z.string().optional().describe(
|
|
976
|
+
"Account to use when multiple Microsoft accounts are configured. Required when multiple accounts exist (see list-accounts)."
|
|
977
|
+
);
|
|
978
|
+
}
|
|
979
|
+
return schema;
|
|
980
|
+
},
|
|
981
|
+
execute: async (params, { graphClient, authManager }) => {
|
|
982
|
+
const fail = (error) => ({
|
|
983
|
+
content: [{ type: "text", text: JSON.stringify({ error }) }],
|
|
984
|
+
isError: true
|
|
985
|
+
});
|
|
986
|
+
const invalid = validateMailTextArgs(params);
|
|
987
|
+
if (invalid) return fail(invalid);
|
|
988
|
+
const ids = params.messageIds;
|
|
989
|
+
const folderId = params.folderId;
|
|
990
|
+
const top = params.top;
|
|
991
|
+
const filter = params.filter;
|
|
992
|
+
const search = params.search;
|
|
993
|
+
const maxChars = params.maxChars ?? MAIL_TEXT_DEFAULT_MAX_CHARS;
|
|
994
|
+
const accountParam = params.account;
|
|
995
|
+
const envLimit = Number(process.env.MS365_MCP_READ_MAIL_TEXT_MAX_CHARS);
|
|
996
|
+
const limit = Number.isInteger(envLimit) && envLimit > 0 ? envLimit : MAIL_TEXT_DEFAULT_MAX_RESPONSE_CHARS;
|
|
997
|
+
try {
|
|
998
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
999
|
+
if (accountModeError) return fail(accountModeError);
|
|
1000
|
+
let accessToken;
|
|
1001
|
+
if (authManager && !authManager.isOAuthModeEnabled() && !getRequestTokens()) {
|
|
1002
|
+
accessToken = await authManager.getTokenForAccount(accountParam);
|
|
1003
|
+
}
|
|
1004
|
+
const requestJson = async (endpoint, options) => {
|
|
1005
|
+
const response = await graphClient.graphRequest(endpoint, {
|
|
1006
|
+
...options,
|
|
1007
|
+
accessToken,
|
|
1008
|
+
forceJsonOutput: true
|
|
1009
|
+
});
|
|
1010
|
+
if (response?.isError) return { error: response };
|
|
1011
|
+
const text2 = response?.content?.[0]?.text;
|
|
1012
|
+
try {
|
|
1013
|
+
return { data: JSON.parse(typeof text2 === "string" ? text2 : "") };
|
|
1014
|
+
} catch {
|
|
1015
|
+
return { error: fail("Unexpected non-JSON response from Microsoft Graph.") };
|
|
1016
|
+
}
|
|
1017
|
+
};
|
|
1018
|
+
let entries;
|
|
1019
|
+
if (ids !== void 0) {
|
|
1020
|
+
const requests = ids.map((id, i) => ({
|
|
1021
|
+
id: String(i),
|
|
1022
|
+
method: "GET",
|
|
1023
|
+
url: `/me/messages/${encodeURIComponent(id)}?$select=${MAIL_TEXT_SELECT}`,
|
|
1024
|
+
headers: { Prefer: PREFER_TEXT_BODY }
|
|
1025
|
+
}));
|
|
1026
|
+
const r = await requestJson("/$batch", {
|
|
1027
|
+
method: "POST",
|
|
1028
|
+
body: JSON.stringify({ requests }),
|
|
1029
|
+
headers: { "Content-Type": "application/json" }
|
|
1030
|
+
});
|
|
1031
|
+
if (r.error) return r.error;
|
|
1032
|
+
const responses = r.data?.responses ?? [];
|
|
1033
|
+
const byId = new Map(responses.map((x) => [x.id, x]));
|
|
1034
|
+
entries = ids.map((id, i) => {
|
|
1035
|
+
const x = byId.get(String(i));
|
|
1036
|
+
if (!x) return { id, error: "no response" };
|
|
1037
|
+
if (x.status !== 200) {
|
|
1038
|
+
const e = x.body?.error;
|
|
1039
|
+
return {
|
|
1040
|
+
id,
|
|
1041
|
+
error: x.status === 404 ? "not found" : `${e?.code ?? x.status}: ${e?.message ?? ""}`.trim()
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
return toMailTextEntry(x.body ?? {}, maxChars);
|
|
1045
|
+
});
|
|
1046
|
+
} else {
|
|
1047
|
+
const queryParams = {
|
|
1048
|
+
$select: MAIL_TEXT_SELECT,
|
|
1049
|
+
$top: String(top ?? MAIL_TEXT_MAX_TOP)
|
|
1050
|
+
};
|
|
1051
|
+
if (filter !== void 0) queryParams["$filter"] = filter;
|
|
1052
|
+
if (search !== void 0) {
|
|
1053
|
+
queryParams["$search"] = search;
|
|
1054
|
+
const searchError = normalizeSearchQueryParam(
|
|
1055
|
+
queryParams,
|
|
1056
|
+
"/me/mailFolders/{mailFolder-id}/messages",
|
|
1057
|
+
"read-mail-text"
|
|
1058
|
+
);
|
|
1059
|
+
if (searchError) return searchError;
|
|
1060
|
+
}
|
|
1061
|
+
const r = await requestJson(
|
|
1062
|
+
`/me/mailFolders/${encodeURIComponent(folderId)}/messages?${new URLSearchParams(queryParams)}`,
|
|
1063
|
+
{ headers: { Prefer: PREFER_TEXT_BODY } }
|
|
1064
|
+
);
|
|
1065
|
+
if (r.error) return r.error;
|
|
1066
|
+
entries = (r.data?.value ?? []).map(
|
|
1067
|
+
(m) => toMailTextEntry(m, maxChars)
|
|
1068
|
+
);
|
|
1069
|
+
}
|
|
1070
|
+
const text = JSON.stringify(entries);
|
|
1071
|
+
if (text.length > limit) return fail(oversizeError(entries, text.length, limit));
|
|
1072
|
+
return { content: [{ type: "text", text }] };
|
|
1073
|
+
} catch (error) {
|
|
1074
|
+
return fail(error.message);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
name: "download-bytes",
|
|
1080
|
+
method: "GET",
|
|
1081
|
+
path: "tool:download-bytes",
|
|
1082
|
+
description: `Download binary content from Microsoft Graph and return it as base64. Single tool for any binary read: drive file content, mail attachment, profile photo, Teams hosted content, meeting recording. Returns { contentType, encoding: "base64", contentLength, contentBytes }. For large drive/SharePoint file content, prefer get-download-url, which returns a pre-authenticated URL to stream bytes out-of-band instead of base64 through the agent context. With the server's blob output on, the bytes come back as a file resource instead (capped by the server's download limit); pass fileName to name it.`,
|
|
1083
|
+
readOnlyHint: true,
|
|
1084
|
+
openWorldHint: true,
|
|
1085
|
+
buildSchema: (ctx) => {
|
|
1086
|
+
const schema = {
|
|
1087
|
+
target: z.string().describe(
|
|
1088
|
+
'Relative Microsoft Graph path starting with "/". Common paths: /drives/{drive-id}/items/{driveItem-id}/content (drive file content); /me/messages/{message-id}/attachments/{attachment-id}/$value (mail attachment, list-mail-attachments returns the IDs); /me/photo/$value or /users/{user-id}/photo/$value (profile photo); /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value (Teams chat hosted content, list-chat-message-hosted-contents returns the IDs); /teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value (Teams channel hosted content). For meeting recordings, use get-meeting-recording-content where available; Microsoft Graph returns authenticated recording bytes, not a pre-authenticated download URL.'
|
|
1089
|
+
),
|
|
1090
|
+
fileName: z.string().describe(
|
|
1091
|
+
"Name of the file, used as the last segment of the returned resource URI when the server runs with blob output. Optional."
|
|
1092
|
+
).optional()
|
|
1093
|
+
};
|
|
1094
|
+
if (ctx.multiAccount) {
|
|
1095
|
+
schema["account"] = z.string().optional().describe(
|
|
1096
|
+
"Account to use when multiple Microsoft accounts are configured. Required when multiple accounts exist (see list-accounts)."
|
|
1097
|
+
);
|
|
1098
|
+
}
|
|
1099
|
+
return schema;
|
|
1100
|
+
},
|
|
1101
|
+
execute: async (params, { graphClient, authManager, userFields }) => {
|
|
1102
|
+
const target = params.target;
|
|
1103
|
+
const accountParam = params.account;
|
|
1104
|
+
if (typeof target !== "string" || target.length === 0) {
|
|
1105
|
+
return {
|
|
1106
|
+
content: [
|
|
1107
|
+
{
|
|
1108
|
+
type: "text",
|
|
1109
|
+
text: JSON.stringify({ error: "target is required and must be a non-empty string." })
|
|
1110
|
+
}
|
|
1111
|
+
],
|
|
1112
|
+
isError: true
|
|
1113
|
+
};
|
|
1114
|
+
}
|
|
1115
|
+
if (!target.startsWith("/")) {
|
|
1116
|
+
return {
|
|
1117
|
+
content: [
|
|
1118
|
+
{
|
|
1119
|
+
type: "text",
|
|
1120
|
+
text: JSON.stringify({
|
|
1121
|
+
error: 'target must be a relative Microsoft Graph path starting with "/", e.g. /me/photo/$value or /drives/{drive-id}/items/{driveItem-id}/content. Absolute URLs are not accepted; if you have an @microsoft.graph.downloadUrl, use the equivalent /content or /$value path instead (Graph 302-redirects to the same bytes).'
|
|
1122
|
+
})
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
isError: true
|
|
1126
|
+
};
|
|
1127
|
+
}
|
|
1128
|
+
const alteredTarget = unalteredTargetError(target);
|
|
1129
|
+
if (alteredTarget) return alteredTarget;
|
|
1130
|
+
const restrictedTarget = userProfilePassthroughError(target, userFields);
|
|
1131
|
+
if (restrictedTarget) return restrictedTarget;
|
|
1132
|
+
try {
|
|
1133
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
1134
|
+
if (accountModeError) {
|
|
1135
|
+
return {
|
|
1136
|
+
content: [{ type: "text", text: JSON.stringify({ error: accountModeError }) }],
|
|
1137
|
+
isError: true
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
let accountAccessToken;
|
|
1141
|
+
if (authManager && !authManager.isOAuthModeEnabled() && !getRequestTokens()) {
|
|
1142
|
+
accountAccessToken = await authManager.getTokenForAccount(accountParam);
|
|
1143
|
+
}
|
|
1144
|
+
const blob = isBlobOutputEnabled() ? {
|
|
1145
|
+
maxBytes: getBlobMaxBytes(),
|
|
1146
|
+
blobOutput: {
|
|
1147
|
+
fileName: typeof params.fileName === "string" ? params.fileName : void 0
|
|
1148
|
+
}
|
|
1149
|
+
} : {};
|
|
1150
|
+
return await graphClient.graphRequest(target, {
|
|
1151
|
+
accessToken: accountAccessToken,
|
|
1152
|
+
rawResponse: true,
|
|
1153
|
+
forceBinary: true,
|
|
1154
|
+
...blob
|
|
1155
|
+
});
|
|
1156
|
+
} catch (error) {
|
|
1157
|
+
return {
|
|
1158
|
+
content: [{ type: "text", text: JSON.stringify({ error: error.message }) }],
|
|
1159
|
+
isError: true
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
name: "download-bytes-to-file",
|
|
1166
|
+
method: "GET",
|
|
1167
|
+
path: "tool:download-bytes-to-file",
|
|
1168
|
+
searchKeywords: "save to disk save to file write file to disk save attachment to disk save recording to disk write bytes to local file output path",
|
|
1169
|
+
// Front-loaded on purpose: the discovery search index caps a tool's
|
|
1170
|
+
// description at ~40 tokens, so the OneDrive/SharePoint guidance below
|
|
1171
|
+
// sits past the cap. That keeps the hint for the reading LLM while letting
|
|
1172
|
+
// get-download-url own the high-signal "drive"/"sharepoint" search terms.
|
|
1173
|
+
description: "Write authenticated Microsoft Graph byte content to a local file on the server, returning { path, contentType, bytesWritten } instead of base64. The only out-of-band way to save mail attachments and meeting recordings, whose bytes are exposed solely through authenticated endpoints. Also handles profile photos and Teams hosted content. Writes to an absolute outputPath and never overwrites an existing file. stdio mode, or HTTP with --http-local-file-tools. For OneDrive or SharePoint file content, get-download-url is preferred \u2014 it returns a pre-authenticated URL for fully out-of-band download without the server fetching the bytes.",
|
|
1174
|
+
readOnlyHint: true,
|
|
1175
|
+
openWorldHint: true,
|
|
1176
|
+
stdioOnly: true,
|
|
1177
|
+
buildSchema: (ctx) => {
|
|
1178
|
+
const schema = {
|
|
1179
|
+
target: z.string().describe(
|
|
1180
|
+
'Relative Microsoft Graph path starting with "/". Common paths: /drives/{drive-id}/items/{driveItem-id}/content (drive file content); /me/messages/{message-id}/attachments/{attachment-id}/$value (mail attachment, list-mail-attachments returns the IDs); /me/photo/$value or /users/{user-id}/photo/$value (profile photo); /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value (Teams chat hosted content, list-chat-message-hosted-contents returns the IDs); /teams/{team-id}/channels/{channel-id}/messages/{chatMessage-id}/hostedContents/{chatMessageHostedContent-id}/$value (Teams channel hosted content). For meeting recordings, use get-meeting-recording-content where available; Microsoft Graph returns authenticated recording bytes, not a pre-authenticated download URL.'
|
|
1181
|
+
),
|
|
1182
|
+
outputPath: z.string().describe(
|
|
1183
|
+
"Absolute path on the server's filesystem where the bytes are written, e.g. /Users/me/downloads/invoice.pdf. Must be absolute; relative paths are rejected. The parent directory must already exist, and an existing file is never overwritten (the call errors if outputPath already exists)."
|
|
1184
|
+
)
|
|
1185
|
+
};
|
|
1186
|
+
if (ctx.multiAccount) {
|
|
1187
|
+
schema["account"] = z.string().optional().describe(
|
|
1188
|
+
"Account to use when multiple Microsoft accounts are configured. Required when multiple accounts exist (see list-accounts)."
|
|
1189
|
+
);
|
|
1190
|
+
}
|
|
1191
|
+
return schema;
|
|
1192
|
+
},
|
|
1193
|
+
execute: async (params, { graphClient, authManager, userFields }) => {
|
|
1194
|
+
const target = params.target;
|
|
1195
|
+
const outputPath = params.outputPath;
|
|
1196
|
+
const accountParam = params.account;
|
|
1197
|
+
if (typeof target !== "string" || target.length === 0) {
|
|
1198
|
+
return {
|
|
1199
|
+
content: [
|
|
1200
|
+
{
|
|
1201
|
+
type: "text",
|
|
1202
|
+
text: JSON.stringify({ error: "target is required and must be a non-empty string." })
|
|
1203
|
+
}
|
|
1204
|
+
],
|
|
1205
|
+
isError: true
|
|
1206
|
+
};
|
|
1207
|
+
}
|
|
1208
|
+
if (!target.startsWith("/")) {
|
|
1209
|
+
return {
|
|
1210
|
+
content: [
|
|
1211
|
+
{
|
|
1212
|
+
type: "text",
|
|
1213
|
+
text: JSON.stringify({
|
|
1214
|
+
error: 'target must be a relative Microsoft Graph path starting with "/", e.g. /me/photo/$value or /drives/{drive-id}/items/{driveItem-id}/content. Absolute URLs are not accepted; if you have an @microsoft.graph.downloadUrl, use the equivalent /content or /$value path instead (Graph 302-redirects to the same bytes).'
|
|
1215
|
+
})
|
|
1216
|
+
}
|
|
1217
|
+
],
|
|
1218
|
+
isError: true
|
|
1219
|
+
};
|
|
1220
|
+
}
|
|
1221
|
+
if (typeof outputPath !== "string" || outputPath.length === 0) {
|
|
1222
|
+
return {
|
|
1223
|
+
content: [
|
|
1224
|
+
{
|
|
1225
|
+
type: "text",
|
|
1226
|
+
text: JSON.stringify({
|
|
1227
|
+
error: "outputPath is required and must be a non-empty string."
|
|
1228
|
+
})
|
|
1229
|
+
}
|
|
1230
|
+
],
|
|
1231
|
+
isError: true
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
const alteredTarget = unalteredTargetError(target);
|
|
1235
|
+
if (alteredTarget) return alteredTarget;
|
|
1236
|
+
const restrictedTarget = userProfilePassthroughError(target, userFields);
|
|
1237
|
+
if (restrictedTarget) return restrictedTarget;
|
|
1238
|
+
if (!path.isAbsolute(outputPath)) {
|
|
1239
|
+
return {
|
|
1240
|
+
content: [
|
|
1241
|
+
{
|
|
1242
|
+
type: "text",
|
|
1243
|
+
text: JSON.stringify({
|
|
1244
|
+
error: `outputPath must be an absolute path, e.g. /Users/me/downloads/file.ext. Received: ${outputPath}`
|
|
1245
|
+
})
|
|
1246
|
+
}
|
|
1247
|
+
],
|
|
1248
|
+
isError: true
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1251
|
+
let fileExists = false;
|
|
1252
|
+
try {
|
|
1253
|
+
await access(outputPath);
|
|
1254
|
+
fileExists = true;
|
|
1255
|
+
} catch {
|
|
1256
|
+
}
|
|
1257
|
+
if (fileExists) {
|
|
1258
|
+
return {
|
|
1259
|
+
content: [
|
|
1260
|
+
{
|
|
1261
|
+
type: "text",
|
|
1262
|
+
text: JSON.stringify({ error: `file already exists at ${outputPath}` })
|
|
1263
|
+
}
|
|
1264
|
+
],
|
|
1265
|
+
isError: true
|
|
1266
|
+
};
|
|
1267
|
+
}
|
|
1268
|
+
try {
|
|
1269
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
1270
|
+
if (accountModeError) {
|
|
1271
|
+
return {
|
|
1272
|
+
content: [{ type: "text", text: JSON.stringify({ error: accountModeError }) }],
|
|
1273
|
+
isError: true
|
|
1274
|
+
};
|
|
1275
|
+
}
|
|
1276
|
+
let accountAccessToken;
|
|
1277
|
+
if (authManager && !authManager.isOAuthModeEnabled() && !getRequestTokens()) {
|
|
1278
|
+
accountAccessToken = await authManager.getTokenForAccount(accountParam);
|
|
1279
|
+
}
|
|
1280
|
+
const result = await graphClient.downloadToFile(target, outputPath, {
|
|
1281
|
+
accessToken: accountAccessToken
|
|
1282
|
+
});
|
|
1283
|
+
return {
|
|
1284
|
+
content: [
|
|
1285
|
+
{
|
|
1286
|
+
type: "text",
|
|
1287
|
+
text: JSON.stringify({
|
|
1288
|
+
path: outputPath,
|
|
1289
|
+
contentType: result.contentType,
|
|
1290
|
+
bytesWritten: result.contentLength
|
|
1291
|
+
})
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
// response_bytes must describe the file written, not this receipt.
|
|
1295
|
+
// Streaming to disk means the payload never appears in the response,
|
|
1296
|
+
// so without this the most extraction-shaped tool in the server would
|
|
1297
|
+
// audit a 250MB download at the size of an error message.
|
|
1298
|
+
_meta: {
|
|
1299
|
+
...result.httpStatus !== void 0 ? { http_status: result.httpStatus } : {},
|
|
1300
|
+
...typeof result.contentLength === "number" ? { response_bytes: result.contentLength } : {}
|
|
1301
|
+
}
|
|
1302
|
+
};
|
|
1303
|
+
} catch (error) {
|
|
1304
|
+
const metadata = thrownErrorAuditFields(error);
|
|
1305
|
+
return {
|
|
1306
|
+
content: [{ type: "text", text: JSON.stringify({ error: error.message }) }],
|
|
1307
|
+
isError: true,
|
|
1308
|
+
...Object.keys(metadata).length > 0 ? { _meta: metadata } : {}
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
}
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
name: "get-download-url",
|
|
1315
|
+
method: "GET",
|
|
1316
|
+
path: "tool:get-download-url",
|
|
1317
|
+
searchKeywords: "download file download drive file download onedrive file sharepoint file download large drive file large sharepoint file large file out-of-band download pre-authenticated url",
|
|
1318
|
+
description: "Resolve a short-lived, pre-authenticated download URL for Microsoft Graph binary content that exposes one (drive/SharePoint file content). The returned URL streams the bytes with NO Authorization header, so the client can fetch it straight to disk (e.g. curl) without round-tripping base64 through the agent context. Prefer this over download-bytes for any file above a few KB or any bulk download. Returns { downloadUrl, name?, size?, contentType? }. Mail file attachments (/messages/{id}/attachments/{id}/$value), meeting recordings and other $value byte endpoints have no pre-authenticated URL from Graph itself, but call this tool for them anyway: a server running with --enable-attachment-urls mints its own single-use URL for them, and one without it answers with the reason and points at download-bytes.",
|
|
1319
|
+
readOnlyHint: true,
|
|
1320
|
+
openWorldHint: true,
|
|
1321
|
+
buildSchema: (ctx) => {
|
|
1322
|
+
const schema = {
|
|
1323
|
+
target: z.string().describe(
|
|
1324
|
+
'Relative Microsoft Graph path starting with "/". Either a driveItem content path or the item path itself, e.g. /drives/{drive-id}/items/{driveItem-id}/content, /me/drive/items/{driveItem-id}/content, or /sites/{site-id}/drive/items/{driveItem-id}. A trailing /content is optional and is stripped automatically for drive items. Mail attachment $value paths and meeting recordings are accepted on a server running with --enable-attachment-urls.'
|
|
1325
|
+
)
|
|
1326
|
+
};
|
|
1327
|
+
if (ctx.multiAccount) {
|
|
1328
|
+
schema["account"] = z.string().optional().describe(
|
|
1329
|
+
"Account to use when multiple Microsoft accounts are configured. Required when multiple accounts exist (see list-accounts)."
|
|
1330
|
+
);
|
|
1331
|
+
}
|
|
1332
|
+
return schema;
|
|
1333
|
+
},
|
|
1334
|
+
execute: async (params, { graphClient, authManager, userFields }) => {
|
|
1335
|
+
const target = params.target;
|
|
1336
|
+
const accountParam = params.account;
|
|
1337
|
+
if (typeof target !== "string" || target.length === 0) {
|
|
1338
|
+
return {
|
|
1339
|
+
content: [
|
|
1340
|
+
{
|
|
1341
|
+
type: "text",
|
|
1342
|
+
text: JSON.stringify({ error: "target is required and must be a non-empty string." })
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
isError: true
|
|
1346
|
+
};
|
|
1347
|
+
}
|
|
1348
|
+
if (!target.startsWith("/")) {
|
|
1349
|
+
return {
|
|
1350
|
+
content: [
|
|
1351
|
+
{
|
|
1352
|
+
type: "text",
|
|
1353
|
+
text: JSON.stringify({
|
|
1354
|
+
error: 'target must be a relative Microsoft Graph path starting with "/", e.g. /drives/{drive-id}/items/{driveItem-id}/content.'
|
|
1355
|
+
})
|
|
1356
|
+
}
|
|
1357
|
+
],
|
|
1358
|
+
isError: true
|
|
1359
|
+
};
|
|
1360
|
+
}
|
|
1361
|
+
const alteredTarget = unalteredTargetError(target);
|
|
1362
|
+
if (alteredTarget) return alteredTarget;
|
|
1363
|
+
const restrictedTarget = userProfilePassthroughError(target, userFields);
|
|
1364
|
+
if (restrictedTarget) return restrictedTarget;
|
|
1365
|
+
const queryIdx = target.indexOf("?");
|
|
1366
|
+
if (queryIdx >= 0) {
|
|
1367
|
+
return {
|
|
1368
|
+
content: [
|
|
1369
|
+
{
|
|
1370
|
+
type: "text",
|
|
1371
|
+
text: JSON.stringify({
|
|
1372
|
+
error: "target must not include query parameters. Pass the drive item /content path or item metadata path without $select, $expand, or other query options."
|
|
1373
|
+
})
|
|
1374
|
+
}
|
|
1375
|
+
],
|
|
1376
|
+
isError: true
|
|
1377
|
+
};
|
|
1378
|
+
}
|
|
1379
|
+
const pathPart = target.replace(/\/+$/, "");
|
|
1380
|
+
if (/^(\/me|\/users\/[^/]+)\/messages\/[^/]+\/attachments\//.test(pathPart) || /^(\/me|\/users\/[^/]+)\/events\/[^/]+\/attachments\//.test(pathPart) || /^\/groups\/[^/]+\/messages\/[^/]+\/attachments\//.test(pathPart) || /^\/groups\/[^/]+\/events\/[^/]+\/attachments\//.test(pathPart)) {
|
|
1381
|
+
if (getAttachmentMinting() && !pathPart.endsWith("/$value")) {
|
|
1382
|
+
return {
|
|
1383
|
+
content: [
|
|
1384
|
+
{
|
|
1385
|
+
type: "text",
|
|
1386
|
+
text: JSON.stringify({
|
|
1387
|
+
error: "Only the /$value byte endpoint can be minted a download URL: end target with /$value, e.g. /me/messages/{message-id}/attachments/{attachment-id}/$value. The attachment resource itself returns JSON with base64 contentBytes."
|
|
1388
|
+
})
|
|
1389
|
+
}
|
|
1390
|
+
],
|
|
1391
|
+
isError: true
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
const minted = await mintDownloadUrl(pathPart, accountParam, authManager, graphClient);
|
|
1395
|
+
if (minted) return minted;
|
|
1396
|
+
return {
|
|
1397
|
+
content: [
|
|
1398
|
+
{
|
|
1399
|
+
type: "text",
|
|
1400
|
+
text: JSON.stringify({
|
|
1401
|
+
error: "Mail and calendar event attachments do not expose a pre-authenticated download URL. Use download-bytes for small attachments."
|
|
1402
|
+
})
|
|
1403
|
+
}
|
|
1404
|
+
],
|
|
1405
|
+
isError: true
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
if (/^(\/me|\/users\/[^/]+)\/onlineMeetings\/[^/]+\/recordings\/[^/]+(?:\/content)?$/.test(
|
|
1409
|
+
pathPart
|
|
1410
|
+
) || /^\/communications\/calls\/[^/]+\/recordings\/[^/]+(?:\/content)?$/.test(pathPart)) {
|
|
1411
|
+
if (getAttachmentMinting() && !pathPart.endsWith("/content")) {
|
|
1412
|
+
return {
|
|
1413
|
+
content: [
|
|
1414
|
+
{
|
|
1415
|
+
type: "text",
|
|
1416
|
+
text: JSON.stringify({
|
|
1417
|
+
error: "Only the /content byte endpoint can be minted a download URL: end target with /content, e.g. /me/onlineMeetings/{meeting-id}/recordings/{recording-id}/content."
|
|
1418
|
+
})
|
|
1419
|
+
}
|
|
1420
|
+
],
|
|
1421
|
+
isError: true
|
|
1422
|
+
};
|
|
1423
|
+
}
|
|
1424
|
+
const minted = await mintDownloadUrl(pathPart, accountParam, authManager);
|
|
1425
|
+
if (minted) return minted;
|
|
1426
|
+
return {
|
|
1427
|
+
content: [
|
|
1428
|
+
{
|
|
1429
|
+
type: "text",
|
|
1430
|
+
text: JSON.stringify({
|
|
1431
|
+
error: "Meeting recordings do not expose a pre-authenticated download URL. Use download-bytes for small recordings or get-meeting-recording-content where available."
|
|
1432
|
+
})
|
|
1433
|
+
}
|
|
1434
|
+
],
|
|
1435
|
+
isError: true
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
if (pathPart.endsWith("/$value")) {
|
|
1439
|
+
const minted = await mintDownloadUrl(pathPart, accountParam, authManager);
|
|
1440
|
+
if (minted) return minted;
|
|
1441
|
+
return {
|
|
1442
|
+
content: [
|
|
1443
|
+
{
|
|
1444
|
+
type: "text",
|
|
1445
|
+
text: JSON.stringify({
|
|
1446
|
+
error: "$value byte endpoints do not expose a pre-authenticated download URL. Use download-bytes to read these bytes."
|
|
1447
|
+
})
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
1450
|
+
isError: true
|
|
1451
|
+
};
|
|
1452
|
+
}
|
|
1453
|
+
const isDriveItemById = /^\/drives\/[^/]+\/items\/[^/]+(?:\/content)?$/.test(pathPart) || /^\/(?:me|users\/[^/]+|groups\/[^/]+|sites\/[^/]+)\/drive\/items\/[^/]+(?:\/content)?$/.test(
|
|
1454
|
+
pathPart
|
|
1455
|
+
) || /^\/(?:groups\/[^/]+|sites\/[^/]+)\/drives\/[^/]+\/items\/[^/]+(?:\/content)?$/.test(
|
|
1456
|
+
pathPart
|
|
1457
|
+
);
|
|
1458
|
+
const isDriveItemByPath = /^\/drives\/[^/]+\/root:\/.+:(?:\/content)?$/.test(pathPart) || /^\/(?:me|users\/[^/]+|groups\/[^/]+|sites\/[^/]+)\/drive\/root:\/.+:(?:\/content)?$/.test(
|
|
1459
|
+
pathPart
|
|
1460
|
+
) || /^\/(?:groups\/[^/]+|sites\/[^/]+)\/drives\/[^/]+\/root:\/.+:(?:\/content)?$/.test(
|
|
1461
|
+
pathPart
|
|
1462
|
+
);
|
|
1463
|
+
if (!isDriveItemById && !isDriveItemByPath) {
|
|
1464
|
+
return {
|
|
1465
|
+
content: [
|
|
1466
|
+
{
|
|
1467
|
+
type: "text",
|
|
1468
|
+
text: JSON.stringify({
|
|
1469
|
+
error: "target must identify a driveItem in OneDrive or SharePoint. Use a drive item metadata path or /content path, such as /drives/{drive-id}/items/{driveItem-id}/content, /me/drive/items/{driveItem-id}, /sites/{site-id}/drive/items/{driveItem-id}, or /me/drive/root:/path/file.ext:/content. Other Graph byte resources must use download-bytes."
|
|
1470
|
+
})
|
|
1471
|
+
}
|
|
1472
|
+
],
|
|
1473
|
+
isError: true
|
|
1474
|
+
};
|
|
1475
|
+
}
|
|
1476
|
+
const isDriveContentEndpoint = /\/items\/[^/]+\/content$/.test(pathPart) || pathPart.endsWith(":/content");
|
|
1477
|
+
const itemPath = isDriveContentEndpoint ? pathPart.slice(0, -"/content".length) : pathPart;
|
|
1478
|
+
try {
|
|
1479
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
1480
|
+
if (accountModeError) {
|
|
1481
|
+
return {
|
|
1482
|
+
content: [{ type: "text", text: JSON.stringify({ error: accountModeError }) }],
|
|
1483
|
+
isError: true
|
|
1484
|
+
};
|
|
1485
|
+
}
|
|
1486
|
+
let accountAccessToken;
|
|
1487
|
+
if (authManager && !authManager.isOAuthModeEnabled() && !getRequestTokens()) {
|
|
1488
|
+
accountAccessToken = await authManager.getTokenForAccount(accountParam);
|
|
1489
|
+
}
|
|
1490
|
+
const response = await graphClient.graphRequest(itemPath, {
|
|
1491
|
+
accessToken: accountAccessToken,
|
|
1492
|
+
// We JSON.parse the metadata below, so force JSON - under --toon it'd be
|
|
1493
|
+
// TOON and the parse would fail, masking a real item as "no download url".
|
|
1494
|
+
forceJsonOutput: true
|
|
1495
|
+
});
|
|
1496
|
+
if (response?.isError) {
|
|
1497
|
+
return response;
|
|
1498
|
+
}
|
|
1499
|
+
const text = response?.content?.[0]?.text;
|
|
1500
|
+
let item;
|
|
1501
|
+
if (typeof text === "string") {
|
|
1502
|
+
try {
|
|
1503
|
+
item = JSON.parse(text);
|
|
1504
|
+
} catch {
|
|
1505
|
+
item = void 0;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
const downloadUrl = item?.["@microsoft.graph.downloadUrl"];
|
|
1509
|
+
if (!downloadUrl) {
|
|
1510
|
+
const minted = await mintDownloadUrl(`${itemPath}/content`, accountParam, authManager);
|
|
1511
|
+
if (minted) return minted;
|
|
1512
|
+
return {
|
|
1513
|
+
content: [
|
|
1514
|
+
{
|
|
1515
|
+
type: "text",
|
|
1516
|
+
text: JSON.stringify({
|
|
1517
|
+
error: "No pre-authenticated download URL is available for this resource. It may not be a drive item, or it exposes bytes only via download-bytes."
|
|
1518
|
+
})
|
|
1519
|
+
}
|
|
1520
|
+
],
|
|
1521
|
+
isError: true,
|
|
1522
|
+
_meta: response._meta
|
|
1523
|
+
};
|
|
1524
|
+
}
|
|
1525
|
+
const file = item?.file;
|
|
1526
|
+
return {
|
|
1527
|
+
content: [
|
|
1528
|
+
{
|
|
1529
|
+
type: "text",
|
|
1530
|
+
text: JSON.stringify({
|
|
1531
|
+
downloadUrl,
|
|
1532
|
+
name: item?.name,
|
|
1533
|
+
size: item?.size,
|
|
1534
|
+
contentType: file?.mimeType
|
|
1535
|
+
})
|
|
1536
|
+
}
|
|
1537
|
+
],
|
|
1538
|
+
_meta: response._meta
|
|
1539
|
+
};
|
|
1540
|
+
} catch (error) {
|
|
1541
|
+
const metadata = thrownErrorAuditFields(error);
|
|
1542
|
+
return {
|
|
1543
|
+
content: [{ type: "text", text: JSON.stringify({ error: error.message }) }],
|
|
1544
|
+
isError: true,
|
|
1545
|
+
...Object.keys(metadata).length > 0 ? { _meta: metadata } : {}
|
|
1546
|
+
};
|
|
1547
|
+
}
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
];
|
|
1551
|
+
function registerUtilityToolWithMcp(server, utility, ctx) {
|
|
1552
|
+
server.tool(
|
|
1553
|
+
utility.name,
|
|
1554
|
+
utility.description,
|
|
1555
|
+
utility.buildSchema(ctx),
|
|
1556
|
+
{
|
|
1557
|
+
title: utility.name,
|
|
1558
|
+
readOnlyHint: utility.readOnlyHint ?? true,
|
|
1559
|
+
openWorldHint: utility.openWorldHint ?? true
|
|
1560
|
+
},
|
|
1561
|
+
async (params) => executeUtilityTool(utility, ctx, params)
|
|
1562
|
+
);
|
|
1563
|
+
}
|
|
1564
|
+
function namesNestedBodyType(value) {
|
|
1565
|
+
return typeof value === "string" && value.toLowerCase().endsWith("itembody");
|
|
1566
|
+
}
|
|
1567
|
+
function bodySchemaShape(schema) {
|
|
1568
|
+
let current = schema;
|
|
1569
|
+
for (let i = 0; i < 10 && current; i++) {
|
|
1570
|
+
if (current instanceof z.ZodObject) {
|
|
1571
|
+
return current.shape;
|
|
1572
|
+
}
|
|
1573
|
+
const def = current._def;
|
|
1574
|
+
current = def?.innerType ?? def?.schema ?? def?.getter?.();
|
|
1575
|
+
}
|
|
1576
|
+
return null;
|
|
1577
|
+
}
|
|
1578
|
+
function lenientBodySchema(schema) {
|
|
1579
|
+
if (schema instanceof z.ZodObject) {
|
|
1580
|
+
return schema.passthrough();
|
|
1581
|
+
}
|
|
1582
|
+
if (schema instanceof z.ZodOptional) {
|
|
1583
|
+
return lenientBodySchema(schema.unwrap()).optional();
|
|
1584
|
+
}
|
|
1585
|
+
if (schema instanceof z.ZodNullable) {
|
|
1586
|
+
return lenientBodySchema(schema.unwrap()).nullable();
|
|
1587
|
+
}
|
|
1588
|
+
if (schema instanceof z.ZodLazy) {
|
|
1589
|
+
return z.lazy(() => lenientBodySchema(schema.schema));
|
|
1590
|
+
}
|
|
1591
|
+
return schema;
|
|
1592
|
+
}
|
|
1593
|
+
const READ_ONLY_BODY_FIELDS = /* @__PURE__ */ new Set([
|
|
1594
|
+
"id",
|
|
1595
|
+
"createdDateTime",
|
|
1596
|
+
"lastModifiedDateTime",
|
|
1597
|
+
"changeKey"
|
|
1598
|
+
]);
|
|
1599
|
+
function isPlainObject(value) {
|
|
1600
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1601
|
+
}
|
|
1602
|
+
function restrictBatchSubrequests(body, allowlist) {
|
|
1603
|
+
const restricted = /* @__PURE__ */ new Map();
|
|
1604
|
+
let changed = false;
|
|
1605
|
+
let parsed = body;
|
|
1606
|
+
const wasString = typeof body === "string";
|
|
1607
|
+
if (wasString) {
|
|
1608
|
+
try {
|
|
1609
|
+
parsed = JSON.parse(body);
|
|
1610
|
+
} catch {
|
|
1611
|
+
return { body, restricted };
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
if (!isPlainObject(parsed) || !Array.isArray(parsed.requests)) return { body, restricted };
|
|
1615
|
+
parsed.requests.forEach((request, index) => {
|
|
1616
|
+
if (!isPlainObject(request) || typeof request.url !== "string") return;
|
|
1617
|
+
const method = typeof request.method === "string" ? request.method.toUpperCase() : "GET";
|
|
1618
|
+
const enforcement = userFieldEnforcement(request.url);
|
|
1619
|
+
if (method !== "GET") return;
|
|
1620
|
+
if (enforcement !== "none") {
|
|
1621
|
+
const { url, fields } = restrictUserFieldUrl(request.url, allowlist, enforcement);
|
|
1622
|
+
request.url = url;
|
|
1623
|
+
restricted.set(String(request.id ?? index), fields);
|
|
1624
|
+
changed = true;
|
|
1625
|
+
logger.info(`Restricting batch subrequest ${String(request.id ?? index)} to: ${fields}`);
|
|
1626
|
+
} else if (shouldStripUserFieldExpand(request.url)) {
|
|
1627
|
+
const url = stripUserFieldExpandFromUrl(request.url);
|
|
1628
|
+
if (url !== request.url) {
|
|
1629
|
+
request.url = url;
|
|
1630
|
+
changed = true;
|
|
1631
|
+
logger.info(`Removing $expand from batch subrequest ${String(request.id ?? index)}`);
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
});
|
|
1635
|
+
if (!changed) return { body, restricted };
|
|
1636
|
+
return { body: wasString ? JSON.stringify(parsed) : parsed, restricted };
|
|
1637
|
+
}
|
|
1638
|
+
function projectBatchSubresponses(data, restricted) {
|
|
1639
|
+
if (!isPlainObject(data) || !Array.isArray(data.responses)) return data;
|
|
1640
|
+
return {
|
|
1641
|
+
...data,
|
|
1642
|
+
responses: data.responses.map((subresponse) => {
|
|
1643
|
+
if (!isPlainObject(subresponse)) return subresponse;
|
|
1644
|
+
const fields = restricted.get(String(subresponse.id));
|
|
1645
|
+
if (!fields) return subresponse;
|
|
1646
|
+
return { ...subresponse, body: projectSelectedFields(subresponse.body, fields, true) };
|
|
1647
|
+
})
|
|
1648
|
+
};
|
|
1649
|
+
}
|
|
1650
|
+
function userProfilePassthroughError(target, userFields) {
|
|
1651
|
+
if (userFields === void 0 || !targetsUserProfile(target)) return void 0;
|
|
1652
|
+
return {
|
|
1653
|
+
content: [
|
|
1654
|
+
{
|
|
1655
|
+
type: "text",
|
|
1656
|
+
text: JSON.stringify({
|
|
1657
|
+
error: "user_fields_restricted",
|
|
1658
|
+
message: "This deployment restricts which user profile fields may be returned, and this tool returns the response bytes verbatim. Use list-users, which applies the restriction."
|
|
1659
|
+
})
|
|
1660
|
+
}
|
|
1661
|
+
],
|
|
1662
|
+
isError: true
|
|
1663
|
+
};
|
|
1664
|
+
}
|
|
1665
|
+
function hasOwn(obj, key) {
|
|
1666
|
+
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
1667
|
+
}
|
|
1668
|
+
function describeParamsForLog(params) {
|
|
1669
|
+
try {
|
|
1670
|
+
return JSON.stringify(params);
|
|
1671
|
+
} catch (error) {
|
|
1672
|
+
return `[unserializable: ${error instanceof Error ? error.name : "unknown error"}]`;
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
function escapeIfStringLiteral(template, names, value) {
|
|
1676
|
+
const quoted = names.some((n) => template.includes(`'{${n}}'`) || template.includes(`':${n}'`));
|
|
1677
|
+
return quoted ? String(value).replace(/'/g, "''") : String(value);
|
|
1678
|
+
}
|
|
1679
|
+
function rawValueAddsSegments(template, names, value) {
|
|
1680
|
+
const isTail = names.some((n) => template.endsWith(`/{${n}}`) || template.endsWith(`/:${n}`));
|
|
1681
|
+
return isTail ? value.includes(":") : value.includes("/");
|
|
1682
|
+
}
|
|
1683
|
+
function invalidPathParameter(message) {
|
|
1684
|
+
return {
|
|
1685
|
+
content: [
|
|
1686
|
+
{ type: "text", text: JSON.stringify({ error: "invalid_path_parameter", message }) }
|
|
1687
|
+
],
|
|
1688
|
+
isError: true
|
|
1689
|
+
};
|
|
1690
|
+
}
|
|
1691
|
+
function unalteredTargetError(target) {
|
|
1692
|
+
if (isUnalteredGraphPath(target.split("?")[0])) return void 0;
|
|
1693
|
+
return {
|
|
1694
|
+
content: [
|
|
1695
|
+
{
|
|
1696
|
+
type: "text",
|
|
1697
|
+
text: JSON.stringify({
|
|
1698
|
+
error: 'target must not contain "." or ".." segments, a fragment or a backslash.'
|
|
1699
|
+
})
|
|
1700
|
+
}
|
|
1701
|
+
],
|
|
1702
|
+
isError: true
|
|
1703
|
+
};
|
|
1704
|
+
}
|
|
1705
|
+
async function executeGraphTool(tool, config, graphClient, params, authManager, userFields) {
|
|
1706
|
+
logger.info(`Tool ${tool.alias} called with params: ${describeParamsForLog(params)}`);
|
|
1707
|
+
if (isConfirmGateEnabled() && isDestructiveOperation(tool.method, config) && params.confirm !== true) {
|
|
1708
|
+
logger.warn(
|
|
1709
|
+
`Refusing destructive tool ${tool.alias} (${tool.method.toUpperCase()}): missing confirm: true`
|
|
1710
|
+
);
|
|
1711
|
+
return {
|
|
1712
|
+
content: [
|
|
1713
|
+
{
|
|
1714
|
+
type: "text",
|
|
1715
|
+
text: JSON.stringify({
|
|
1716
|
+
error: "confirmation_required",
|
|
1717
|
+
tool: tool.alias,
|
|
1718
|
+
method: tool.method.toUpperCase(),
|
|
1719
|
+
destructive: true,
|
|
1720
|
+
message: 'This tool modifies user data. Re-call with parameter "confirm": true after the user has explicitly approved the operation.'
|
|
1721
|
+
})
|
|
1722
|
+
}
|
|
1723
|
+
],
|
|
1724
|
+
isError: true
|
|
1725
|
+
};
|
|
1726
|
+
}
|
|
1727
|
+
const requestId = randomUUID();
|
|
1728
|
+
const startTime = Date.now();
|
|
1729
|
+
const upn = getUserIdentityForAudit(getRequestTokens()?.accessToken);
|
|
1730
|
+
const httpMethod = tool.method.toUpperCase();
|
|
1731
|
+
let targetResource;
|
|
1732
|
+
let body = null;
|
|
1733
|
+
try {
|
|
1734
|
+
const accountParam = params.account;
|
|
1735
|
+
const accountModeError = await checkAccountParamInBearerMode(accountParam, authManager);
|
|
1736
|
+
if (accountModeError) {
|
|
1737
|
+
return {
|
|
1738
|
+
content: [{ type: "text", text: JSON.stringify({ error: accountModeError }) }],
|
|
1739
|
+
isError: true
|
|
1740
|
+
};
|
|
1741
|
+
}
|
|
1742
|
+
let accountAccessToken;
|
|
1743
|
+
if (authManager && !authManager.isOAuthModeEnabled() && !getRequestTokens()) {
|
|
1744
|
+
try {
|
|
1745
|
+
accountAccessToken = await authManager.getTokenForAccount(accountParam);
|
|
1746
|
+
} catch (err) {
|
|
1747
|
+
return {
|
|
1748
|
+
content: [
|
|
1749
|
+
{
|
|
1750
|
+
type: "text",
|
|
1751
|
+
text: JSON.stringify({ error: err.message })
|
|
1752
|
+
}
|
|
1753
|
+
],
|
|
1754
|
+
isError: true
|
|
1755
|
+
};
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
const parameterDefinitions = tool.parameters || [];
|
|
1759
|
+
let path2 = tool.path;
|
|
1760
|
+
const queryParams = {};
|
|
1761
|
+
const headers = {};
|
|
1762
|
+
const bodyShape = bodySchemaShape(
|
|
1763
|
+
parameterDefinitions.find((p) => p.type === "Body")?.schema
|
|
1764
|
+
);
|
|
1765
|
+
const strayBodyFields = {};
|
|
1766
|
+
const memberNameFilter = config?.nameFilter && typeof params.name === "string" ? params.name : void 0;
|
|
1767
|
+
for (const [paramName, paramValue] of Object.entries(params)) {
|
|
1768
|
+
if (paramName === "fileName" && config?.blobOutput) continue;
|
|
1769
|
+
if (paramName === "name" && config?.nameFilter) continue;
|
|
1770
|
+
if ([
|
|
1771
|
+
"account",
|
|
1772
|
+
"confirm",
|
|
1773
|
+
"fetchAllPages",
|
|
1774
|
+
"includeHeaders",
|
|
1775
|
+
"excludeResponse",
|
|
1776
|
+
"timezone",
|
|
1777
|
+
"expandExtendedProperties"
|
|
1778
|
+
].includes(paramName)) {
|
|
1779
|
+
continue;
|
|
1780
|
+
}
|
|
1781
|
+
const odataParams = [
|
|
1782
|
+
"filter",
|
|
1783
|
+
"select",
|
|
1784
|
+
"expand",
|
|
1785
|
+
"orderby",
|
|
1786
|
+
"skip",
|
|
1787
|
+
"skiptoken",
|
|
1788
|
+
"top",
|
|
1789
|
+
"count",
|
|
1790
|
+
"search",
|
|
1791
|
+
"format"
|
|
1792
|
+
];
|
|
1793
|
+
const bareParamName = paramName.startsWith("$") ? paramName.slice(1) : paramName;
|
|
1794
|
+
const isOdataParam = odataParams.includes(bareParamName.toLowerCase());
|
|
1795
|
+
const normalizedParamName = isOdataParam ? bareParamName.toLowerCase() : bareParamName;
|
|
1796
|
+
const fixedParamName = isOdataParam ? `$${normalizedParamName}` : paramName;
|
|
1797
|
+
const camelCaseParamName = paramName.replace(/-([a-z])/g, (_, c) => c.toUpperCase());
|
|
1798
|
+
const paramDef = parameterDefinitions.find(
|
|
1799
|
+
(p) => p.name === paramName || p.name === camelCaseParamName || isOdataParam && p.name.replace(/^\$/, "").toLowerCase() === normalizedParamName
|
|
1800
|
+
);
|
|
1801
|
+
const isQuery = paramDef?.type === "Query" || isOdataParam;
|
|
1802
|
+
if (isQuery && paramValue != null && paramValue !== "") {
|
|
1803
|
+
const schema = queryParameterSchema(
|
|
1804
|
+
normalizedParamName,
|
|
1805
|
+
paramDef?.schema ?? z.any(),
|
|
1806
|
+
config
|
|
1807
|
+
);
|
|
1808
|
+
if (!schema || !schema.safeParse(paramValue).success) {
|
|
1809
|
+
return {
|
|
1810
|
+
content: [
|
|
1811
|
+
{
|
|
1812
|
+
type: "text",
|
|
1813
|
+
text: JSON.stringify({
|
|
1814
|
+
error: "invalid_query_parameter",
|
|
1815
|
+
parameter: fixedParamName,
|
|
1816
|
+
message: schema ? "Value does not match the query contract. Check get-tool-schema." : "This endpoint does not support this query parameter."
|
|
1817
|
+
})
|
|
1818
|
+
}
|
|
1819
|
+
],
|
|
1820
|
+
isError: true
|
|
1821
|
+
};
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
if (paramDef) {
|
|
1825
|
+
switch (paramDef.type) {
|
|
1826
|
+
case "Path": {
|
|
1827
|
+
const shouldSkipEncoding = config?.skipEncoding?.includes(paramName) ?? false;
|
|
1828
|
+
const names = [paramName, camelCaseParamName];
|
|
1829
|
+
if (shouldSkipEncoding && rawValueAddsSegments(tool.path, names, `${paramValue}`)) {
|
|
1830
|
+
return invalidPathParameter(
|
|
1831
|
+
`'${paramName}' cannot add path segments to this endpoint: no "/" in a value, and no ":" in a site path.`
|
|
1832
|
+
);
|
|
1833
|
+
}
|
|
1834
|
+
const encodedValue = shouldSkipEncoding ? paramValue : encodeURIComponent(escapeIfStringLiteral(tool.path, names, paramValue)).replace(
|
|
1835
|
+
/%3D/g,
|
|
1836
|
+
"="
|
|
1837
|
+
);
|
|
1838
|
+
path2 = path2.replace(`{${paramName}}`, () => encodedValue).replace(`:${paramName}`, () => encodedValue).replace(`{${camelCaseParamName}}`, () => encodedValue).replace(`:${camelCaseParamName}`, () => encodedValue);
|
|
1839
|
+
break;
|
|
1840
|
+
}
|
|
1841
|
+
case "Query":
|
|
1842
|
+
if (paramValue !== "" && paramValue != null) {
|
|
1843
|
+
queryParams[fixedParamName] = `${paramValue}`;
|
|
1844
|
+
}
|
|
1845
|
+
break;
|
|
1846
|
+
case "Body":
|
|
1847
|
+
if (paramDef.schema) {
|
|
1848
|
+
const parseResult = paramDef.schema.safeParse(paramValue);
|
|
1849
|
+
if (!parseResult.success) {
|
|
1850
|
+
const wrapped = { [paramName]: paramValue };
|
|
1851
|
+
const wrappedResult = paramDef.schema.safeParse(wrapped);
|
|
1852
|
+
if (wrappedResult.success) {
|
|
1853
|
+
logger.info(
|
|
1854
|
+
`Auto-corrected parameter '${paramName}': AI passed nested field directly, wrapped it as {${paramName}: ...}`
|
|
1855
|
+
);
|
|
1856
|
+
body = wrapped;
|
|
1857
|
+
} else {
|
|
1858
|
+
body = paramValue;
|
|
1859
|
+
}
|
|
1860
|
+
} else {
|
|
1861
|
+
body = paramValue;
|
|
1862
|
+
}
|
|
1863
|
+
} else {
|
|
1864
|
+
body = paramValue;
|
|
1865
|
+
}
|
|
1866
|
+
break;
|
|
1867
|
+
case "Header":
|
|
1868
|
+
headers[fixedParamName] = `${paramValue}`;
|
|
1869
|
+
break;
|
|
1870
|
+
}
|
|
1871
|
+
} else if (paramName === "body") {
|
|
1872
|
+
body = paramValue;
|
|
1873
|
+
logger.info(`Set body param: ${JSON.stringify(body)}`);
|
|
1874
|
+
} else if (path2.includes(`:${paramName}`) || path2.includes(`{${paramName}}`) || path2.includes(`:${camelCaseParamName}`) || path2.includes(`{${camelCaseParamName}}`)) {
|
|
1875
|
+
const encodedValue = encodeURIComponent(
|
|
1876
|
+
escapeIfStringLiteral(tool.path, [paramName, camelCaseParamName], paramValue)
|
|
1877
|
+
).replace(/%3D/g, "=");
|
|
1878
|
+
path2 = path2.replace(`{${paramName}}`, () => encodedValue).replace(`:${paramName}`, () => encodedValue).replace(`{${camelCaseParamName}}`, () => encodedValue).replace(`:${camelCaseParamName}`, () => encodedValue);
|
|
1879
|
+
logger.info(`Path param fallback: replaced :${camelCaseParamName} with encoded value`);
|
|
1880
|
+
} else if (paramName.toLowerCase() === "accept" && config?.acceptType) {
|
|
1881
|
+
headers["Accept"] = `${paramValue}`;
|
|
1882
|
+
} else if (isOdataParam) {
|
|
1883
|
+
queryParams[fixedParamName] = `${paramValue}`;
|
|
1884
|
+
logger.info(`OData param fallback: forwarded ${fixedParamName}=${paramValue}`);
|
|
1885
|
+
} else if (bodyShape && (hasOwn(bodyShape, paramName) || hasOwn(bodyShape, camelCaseParamName)) && !READ_ONLY_BODY_FIELDS.has(hasOwn(bodyShape, paramName) ? paramName : camelCaseParamName)) {
|
|
1886
|
+
const fieldName = hasOwn(bodyShape, paramName) ? paramName : camelCaseParamName;
|
|
1887
|
+
strayBodyFields[fieldName] = paramValue;
|
|
1888
|
+
logger.info(
|
|
1889
|
+
`Body field fallback: merging top-level param '${fieldName}' into request body`
|
|
1890
|
+
);
|
|
1891
|
+
} else {
|
|
1892
|
+
logger.warn(`Dropping unrecognized parameter '${paramName}' for tool ${tool.alias}`);
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
if (!isUnalteredGraphPath(path2)) {
|
|
1896
|
+
return invalidPathParameter(
|
|
1897
|
+
'A path parameter would send this request to a different endpoint. Path parameters cannot be "." or "..", or contain "/../", "?", "#" or a backslash. Percent-encode "?" and "#" that are part of a name.'
|
|
1898
|
+
);
|
|
1899
|
+
}
|
|
1900
|
+
if (isPlainObject(body) && bodyShape != null && hasOwn(bodyShape, "body") && !Object.keys(body).some((k) => k.toLowerCase() === "body")) {
|
|
1901
|
+
const nestedShape = bodySchemaShape(bodyShape.body);
|
|
1902
|
+
if (nestedShape != null) {
|
|
1903
|
+
const nestedKeys = new Set(Object.keys(nestedShape).map((k) => k.toLowerCase()));
|
|
1904
|
+
const outerKeys = new Set(Object.keys(bodyShape).map((k) => k.toLowerCase()));
|
|
1905
|
+
const nested = /* @__PURE__ */ Object.create(null);
|
|
1906
|
+
const kept = /* @__PURE__ */ Object.create(null);
|
|
1907
|
+
const annotations = /* @__PURE__ */ Object.create(null);
|
|
1908
|
+
for (const [key, value] of Object.entries(body)) {
|
|
1909
|
+
const lower = key.toLowerCase();
|
|
1910
|
+
if (key.startsWith("@")) {
|
|
1911
|
+
if (lower === "@odata.type" && namesNestedBodyType(value)) {
|
|
1912
|
+
annotations[key] = value;
|
|
1913
|
+
} else {
|
|
1914
|
+
kept[key] = value;
|
|
1915
|
+
}
|
|
1916
|
+
} else if (nestedKeys.has(lower) && !outerKeys.has(lower)) {
|
|
1917
|
+
nested[key] = value;
|
|
1918
|
+
} else {
|
|
1919
|
+
kept[key] = value;
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
if (Object.keys(nested).length > 0) {
|
|
1923
|
+
body = { ...kept, body: { ...nested, ...annotations } };
|
|
1924
|
+
logger.info(
|
|
1925
|
+
`Moved misplaced fields into nested 'body' for ${tool.alias}: ${Object.keys(nested).join(", ")}`
|
|
1926
|
+
);
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
if (Object.keys(strayBodyFields).length > 0) {
|
|
1931
|
+
if (isPlainObject(body)) {
|
|
1932
|
+
body = { ...strayBodyFields, ...body };
|
|
1933
|
+
logger.info(`Merged flattened body fields: ${Object.keys(strayBodyFields).join(", ")}`);
|
|
1934
|
+
} else if (body == null) {
|
|
1935
|
+
body = strayBodyFields;
|
|
1936
|
+
logger.info(`Merged flattened body fields: ${Object.keys(strayBodyFields).join(", ")}`);
|
|
1937
|
+
} else {
|
|
1938
|
+
logger.warn(
|
|
1939
|
+
`Cannot merge flattened body fields (${Object.keys(strayBodyFields).join(", ")}) into non-object request body; dropping them`
|
|
1940
|
+
);
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
if (config?.mentionShorthand) {
|
|
1944
|
+
const rewritten = rewriteMentionShorthand(body);
|
|
1945
|
+
if (rewritten.error) {
|
|
1946
|
+
return {
|
|
1947
|
+
content: [{ type: "text", text: JSON.stringify({ error: rewritten.error }) }],
|
|
1948
|
+
isError: true
|
|
1949
|
+
};
|
|
1950
|
+
}
|
|
1951
|
+
body = rewritten.body;
|
|
1952
|
+
}
|
|
1953
|
+
const skiptokenError = normalizeSkiptokenQueryParam(queryParams, tool.alias);
|
|
1954
|
+
if (skiptokenError) return skiptokenError;
|
|
1955
|
+
clampTopQueryParam(queryParams);
|
|
1956
|
+
const searchError = normalizeSearchQueryParam(queryParams, tool.path, tool.alias);
|
|
1957
|
+
if (searchError) return searchError;
|
|
1958
|
+
const preferValues = [];
|
|
1959
|
+
if (config?.supportsTimezone && params.timezone) {
|
|
1960
|
+
preferValues.push(`outlook.timezone="${params.timezone}"`);
|
|
1961
|
+
logger.info(`Setting timezone preference: outlook.timezone="${params.timezone}"`);
|
|
1962
|
+
}
|
|
1963
|
+
const bodyFormat = process.env.MS365_MCP_BODY_FORMAT || "text";
|
|
1964
|
+
if (bodyFormat !== "html" && tool.method.toUpperCase() === "GET") {
|
|
1965
|
+
preferValues.push(`outlook.body-content-type="${bodyFormat}"`);
|
|
1966
|
+
}
|
|
1967
|
+
if (preferValues.length > 0) {
|
|
1968
|
+
headers["Prefer"] = preferValues.join(", ");
|
|
1969
|
+
}
|
|
1970
|
+
if (config?.supportsExpandExtendedProperties && params.expandExtendedProperties === true) {
|
|
1971
|
+
const expandValue = "singleValueExtendedProperties";
|
|
1972
|
+
if (queryParams["$expand"]) {
|
|
1973
|
+
queryParams["$expand"] += `,${expandValue}`;
|
|
1974
|
+
} else {
|
|
1975
|
+
queryParams["$expand"] = expandValue;
|
|
1976
|
+
}
|
|
1977
|
+
logger.info(`Adding $expand=${expandValue} for extended properties`);
|
|
1978
|
+
}
|
|
1979
|
+
if (config?.contentType) {
|
|
1980
|
+
headers["Content-Type"] = config.contentType;
|
|
1981
|
+
logger.info(`Setting custom Content-Type: ${config.contentType}`);
|
|
1982
|
+
}
|
|
1983
|
+
if (config?.acceptType && !headers["Accept"]) {
|
|
1984
|
+
headers["Accept"] = config.acceptType;
|
|
1985
|
+
logger.info(`Setting custom Accept: ${config.acceptType}`);
|
|
1986
|
+
}
|
|
1987
|
+
const requestedSelect = parseSelectFields(queryParams["$select"]);
|
|
1988
|
+
const enforcement = userFields === void 0 ? "none" : userFieldEnforcement(path2);
|
|
1989
|
+
const isUserFieldBoundary = enforcement !== "none";
|
|
1990
|
+
const boundaryFields = isUserFieldBoundary && userFields !== void 0 ? restrictUserFieldQuery(queryParams, userFields, enforcement) : [];
|
|
1991
|
+
if (userFields !== void 0 && shouldStripUserFieldExpand(path2)) {
|
|
1992
|
+
delete queryParams["$expand"];
|
|
1993
|
+
}
|
|
1994
|
+
if (isUserFieldBoundary) {
|
|
1995
|
+
logger.info(
|
|
1996
|
+
`Restricting ${tool.alias} to configured user fields (${enforcement}): ${boundaryFields}`
|
|
1997
|
+
);
|
|
1998
|
+
}
|
|
1999
|
+
let batchRestricted = /* @__PURE__ */ new Map();
|
|
2000
|
+
if (userFields !== void 0) {
|
|
2001
|
+
const restrictedBatch = restrictBatchSubrequests(body, userFields);
|
|
2002
|
+
body = restrictedBatch.body;
|
|
2003
|
+
batchRestricted = restrictedBatch.restricted;
|
|
2004
|
+
}
|
|
2005
|
+
const projectionSelect = isUserFieldBoundary ? boundaryFields : requestedSelect;
|
|
2006
|
+
const keepFields = [
|
|
2007
|
+
.../* @__PURE__ */ new Set([...projectionSelect, ...parseSelectFields(queryParams["$expand"])])
|
|
2008
|
+
];
|
|
2009
|
+
if (Object.keys(queryParams).length > 0) {
|
|
2010
|
+
const queryString = Object.entries(queryParams).map(([key, value]) => `${key}=${encodeURIComponent(value).replace(/%2C/gi, ",")}`).join("&");
|
|
2011
|
+
path2 = `${path2}${path2.includes("?") ? "&" : "?"}${queryString}`;
|
|
2012
|
+
}
|
|
2013
|
+
const options = {
|
|
2014
|
+
method: tool.method.toUpperCase(),
|
|
2015
|
+
headers
|
|
2016
|
+
};
|
|
2017
|
+
if (config?.blobOutput && isBlobOutputEnabled()) {
|
|
2018
|
+
options.forceBinary = true;
|
|
2019
|
+
options.maxBytes = getBlobMaxBytes();
|
|
2020
|
+
options.blobOutput = {
|
|
2021
|
+
fileName: typeof params.fileName === "string" ? params.fileName : void 0
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
2024
|
+
if (config?.apiVersion) {
|
|
2025
|
+
options.apiVersion = config.apiVersion;
|
|
2026
|
+
}
|
|
2027
|
+
if (options.method !== "GET" && body) {
|
|
2028
|
+
if (tool.requestFormat === "binary" && typeof body === "string") {
|
|
2029
|
+
options.body = Buffer.from(body, "base64");
|
|
2030
|
+
if (!config?.contentType) {
|
|
2031
|
+
headers["Content-Type"] = "application/octet-stream";
|
|
2032
|
+
}
|
|
2033
|
+
} else if (config?.contentType === "text/html") {
|
|
2034
|
+
if (typeof body === "string") {
|
|
2035
|
+
options.body = body;
|
|
2036
|
+
} else if (typeof body === "object" && "content" in body) {
|
|
2037
|
+
options.body = body.content;
|
|
2038
|
+
} else {
|
|
2039
|
+
options.body = String(body);
|
|
2040
|
+
}
|
|
2041
|
+
} else {
|
|
2042
|
+
options.body = typeof body === "string" ? body : JSON.stringify(body);
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
const isProbablyMediaContent = tool.errors?.some((error) => error.description === "Retrieved media content") || path2.endsWith("/content");
|
|
2046
|
+
if (config?.returnDownloadUrl && path2.endsWith("/content")) {
|
|
2047
|
+
path2 = path2.replace(/\/content$/, "");
|
|
2048
|
+
logger.info(
|
|
2049
|
+
`Auto-returning download URL for ${tool.alias} (returnDownloadUrl=true in endpoints.json)`
|
|
2050
|
+
);
|
|
2051
|
+
} else if (isProbablyMediaContent) {
|
|
2052
|
+
options.rawResponse = true;
|
|
2053
|
+
}
|
|
2054
|
+
if (params.includeHeaders === true) {
|
|
2055
|
+
options.includeHeaders = true;
|
|
2056
|
+
}
|
|
2057
|
+
if (params.excludeResponse === true) {
|
|
2058
|
+
options.excludeResponse = true;
|
|
2059
|
+
}
|
|
2060
|
+
if (accountAccessToken) {
|
|
2061
|
+
options.accessToken = accountAccessToken;
|
|
2062
|
+
}
|
|
2063
|
+
targetResource = deriveTargetResource({
|
|
2064
|
+
pathPattern: config?.pathPattern ?? tool.path,
|
|
2065
|
+
params
|
|
2066
|
+
});
|
|
2067
|
+
const { accessToken: _redacted, ...safeOptions } = options;
|
|
2068
|
+
logger.info(
|
|
2069
|
+
`Making graph request to ${path2} with options: ${JSON.stringify(safeOptions)}${_redacted ? " [accessToken=REDACTED]" : ""}`
|
|
2070
|
+
);
|
|
2071
|
+
const fetchAllPages = params.fetchAllPages === true;
|
|
2072
|
+
const paginationEnabled = paginationAllowed();
|
|
2073
|
+
if (fetchAllPages && !paginationEnabled) {
|
|
2074
|
+
logger.info(
|
|
2075
|
+
"fetchAllPages requested but MS365_MCP_ALLOW_PAGINATION is disabled; returning first page only"
|
|
2076
|
+
);
|
|
2077
|
+
}
|
|
2078
|
+
const mergePages = fetchAllPages && paginationEnabled;
|
|
2079
|
+
const willProject = (requestedSelect.length > 0 || isUserFieldBoundary) && params.excludeResponse !== true;
|
|
2080
|
+
const willProjectBatch = batchRestricted.size > 0 && params.excludeResponse !== true;
|
|
2081
|
+
const willFilterMembers = memberNameFilter !== void 0 && memberNameFilter.trim() !== "" && params.excludeResponse !== true;
|
|
2082
|
+
if (mergePages || willProject || willProjectBatch || willFilterMembers) {
|
|
2083
|
+
options.forceJsonOutput = true;
|
|
2084
|
+
}
|
|
2085
|
+
let response = await graphClient.graphRequest(path2, options);
|
|
2086
|
+
const shouldProject = willProject && !response?.isError;
|
|
2087
|
+
let projectionHandled = false;
|
|
2088
|
+
let memberFilterHandled = false;
|
|
2089
|
+
const applyMemberFilter = (body2) => {
|
|
2090
|
+
if (!willFilterMembers) return body2;
|
|
2091
|
+
memberFilterHandled = true;
|
|
2092
|
+
const filtered = filterMembersByName(body2, memberNameFilter);
|
|
2093
|
+
if (isPlainObject(filtered) && Array.isArray(filtered.value) && response._meta) {
|
|
2094
|
+
response._meta = { ...response._meta, result_count: filtered.value.length };
|
|
2095
|
+
}
|
|
2096
|
+
return filtered;
|
|
2097
|
+
};
|
|
2098
|
+
const applyProjection = (body2) => {
|
|
2099
|
+
if (isTransportEnvelope(body2)) {
|
|
2100
|
+
logger.info("Skipping $select projection: body is a transport envelope, not a resource");
|
|
2101
|
+
return body2;
|
|
2102
|
+
}
|
|
2103
|
+
if (!isUserFieldBoundary && !anyFieldPresent(body2, projectionSelect)) {
|
|
2104
|
+
logger.warn(
|
|
2105
|
+
`None of the requested $select fields (${projectionSelect.join(",")}) appear in the response; returning it untrimmed`
|
|
2106
|
+
);
|
|
2107
|
+
return body2;
|
|
2108
|
+
}
|
|
2109
|
+
return projectSelectedFields(body2, keepFields, isUserFieldBoundary);
|
|
2110
|
+
};
|
|
2111
|
+
if (mergePages && response?.content?.[0]?.text) {
|
|
2112
|
+
let combinedResponse;
|
|
2113
|
+
try {
|
|
2114
|
+
combinedResponse = JSON.parse(response.content[0].text);
|
|
2115
|
+
const firstValue = combinedResponse.value;
|
|
2116
|
+
if (Array.isArray(firstValue)) {
|
|
2117
|
+
let allItems = firstValue;
|
|
2118
|
+
let nextLink = combinedResponse["@odata.nextLink"];
|
|
2119
|
+
let pageCount = 1;
|
|
2120
|
+
let totalResponseBytes = response._meta?.response_bytes;
|
|
2121
|
+
const maxPages = positiveIntFromEnv("MS365_MCP_MAX_PAGES", DEFAULT_MAX_PAGES);
|
|
2122
|
+
const maxItems = positiveIntFromEnv("MS365_MCP_MAX_ITEMS", DEFAULT_MAX_ITEMS);
|
|
2123
|
+
let deltaLink = combinedResponse["@odata.deltaLink"];
|
|
2124
|
+
let unmergeablePage = false;
|
|
2125
|
+
while (nextLink && pageCount < maxPages && allItems.length < maxItems) {
|
|
2126
|
+
logger.info(`Fetching page ${pageCount + 1} from: ${nextLink}`);
|
|
2127
|
+
const url = new URL(nextLink);
|
|
2128
|
+
const nextPath = url.pathname.replace(/^\/(v1\.0|beta)/, "") + url.search;
|
|
2129
|
+
const nextOptions = { ...options };
|
|
2130
|
+
const nextResponse = await graphClient.graphRequest(nextPath, nextOptions);
|
|
2131
|
+
if (nextResponse?.isError) {
|
|
2132
|
+
response = nextResponse;
|
|
2133
|
+
combinedResponse = void 0;
|
|
2134
|
+
break;
|
|
2135
|
+
}
|
|
2136
|
+
if (nextResponse?.content?.[0]?.text) {
|
|
2137
|
+
const nextJsonResponse = JSON.parse(nextResponse.content[0].text);
|
|
2138
|
+
if (!Array.isArray(nextJsonResponse.value)) {
|
|
2139
|
+
logger.warn(
|
|
2140
|
+
`Pagination stopped at page ${pageCount + 1}: response was not a collection`
|
|
2141
|
+
);
|
|
2142
|
+
unmergeablePage = true;
|
|
2143
|
+
break;
|
|
2144
|
+
}
|
|
2145
|
+
allItems = allItems.concat(nextJsonResponse.value);
|
|
2146
|
+
nextLink = nextJsonResponse["@odata.nextLink"];
|
|
2147
|
+
if (typeof totalResponseBytes === "number" && typeof nextResponse._meta?.response_bytes === "number") {
|
|
2148
|
+
totalResponseBytes += nextResponse._meta.response_bytes;
|
|
2149
|
+
}
|
|
2150
|
+
if (nextJsonResponse["@odata.deltaLink"]) {
|
|
2151
|
+
deltaLink = nextJsonResponse["@odata.deltaLink"];
|
|
2152
|
+
}
|
|
2153
|
+
pageCount++;
|
|
2154
|
+
} else {
|
|
2155
|
+
unmergeablePage = true;
|
|
2156
|
+
break;
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
if (combinedResponse !== void 0) {
|
|
2160
|
+
if (pageCount >= maxPages) {
|
|
2161
|
+
logger.warn(`Reached maximum page limit (${maxPages}) for pagination`);
|
|
2162
|
+
}
|
|
2163
|
+
if (allItems.length >= maxItems) {
|
|
2164
|
+
logger.warn(
|
|
2165
|
+
`Reached maximum item limit (${maxItems}) for pagination \u2014 truncated at ${allItems.length} items`
|
|
2166
|
+
);
|
|
2167
|
+
}
|
|
2168
|
+
combinedResponse.value = allItems;
|
|
2169
|
+
if (unmergeablePage && nextLink) {
|
|
2170
|
+
combinedResponse["@odata.nextLink"] = nextLink;
|
|
2171
|
+
} else {
|
|
2172
|
+
delete combinedResponse["@odata.nextLink"];
|
|
2173
|
+
}
|
|
2174
|
+
response._meta = {
|
|
2175
|
+
...response._meta,
|
|
2176
|
+
result_count: allItems.length,
|
|
2177
|
+
result_has_more: Boolean(nextLink),
|
|
2178
|
+
...totalResponseBytes !== void 0 ? { response_bytes: totalResponseBytes } : {}
|
|
2179
|
+
};
|
|
2180
|
+
if (deltaLink) {
|
|
2181
|
+
combinedResponse["@odata.deltaLink"] = deltaLink;
|
|
2182
|
+
}
|
|
2183
|
+
logger.info(
|
|
2184
|
+
`Pagination ${nextLink ? "incomplete" : "complete"}: collected ${allItems.length} items across ${pageCount} pages`
|
|
2185
|
+
);
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
} catch (e) {
|
|
2189
|
+
logger.error(`Error during pagination: ${e}`);
|
|
2190
|
+
}
|
|
2191
|
+
if (combinedResponse !== void 0) {
|
|
2192
|
+
const merged = applyMemberFilter(
|
|
2193
|
+
shouldProject ? applyProjection(combinedResponse) : combinedResponse
|
|
2194
|
+
);
|
|
2195
|
+
projectionHandled = shouldProject;
|
|
2196
|
+
response.content[0].text = graphClient.serialize(merged);
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
if (shouldProject && !projectionHandled && !response?.isError && response?.content?.[0]?.text) {
|
|
2200
|
+
try {
|
|
2201
|
+
const parsed = JSON.parse(response.content[0].text);
|
|
2202
|
+
response.content[0].text = graphClient.serialize(
|
|
2203
|
+
applyMemberFilter(applyProjection(parsed))
|
|
2204
|
+
);
|
|
2205
|
+
} catch {
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
if (willProjectBatch && !response?.isError && response?.content?.[0]?.text) {
|
|
2209
|
+
try {
|
|
2210
|
+
const parsed = JSON.parse(response.content[0].text);
|
|
2211
|
+
response.content[0].text = graphClient.serialize(
|
|
2212
|
+
projectBatchSubresponses(parsed, batchRestricted)
|
|
2213
|
+
);
|
|
2214
|
+
} catch {
|
|
2215
|
+
}
|
|
2216
|
+
}
|
|
2217
|
+
if (willFilterMembers && !memberFilterHandled && !response?.isError && response?.content?.[0]?.text) {
|
|
2218
|
+
try {
|
|
2219
|
+
response.content[0].text = graphClient.serialize(
|
|
2220
|
+
applyMemberFilter(JSON.parse(response.content[0].text))
|
|
2221
|
+
);
|
|
2222
|
+
} catch {
|
|
2223
|
+
}
|
|
2224
|
+
}
|
|
2225
|
+
if (response?.content?.[0]?.text) {
|
|
2226
|
+
const responseText = response.content[0].text;
|
|
2227
|
+
logger.info(`Response size: ${responseText.length} characters`);
|
|
2228
|
+
try {
|
|
2229
|
+
const jsonResponse = JSON.parse(responseText);
|
|
2230
|
+
if (jsonResponse.value && Array.isArray(jsonResponse.value)) {
|
|
2231
|
+
logger.info(`Response contains ${jsonResponse.value.length} items`);
|
|
2232
|
+
}
|
|
2233
|
+
if (jsonResponse["@odata.nextLink"]) {
|
|
2234
|
+
logger.info(`Response has pagination nextLink: ${jsonResponse["@odata.nextLink"]}`);
|
|
2235
|
+
}
|
|
2236
|
+
} catch {
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
const content = response.content.map(
|
|
2240
|
+
(item) => item.type === "resource" ? item : { type: "text", text: item.text }
|
|
2241
|
+
);
|
|
2242
|
+
auditLog({
|
|
2243
|
+
event: "tool.call",
|
|
2244
|
+
request_id: requestId,
|
|
2245
|
+
user_principal_name: upn,
|
|
2246
|
+
tool: tool.alias,
|
|
2247
|
+
http_method: httpMethod,
|
|
2248
|
+
status: response.isError ? "error" : "success",
|
|
2249
|
+
duration_ms: Date.now() - startTime,
|
|
2250
|
+
...targetResource ? { target_resource: targetResource } : {},
|
|
2251
|
+
...graphResponseAuditFields(response),
|
|
2252
|
+
...recipientAuditFields(body)
|
|
2253
|
+
});
|
|
2254
|
+
return {
|
|
2255
|
+
content,
|
|
2256
|
+
_meta: response._meta,
|
|
2257
|
+
isError: response.isError
|
|
2258
|
+
};
|
|
2259
|
+
} catch (error) {
|
|
2260
|
+
const err = error;
|
|
2261
|
+
logger.error(`Error in tool ${tool.alias}: ${error.message}`);
|
|
2262
|
+
auditLog({
|
|
2263
|
+
event: "tool.call",
|
|
2264
|
+
request_id: requestId,
|
|
2265
|
+
user_principal_name: upn,
|
|
2266
|
+
tool: tool.alias,
|
|
2267
|
+
http_method: httpMethod,
|
|
2268
|
+
status: "error",
|
|
2269
|
+
duration_ms: Date.now() - startTime,
|
|
2270
|
+
...targetResource ? { target_resource: targetResource } : {},
|
|
2271
|
+
error_type: err?.name || "Error",
|
|
2272
|
+
...thrownErrorAuditFields(error),
|
|
2273
|
+
...recipientAuditFields(body)
|
|
2274
|
+
});
|
|
2275
|
+
return {
|
|
2276
|
+
content: [
|
|
2277
|
+
{
|
|
2278
|
+
type: "text",
|
|
2279
|
+
text: JSON.stringify({
|
|
2280
|
+
error: `Error in tool ${tool.alias}: ${error.message}`
|
|
2281
|
+
})
|
|
2282
|
+
}
|
|
2283
|
+
],
|
|
2284
|
+
isError: true
|
|
2285
|
+
};
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
function registerGraphTools(server, graphClient, options = {}) {
|
|
2289
|
+
const {
|
|
2290
|
+
readOnly = false,
|
|
2291
|
+
enabledTools: enabledToolsPattern,
|
|
2292
|
+
orgMode = false,
|
|
2293
|
+
authManager,
|
|
2294
|
+
multiAccount = false,
|
|
2295
|
+
accountNames = [],
|
|
2296
|
+
allowedScopes: allowedScopesValue,
|
|
2297
|
+
httpMode = false,
|
|
2298
|
+
userFields: userFieldsValue
|
|
2299
|
+
} = options;
|
|
2300
|
+
const userFields = parseUserFields(userFieldsValue);
|
|
2301
|
+
let enabledToolsRegex;
|
|
2302
|
+
if (enabledToolsPattern) {
|
|
2303
|
+
try {
|
|
2304
|
+
enabledToolsRegex = new RegExp(enabledToolsPattern, "i");
|
|
2305
|
+
logger.info(`Tool filtering enabled with pattern: ${enabledToolsPattern}`);
|
|
2306
|
+
} catch {
|
|
2307
|
+
logger.error(`Invalid tool filter regex pattern: ${enabledToolsPattern}. Ignoring filter.`);
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
let registeredCount = 0;
|
|
2311
|
+
let skippedCount = 0;
|
|
2312
|
+
let failedCount = 0;
|
|
2313
|
+
const allowedScopes = parseAllowedScopes(allowedScopesValue);
|
|
2314
|
+
const disabledByAllowedScopes = [];
|
|
2315
|
+
const deniedTools = collectDeniedToolPolicies({
|
|
2316
|
+
readOnly,
|
|
2317
|
+
orgMode,
|
|
2318
|
+
enabledToolsRegex,
|
|
2319
|
+
allowedScopesValue,
|
|
2320
|
+
httpMode
|
|
2321
|
+
});
|
|
2322
|
+
for (const tool of allEndpoints) {
|
|
2323
|
+
const endpointConfig = endpointsData.find((e) => e.toolName === tool.alias);
|
|
2324
|
+
if (!orgMode && endpointConfig && !endpointConfig.scopes && endpointConfig.workScopes) {
|
|
2325
|
+
logger.info(`Skipping work account tool ${tool.alias} - not in org mode`);
|
|
2326
|
+
skippedCount++;
|
|
2327
|
+
continue;
|
|
2328
|
+
}
|
|
2329
|
+
const method = tool.method.toUpperCase();
|
|
2330
|
+
if (readOnly && method !== "GET") {
|
|
2331
|
+
if (!(method === "POST" && endpointConfig?.readOnly)) {
|
|
2332
|
+
logger.info(`Skipping write operation ${tool.alias} in read-only mode`);
|
|
2333
|
+
skippedCount++;
|
|
2334
|
+
continue;
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
if (enabledToolsRegex && !enabledToolsRegex.test(tool.alias)) {
|
|
2338
|
+
logger.info(`Skipping tool ${tool.alias} - doesn't match filter pattern`);
|
|
2339
|
+
skippedCount++;
|
|
2340
|
+
continue;
|
|
2341
|
+
}
|
|
2342
|
+
const missingScopes = allowedScopes !== void 0 && !endpointConfig ? ["endpoint scope metadata"] : getMissingAllowedScopesForGroups(
|
|
2343
|
+
getEndpointScopeGroups(endpointConfig, orgMode),
|
|
2344
|
+
allowedScopes
|
|
2345
|
+
);
|
|
2346
|
+
if (missingScopes.length > 0) {
|
|
2347
|
+
disabledByAllowedScopes.push({ toolName: tool.alias, missingScopes });
|
|
2348
|
+
skippedCount++;
|
|
2349
|
+
continue;
|
|
2350
|
+
}
|
|
2351
|
+
const paramSchema = {};
|
|
2352
|
+
if (tool.parameters && tool.parameters.length > 0) {
|
|
2353
|
+
for (const param of tool.parameters) {
|
|
2354
|
+
if (param.type === "Query") {
|
|
2355
|
+
const schema = queryParameterSchema(param.name, param.schema || z.any(), endpointConfig);
|
|
2356
|
+
if (schema) paramSchema[param.name] = schema;
|
|
2357
|
+
continue;
|
|
2358
|
+
}
|
|
2359
|
+
paramSchema[param.name] = param.type === "Body" && param.schema ? lenientBodySchema(param.schema) : param.schema || z.any();
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
const pathParamMatches = tool.path.matchAll(/:([a-zA-Z]+)/g);
|
|
2363
|
+
for (const match of pathParamMatches) {
|
|
2364
|
+
const pathParamName = match[1];
|
|
2365
|
+
if (!(pathParamName in paramSchema)) {
|
|
2366
|
+
paramSchema[pathParamName] = z.string().describe(describePathParam(pathParamName));
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
if (endpointConfig?.acceptType && paramSchema["Accept"] === void 0) {
|
|
2370
|
+
paramSchema["Accept"] = z.string().describe(getAcceptParamDescription(endpointConfig.acceptType)).optional();
|
|
2371
|
+
}
|
|
2372
|
+
if (endpointConfig?.blobOutput && paramSchema["fileName"] === void 0) {
|
|
2373
|
+
paramSchema["fileName"] = z.string().describe(
|
|
2374
|
+
"Name of the file, used as the last segment of the returned resource URI when the server runs with blob output. Optional."
|
|
2375
|
+
).optional();
|
|
2376
|
+
}
|
|
2377
|
+
if (isFetchAllPagesApplicable(tool)) {
|
|
2378
|
+
const maxPages = getMaxPages();
|
|
2379
|
+
paramSchema["fetchAllPages"] = z.boolean().describe(getFetchAllPagesParamDescription(maxPages, endpointConfig)).optional();
|
|
2380
|
+
}
|
|
2381
|
+
if (endpointConfig?.nameFilter) {
|
|
2382
|
+
paramSchema["name"] = z.string().describe(MEMBER_NAME_PARAM_DESCRIPTION).optional();
|
|
2383
|
+
}
|
|
2384
|
+
if (isSkiptokenApplicable(tool, Object.keys(paramSchema), endpointConfig)) {
|
|
2385
|
+
paramSchema["skiptoken"] = z.string().describe(SKIPTOKEN_PARAM_DESCRIPTION).optional();
|
|
2386
|
+
}
|
|
2387
|
+
if (multiAccount) {
|
|
2388
|
+
paramSchema["account"] = z.string().describe(getAccountParamDescription(accountNames)).optional();
|
|
2389
|
+
}
|
|
2390
|
+
paramSchema["includeHeaders"] = z.boolean().describe("Include response headers (including ETag) in the response metadata").optional();
|
|
2391
|
+
paramSchema["excludeResponse"] = z.boolean().describe("Exclude the full response body and only return success or failure indication").optional();
|
|
2392
|
+
const destructive = isDestructiveOperation(tool.method, endpointConfig);
|
|
2393
|
+
if (destructive) {
|
|
2394
|
+
paramSchema["confirm"] = z.boolean().describe(CONFIRM_PARAM_DESCRIPTION).optional();
|
|
2395
|
+
}
|
|
2396
|
+
if (endpointConfig?.supportsTimezone) {
|
|
2397
|
+
paramSchema["timezone"] = z.string().describe(TIMEZONE_PARAM_DESCRIPTION).optional();
|
|
2398
|
+
}
|
|
2399
|
+
if (endpointConfig?.supportsExpandExtendedProperties) {
|
|
2400
|
+
paramSchema["expandExtendedProperties"] = z.boolean().describe(EXPAND_EXTENDED_PROPERTIES_PARAM_DESCRIPTION).optional();
|
|
2401
|
+
}
|
|
2402
|
+
let toolDescription = withApiVersionPrefix(
|
|
2403
|
+
(endpointConfig?.descriptionOverride ?? tool.description) || `Execute ${tool.method.toUpperCase()} request to ${tool.path}`,
|
|
2404
|
+
endpointConfig
|
|
2405
|
+
);
|
|
2406
|
+
if (endpointConfig?.llmTip) {
|
|
2407
|
+
toolDescription += `
|
|
2408
|
+
|
|
2409
|
+
\u{1F4A1} TIP: ${endpointConfig.llmTip}`;
|
|
2410
|
+
}
|
|
2411
|
+
const isReadOnlyTool = tool.method.toUpperCase() === "GET" || endpointConfig?.readOnly === true;
|
|
2412
|
+
try {
|
|
2413
|
+
server.registerTool(
|
|
2414
|
+
tool.alias,
|
|
2415
|
+
{
|
|
2416
|
+
title: tool.alias,
|
|
2417
|
+
description: toolDescription,
|
|
2418
|
+
inputSchema: z.object(paramSchema).passthrough(),
|
|
2419
|
+
annotations: {
|
|
2420
|
+
title: tool.alias,
|
|
2421
|
+
readOnlyHint: isReadOnlyTool,
|
|
2422
|
+
destructiveHint: destructive,
|
|
2423
|
+
openWorldHint: true
|
|
2424
|
+
// All tools call Microsoft Graph API
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2427
|
+
async (params) => executeGraphTool(tool, endpointConfig, graphClient, params, authManager, userFields)
|
|
2428
|
+
);
|
|
2429
|
+
registeredCount++;
|
|
2430
|
+
} catch (error) {
|
|
2431
|
+
logger.error(`Failed to register tool ${tool.alias}: ${error.message}`);
|
|
2432
|
+
failedCount++;
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
if (multiAccount) {
|
|
2436
|
+
logger.info('Multi-account mode: "account" parameter injected into all tool schemas');
|
|
2437
|
+
}
|
|
2438
|
+
if (disabledByAllowedScopes.length > 0) {
|
|
2439
|
+
logger.info(
|
|
2440
|
+
`Allowed scopes disabled ${disabledByAllowedScopes.length} Graph tools: ${formatDisabledToolsForLog(disabledByAllowedScopes)}`
|
|
2441
|
+
);
|
|
2442
|
+
}
|
|
2443
|
+
const utilityCtx = {
|
|
2444
|
+
graphClient,
|
|
2445
|
+
authManager,
|
|
2446
|
+
multiAccount,
|
|
2447
|
+
accountNames,
|
|
2448
|
+
userFields
|
|
2449
|
+
};
|
|
2450
|
+
for (const utility of UTILITY_TOOLS) {
|
|
2451
|
+
if (readOnly && !utility.readOnlyHint) continue;
|
|
2452
|
+
if (httpMode && utility.stdioOnly) continue;
|
|
2453
|
+
if (utility.enabled && !utility.enabled()) continue;
|
|
2454
|
+
if (enabledToolsRegex && !enabledToolsRegex.test(utility.name)) continue;
|
|
2455
|
+
try {
|
|
2456
|
+
registerUtilityToolWithMcp(server, utility, utilityCtx);
|
|
2457
|
+
registeredCount++;
|
|
2458
|
+
} catch (error) {
|
|
2459
|
+
logger.error(`Failed to register tool ${utility.name}: ${error.message}`);
|
|
2460
|
+
failedCount++;
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
logger.info(
|
|
2464
|
+
`Tool registration complete: ${registeredCount} registered, ${skippedCount} skipped, ${failedCount} failed`
|
|
2465
|
+
);
|
|
2466
|
+
installDeniedToolAuditHandler(server, deniedTools);
|
|
2467
|
+
return registeredCount;
|
|
2468
|
+
}
|
|
2469
|
+
function buildToolsRegistry(readOnly, orgMode, enabledToolsRegex, allowedScopesValue, disabledByAllowedScopes = []) {
|
|
2470
|
+
const toolsMap = /* @__PURE__ */ new Map();
|
|
2471
|
+
const allowedScopes = parseAllowedScopes(allowedScopesValue);
|
|
2472
|
+
for (const tool of allEndpoints) {
|
|
2473
|
+
const endpointConfig = endpointsData.find((e) => e.toolName === tool.alias);
|
|
2474
|
+
if (!orgMode && endpointConfig && !endpointConfig.scopes && endpointConfig.workScopes) {
|
|
2475
|
+
continue;
|
|
2476
|
+
}
|
|
2477
|
+
const method = tool.method.toUpperCase();
|
|
2478
|
+
if (readOnly && method !== "GET") {
|
|
2479
|
+
if (!(method === "POST" && endpointConfig?.readOnly)) {
|
|
2480
|
+
continue;
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
if (enabledToolsRegex && !enabledToolsRegex.test(tool.alias)) {
|
|
2484
|
+
continue;
|
|
2485
|
+
}
|
|
2486
|
+
const missingScopes = allowedScopes !== void 0 && !endpointConfig ? ["endpoint scope metadata"] : getMissingAllowedScopesForGroups(
|
|
2487
|
+
getEndpointScopeGroups(endpointConfig, orgMode),
|
|
2488
|
+
allowedScopes
|
|
2489
|
+
);
|
|
2490
|
+
if (missingScopes.length > 0) {
|
|
2491
|
+
disabledByAllowedScopes.push({ toolName: tool.alias, missingScopes });
|
|
2492
|
+
continue;
|
|
2493
|
+
}
|
|
2494
|
+
toolsMap.set(tool.alias, { tool, config: endpointConfig });
|
|
2495
|
+
}
|
|
2496
|
+
return toolsMap;
|
|
2497
|
+
}
|
|
2498
|
+
function buildDiscoverySearchIndex(toolsRegistry, utilityTools = []) {
|
|
2499
|
+
const TIP_EXCERPT_TOKENS = 12;
|
|
2500
|
+
const DESC_CAP_TOKENS = 40;
|
|
2501
|
+
const docs = [];
|
|
2502
|
+
const nameTokens = /* @__PURE__ */ new Map();
|
|
2503
|
+
for (const [name, { tool, config }] of toolsRegistry) {
|
|
2504
|
+
const nt = tokenize(name);
|
|
2505
|
+
nameTokens.set(name, new Set(nt));
|
|
2506
|
+
const pathTokens = tokenize(tool.path);
|
|
2507
|
+
const descTokens = tokenize(config?.descriptionOverride ?? tool.description).slice(
|
|
2508
|
+
0,
|
|
2509
|
+
DESC_CAP_TOKENS
|
|
2510
|
+
);
|
|
2511
|
+
const tipTokens = tokenize(config?.llmTip).slice(0, TIP_EXCERPT_TOKENS);
|
|
2512
|
+
const tokens = [
|
|
2513
|
+
...nt,
|
|
2514
|
+
...nt,
|
|
2515
|
+
...nt,
|
|
2516
|
+
...nt,
|
|
2517
|
+
...nt,
|
|
2518
|
+
...pathTokens,
|
|
2519
|
+
...pathTokens,
|
|
2520
|
+
...tipTokens,
|
|
2521
|
+
...descTokens
|
|
2522
|
+
];
|
|
2523
|
+
docs.push({ id: name, tokens });
|
|
2524
|
+
}
|
|
2525
|
+
for (const utility of utilityTools) {
|
|
2526
|
+
const nt = tokenize(utility.name);
|
|
2527
|
+
nameTokens.set(utility.name, new Set(nt));
|
|
2528
|
+
const pathTokens = tokenize(utility.path);
|
|
2529
|
+
const keywordTokens = tokenize(utility.searchKeywords);
|
|
2530
|
+
const descTokens = tokenize(utility.description).slice(0, DESC_CAP_TOKENS);
|
|
2531
|
+
const tokens = [
|
|
2532
|
+
...nt,
|
|
2533
|
+
...nt,
|
|
2534
|
+
...nt,
|
|
2535
|
+
...nt,
|
|
2536
|
+
...nt,
|
|
2537
|
+
...pathTokens,
|
|
2538
|
+
...pathTokens,
|
|
2539
|
+
...keywordTokens,
|
|
2540
|
+
...keywordTokens,
|
|
2541
|
+
...descTokens
|
|
2542
|
+
];
|
|
2543
|
+
docs.push({ id: utility.name, tokens });
|
|
2544
|
+
}
|
|
2545
|
+
return { bm25: buildBM25Index(docs), nameTokens };
|
|
2546
|
+
}
|
|
2547
|
+
function scoreDiscoveryQuery(query, index) {
|
|
2548
|
+
const queryTokenSet = new Set(tokenize(query));
|
|
2549
|
+
if (queryTokenSet.size === 0) return [];
|
|
2550
|
+
const ranked = scoreQuery(query, index.bm25);
|
|
2551
|
+
const NAME_BONUS_WEIGHT = 2;
|
|
2552
|
+
for (const r of ranked) {
|
|
2553
|
+
const nt = index.nameTokens.get(r.id);
|
|
2554
|
+
if (!nt || nt.size === 0) continue;
|
|
2555
|
+
let matchedIdf = 0;
|
|
2556
|
+
let matchedCount = 0;
|
|
2557
|
+
for (const qt of queryTokenSet) {
|
|
2558
|
+
if (nt.has(qt)) {
|
|
2559
|
+
matchedCount++;
|
|
2560
|
+
matchedIdf += index.bm25.idf.get(qt) ?? 0;
|
|
2561
|
+
}
|
|
2562
|
+
}
|
|
2563
|
+
if (matchedCount === 0) continue;
|
|
2564
|
+
const precision = matchedCount / nt.size;
|
|
2565
|
+
r.score += precision * matchedIdf * NAME_BONUS_WEIGHT;
|
|
2566
|
+
}
|
|
2567
|
+
ranked.sort((a, b) => b.score - a.score);
|
|
2568
|
+
return ranked;
|
|
2569
|
+
}
|
|
2570
|
+
function registerDiscoveryTools(server, graphClient, options = {}) {
|
|
2571
|
+
const {
|
|
2572
|
+
readOnly = false,
|
|
2573
|
+
enabledTools,
|
|
2574
|
+
orgMode = false,
|
|
2575
|
+
authManager,
|
|
2576
|
+
multiAccount = false,
|
|
2577
|
+
accountNames = [],
|
|
2578
|
+
allowedScopes: allowedScopesValue,
|
|
2579
|
+
httpMode = false,
|
|
2580
|
+
userFields: userFieldsValue
|
|
2581
|
+
} = options;
|
|
2582
|
+
const userFields = parseUserFields(userFieldsValue);
|
|
2583
|
+
let enabledToolsRegex;
|
|
2584
|
+
if (enabledTools) {
|
|
2585
|
+
try {
|
|
2586
|
+
enabledToolsRegex = new RegExp(enabledTools, "i");
|
|
2587
|
+
logger.info(`Discovery mode: filtering tools with pattern ${enabledTools}`);
|
|
2588
|
+
} catch (error) {
|
|
2589
|
+
logger.error(
|
|
2590
|
+
`Invalid --enabled-tools regex ${JSON.stringify(enabledTools)} \u2014 ignoring filter: ${error.message}`
|
|
2591
|
+
);
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
const disabledByAllowedScopes = [];
|
|
2595
|
+
const deniedTools = collectDeniedToolPolicies({
|
|
2596
|
+
readOnly,
|
|
2597
|
+
orgMode,
|
|
2598
|
+
enabledToolsRegex,
|
|
2599
|
+
allowedScopesValue,
|
|
2600
|
+
httpMode
|
|
2601
|
+
});
|
|
2602
|
+
const toolsRegistry = buildToolsRegistry(
|
|
2603
|
+
readOnly,
|
|
2604
|
+
orgMode,
|
|
2605
|
+
enabledToolsRegex,
|
|
2606
|
+
allowedScopesValue,
|
|
2607
|
+
disabledByAllowedScopes
|
|
2608
|
+
);
|
|
2609
|
+
if (disabledByAllowedScopes.length > 0) {
|
|
2610
|
+
logger.info(
|
|
2611
|
+
`Discovery mode: allowed scopes disabled ${disabledByAllowedScopes.length} Graph tools: ${formatDisabledToolsForLog(disabledByAllowedScopes)}`
|
|
2612
|
+
);
|
|
2613
|
+
}
|
|
2614
|
+
const utilityTools = UTILITY_TOOLS.filter((u) => {
|
|
2615
|
+
if (readOnly && !u.readOnlyHint) return false;
|
|
2616
|
+
if (httpMode && u.stdioOnly) return false;
|
|
2617
|
+
if (u.enabled && !u.enabled()) return false;
|
|
2618
|
+
if (enabledToolsRegex && !enabledToolsRegex.test(u.name)) return false;
|
|
2619
|
+
return true;
|
|
2620
|
+
});
|
|
2621
|
+
const searchIndex = buildDiscoverySearchIndex(toolsRegistry, utilityTools);
|
|
2622
|
+
const totalCount = toolsRegistry.size + utilityTools.length;
|
|
2623
|
+
logger.info(
|
|
2624
|
+
`Discovery mode: ${totalCount} tools (${toolsRegistry.size} Graph + ${utilityTools.length} utility)`
|
|
2625
|
+
);
|
|
2626
|
+
const utilityCtx = {
|
|
2627
|
+
graphClient,
|
|
2628
|
+
authManager,
|
|
2629
|
+
multiAccount,
|
|
2630
|
+
accountNames,
|
|
2631
|
+
userFields
|
|
2632
|
+
};
|
|
2633
|
+
const utilityByName = new Map(utilityTools.map((u) => [u.name, u]));
|
|
2634
|
+
const categoryNames = Object.keys(TOOL_CATEGORIES).join(", ");
|
|
2635
|
+
const toResultEntry = (name) => {
|
|
2636
|
+
const entry = toolsRegistry.get(name);
|
|
2637
|
+
if (entry) {
|
|
2638
|
+
const { tool, config } = entry;
|
|
2639
|
+
return {
|
|
2640
|
+
name,
|
|
2641
|
+
method: tool.method.toUpperCase(),
|
|
2642
|
+
path: tool.path,
|
|
2643
|
+
description: withApiVersionPrefix(
|
|
2644
|
+
(config?.descriptionOverride ?? tool.description) || `${tool.method.toUpperCase()} ${tool.path}`,
|
|
2645
|
+
config
|
|
2646
|
+
),
|
|
2647
|
+
...config?.llmTip ? { llmTip: config.llmTip } : {}
|
|
2648
|
+
};
|
|
2649
|
+
}
|
|
2650
|
+
const utility = utilityByName.get(name);
|
|
2651
|
+
if (utility) {
|
|
2652
|
+
return {
|
|
2653
|
+
name: utility.name,
|
|
2654
|
+
method: utility.method,
|
|
2655
|
+
path: utility.path,
|
|
2656
|
+
description: utility.description
|
|
2657
|
+
};
|
|
2658
|
+
}
|
|
2659
|
+
return null;
|
|
2660
|
+
};
|
|
2661
|
+
server.tool(
|
|
2662
|
+
"search-tools",
|
|
2663
|
+
`Search through ${totalCount} tools (${toolsRegistry.size} Microsoft Graph API operations + ${utilityTools.length} server utilities like download-bytes). Ranks results by BM25 over tool name, llmTip, description, and path. After picking a tool, call get-tool-schema for parameters, then execute-tool.`,
|
|
2664
|
+
{
|
|
2665
|
+
query: z.string().describe(
|
|
2666
|
+
'Natural-language query. Tokenized and BM25-ranked. E.g. "send email", "download photo", "list unread messages".'
|
|
2667
|
+
).optional(),
|
|
2668
|
+
category: z.string().describe(`Optional pre-filter by category: ${categoryNames}`).optional(),
|
|
2669
|
+
limit: z.number().describe("Maximum results (default: 10, max: 50)").optional()
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
title: "search-tools",
|
|
2673
|
+
readOnlyHint: true,
|
|
2674
|
+
openWorldHint: true
|
|
2675
|
+
},
|
|
2676
|
+
async ({ query, category, limit = 10 }) => {
|
|
2677
|
+
const maxLimit = Math.min(Math.max(limit, 1), 50);
|
|
2678
|
+
const categoryDef = category ? TOOL_CATEGORIES[category] : void 0;
|
|
2679
|
+
const categoryFilter = (name) => !categoryDef || categoryDef.pattern.test(name);
|
|
2680
|
+
let orderedNames;
|
|
2681
|
+
if (query && query.trim().length > 0) {
|
|
2682
|
+
const ranked = scoreDiscoveryQuery(query, searchIndex);
|
|
2683
|
+
orderedNames = ranked.map((r) => r.id).filter(categoryFilter);
|
|
2684
|
+
} else {
|
|
2685
|
+
orderedNames = [...toolsRegistry.keys(), ...utilityTools.map((u) => u.name)].filter(
|
|
2686
|
+
categoryFilter
|
|
2687
|
+
);
|
|
2688
|
+
}
|
|
2689
|
+
const tools = orderedNames.slice(0, maxLimit).map(toResultEntry).filter(Boolean);
|
|
2690
|
+
return {
|
|
2691
|
+
content: [
|
|
2692
|
+
{
|
|
2693
|
+
type: "text",
|
|
2694
|
+
text: JSON.stringify(
|
|
2695
|
+
{
|
|
2696
|
+
found: tools.length,
|
|
2697
|
+
total: totalCount,
|
|
2698
|
+
tools,
|
|
2699
|
+
tip: "Call get-tool-schema(tool_name) to see parameters before invoking execute-tool."
|
|
2700
|
+
},
|
|
2701
|
+
null,
|
|
2702
|
+
2
|
|
2703
|
+
)
|
|
2704
|
+
}
|
|
2705
|
+
]
|
|
2706
|
+
};
|
|
2707
|
+
}
|
|
2708
|
+
);
|
|
2709
|
+
server.tool(
|
|
2710
|
+
"get-tool-schema",
|
|
2711
|
+
"Returns the full parameter schema (name, placement, required, JSON Schema) for a tool discovered via search-tools. Call this before execute-tool so you know what parameters to pass and what enum values are valid.",
|
|
2712
|
+
{
|
|
2713
|
+
tool_name: z.string().describe('Exact tool name from search-tools (e.g. "send-mail")')
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
title: "get-tool-schema",
|
|
2717
|
+
readOnlyHint: true,
|
|
2718
|
+
openWorldHint: false
|
|
2719
|
+
},
|
|
2720
|
+
async ({ tool_name }) => {
|
|
2721
|
+
const entry = toolsRegistry.get(tool_name);
|
|
2722
|
+
if (entry) {
|
|
2723
|
+
const schema = describeToolSchema(entry.tool, entry.config, { multiAccount, accountNames });
|
|
2724
|
+
return {
|
|
2725
|
+
content: [{ type: "text", text: JSON.stringify(schema, null, 2) }]
|
|
2726
|
+
};
|
|
2727
|
+
}
|
|
2728
|
+
const utility = utilityByName.get(tool_name);
|
|
2729
|
+
if (utility) {
|
|
2730
|
+
const schema = describeUtilityToolSchema(utility, utilityCtx);
|
|
2731
|
+
return {
|
|
2732
|
+
content: [{ type: "text", text: JSON.stringify(schema, null, 2) }]
|
|
2733
|
+
};
|
|
2734
|
+
}
|
|
2735
|
+
return {
|
|
2736
|
+
content: [
|
|
2737
|
+
{
|
|
2738
|
+
type: "text",
|
|
2739
|
+
text: JSON.stringify({
|
|
2740
|
+
error: `Tool not found: ${tool_name}`,
|
|
2741
|
+
tip: "Use search-tools to find available tools."
|
|
2742
|
+
})
|
|
2743
|
+
}
|
|
2744
|
+
],
|
|
2745
|
+
isError: true
|
|
2746
|
+
};
|
|
2747
|
+
}
|
|
2748
|
+
);
|
|
2749
|
+
server.tool(
|
|
2750
|
+
"execute-tool",
|
|
2751
|
+
"Execute a Microsoft Graph API tool by name. Workflow: search-tools \u2192 get-tool-schema \u2192 execute-tool. Call get-tool-schema first for any tool you have not seen before \u2014 passing the wrong shape to parameters will fail validation or return a Graph 400. For list endpoints, prefer modest $top plus $select.",
|
|
2752
|
+
{
|
|
2753
|
+
tool_name: z.string().describe('Name of the tool to execute (e.g., "list-mail-messages")'),
|
|
2754
|
+
parameters: z.record(z.any()).describe(
|
|
2755
|
+
'Parameters shaped per get-tool-schema. Path/query/header params go at the top level; request bodies go under "body".'
|
|
2756
|
+
).optional()
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
title: "execute-tool",
|
|
2760
|
+
readOnlyHint: false,
|
|
2761
|
+
destructiveHint: true,
|
|
2762
|
+
openWorldHint: true
|
|
2763
|
+
},
|
|
2764
|
+
async ({ tool_name, parameters = {} }) => {
|
|
2765
|
+
const toolData = toolsRegistry.get(tool_name);
|
|
2766
|
+
if (toolData) {
|
|
2767
|
+
return executeGraphTool(
|
|
2768
|
+
toolData.tool,
|
|
2769
|
+
toolData.config,
|
|
2770
|
+
graphClient,
|
|
2771
|
+
parameters,
|
|
2772
|
+
authManager,
|
|
2773
|
+
userFields
|
|
2774
|
+
);
|
|
2775
|
+
}
|
|
2776
|
+
const utility = utilityByName.get(tool_name);
|
|
2777
|
+
if (utility) {
|
|
2778
|
+
return executeUtilityTool(utility, utilityCtx, parameters);
|
|
2779
|
+
}
|
|
2780
|
+
const deniedPolicy = deniedTools.get(tool_name);
|
|
2781
|
+
if (deniedPolicy) {
|
|
2782
|
+
auditToolDenied(deniedPolicy, parameters);
|
|
2783
|
+
}
|
|
2784
|
+
return {
|
|
2785
|
+
content: [
|
|
2786
|
+
{
|
|
2787
|
+
type: "text",
|
|
2788
|
+
text: JSON.stringify({
|
|
2789
|
+
error: `Tool not found: ${tool_name}`,
|
|
2790
|
+
tip: "Use search-tools to find available tools."
|
|
2791
|
+
})
|
|
2792
|
+
}
|
|
2793
|
+
],
|
|
2794
|
+
isError: true
|
|
2795
|
+
};
|
|
2796
|
+
}
|
|
2797
|
+
);
|
|
2798
|
+
installDeniedToolAuditHandler(server, deniedTools);
|
|
2799
|
+
}
|
|
2800
|
+
export {
|
|
2801
|
+
UTILITY_TOOLS,
|
|
2802
|
+
buildDiscoverySearchIndex,
|
|
2803
|
+
buildToolsRegistry,
|
|
2804
|
+
filterMembersByName,
|
|
2805
|
+
isDestructiveOperation,
|
|
2806
|
+
registerDiscoveryTools,
|
|
2807
|
+
registerGraphTools,
|
|
2808
|
+
rewriteMentionShorthand,
|
|
2809
|
+
scoreDiscoveryQuery
|
|
2810
|
+
};
|