@capybara-hq/device 0.1.0-rc.13 → 0.1.0-rc.14
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 +34 -0
- package/dist/args.d.ts +12 -2
- package/dist/args.js +35 -0
- package/dist/boot-id.d.ts +17 -0
- package/dist/boot-id.js +43 -0
- package/dist/cli.d.ts +5 -0
- package/dist/cli.js +38 -0
- package/dist/client.d.ts +8 -0
- package/dist/client.js +15 -3
- package/dist/commands/ceiling.d.ts +28 -0
- package/dist/commands/ceiling.js +120 -0
- package/dist/commands/login.js +18 -4
- package/dist/commands/mode.js +7 -3
- package/dist/commands/policy.js +3 -3
- package/dist/commands/start.d.ts +16 -1
- package/dist/commands/start.js +73 -8
- package/dist/commands/status.js +2 -2
- package/dist/exec/docker-operations.d.ts +44 -0
- package/dist/exec/docker-operations.js +288 -0
- package/dist/exec/docker.d.ts +11 -0
- package/dist/exec/docker.js +22 -1
- package/dist/exec/instance-binding.d.ts +107 -0
- package/dist/exec/instance-binding.js +267 -0
- package/dist/exec/linux-agent.d.ts +27 -0
- package/dist/exec/linux-agent.js +866 -0
- package/dist/exec/linux-operation-backend.d.ts +60 -0
- package/dist/exec/linux-operation-backend.js +85 -0
- package/dist/exec/linux-operation-worker.d.ts +33 -0
- package/dist/exec/linux-operation-worker.js +304 -0
- package/dist/exec/linux-runtime.d.ts +80 -0
- package/dist/exec/linux-runtime.js +181 -0
- package/dist/exec/mac-operation-backend.d.ts +113 -0
- package/dist/exec/mac-operation-backend.js +370 -0
- package/dist/exec/mac-self-check.d.ts +37 -0
- package/dist/exec/mac-self-check.js +163 -0
- package/dist/exec/mac-write-policy.d.ts +34 -0
- package/dist/exec/mac-write-policy.js +194 -0
- package/dist/exec/native-helper-client.d.ts +46 -0
- package/dist/exec/native-helper-client.js +204 -0
- package/dist/exec/operation-supervisor.d.ts +187 -0
- package/dist/exec/operation-supervisor.js +1307 -0
- package/dist/exec/operation-types.d.ts +55 -0
- package/dist/exec/operation-types.js +164 -0
- package/dist/exec/operation-worker.d.ts +83 -0
- package/dist/exec/operation-worker.js +649 -0
- package/dist/exec/output-spool-helper.d.ts +2 -0
- package/dist/exec/output-spool-helper.js +149 -0
- package/dist/exec/output-spool.d.ts +72 -0
- package/dist/exec/output-spool.js +324 -0
- package/dist/exec/runtime-manifest.d.ts +115 -0
- package/dist/exec/runtime-manifest.js +642 -0
- package/dist/exec/runtime-source.d.ts +87 -0
- package/dist/exec/runtime-source.js +305 -0
- package/dist/exec/switch.js +6 -5
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/CAPYBARA-MODIFICATIONS.md +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/CAPYBARA-MODIFICATIONS.patch +70 -0
- package/{LICENSE → dist/node_modules/@anthropic-ai/sandbox-runtime/LICENSE} +1 -2
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/README.md +1288 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.d.ts +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js +527 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.d.ts +22 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.js +20 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/index.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.d.ts +4 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.js +119 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-cli.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.d.ts +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.js +5 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/proxy-main.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.d.ts +52 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.js +153 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/address.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.d.ts +168 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.js +250 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/aws-sigv4.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.d.ts +58 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.js +128 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/body-substitution.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.d.ts +124 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.js +258 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-aws-pairs.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.d.ts +87 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.js +138 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-decode.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.d.ts +67 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.js +113 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-extract.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.d.ts +70 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.js +171 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-env.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.d.ts +121 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.js +282 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-mask-files.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.d.ts +108 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.js +208 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/credential-sentinel.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.d.ts +130 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.js +780 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/decider-client.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.d.ts +106 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.js +221 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/domain-pattern.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.d.ts +98 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.js +194 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/emitted-connection.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.d.ts +44 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.js +220 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/generate-seccomp-filter.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.d.ts +89 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.js +230 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/glob-pattern.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.d.ts +316 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.js +920 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/http-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.d.ts +32 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.js +111 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/java-proxy-agent.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.d.ts +348 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.js +3147 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.d.ts +55 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.js +152 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/linux-violation-monitor.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.d.ts +12 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.js +43 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/listen-in-range.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.d.ts +117 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.js +1286 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/macos-sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.d.ts +209 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.js +464 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-ca.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.d.ts +28 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.js +139 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mitm-leaf.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.d.ts +64 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.js +182 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/mux-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.d.ts +13 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.js +32 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/own-files.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.d.ts +179 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.js +510 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/parent-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.d.ts +133 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.js +340 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/path-entries.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.d.ts +99 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.js +259 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/proxy-only.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.d.ts +28 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.js +176 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/read-deny-glob.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.d.ts +332 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.js +754 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/request-filter.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.d.ts +76 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.js +221 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/resolved-address-guard.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.d.ts +1967 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.js +1311 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-config.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.d.ts +188 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.js +2646 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-manager.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.d.ts +158 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.js +3 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-schemas.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.d.ts +479 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.js +1637 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.d.ts +50 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.js +143 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/sandbox-violation-store.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.d.ts +67 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.js +345 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/socks-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.d.ts +212 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.js +1174 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/tls-terminate-proxy.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.d.ts +1615 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.js +2848 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/sandbox/windows-sandbox-utils.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.d.ts +31 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.js +69 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/config-loader.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.d.ts +7 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.js +25 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/debug.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.d.ts +15 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.js +49 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/platform.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.d.ts +35 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.js +106 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/real-path.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.d.ts +29 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.js +51 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/ripgrep.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.d.ts +27 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.js +47 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/shell-quote.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.d.ts +9 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.d.ts.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.js +25 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/dist/utils/which.js.map +1 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/package.json +90 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/java-proxy-agent/build.ts +95 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/java-proxy-agent/srt-proxy-agent.jar +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/arm64/apply-seccomp +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/build.ts +73 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/seccomp/x64/apply-seccomp +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/arm64/srt-win.exe +0 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/build.ts +28 -0
- package/dist/node_modules/@anthropic-ai/sandbox-runtime/vendor/srt-win/x64/srt-win.exe +0 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/NOTICE +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/README.md +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/agent-templates.md +59 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/concepts.md +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/connector-templates.md +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/channel.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/config-source.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/connector.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/context.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/counter.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/directory.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/file-preview.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/identity-source.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/model-provider.md +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/object-store.md +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/sandbox.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/secret-store.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/web-fetch.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extension-points/web-search.md +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/extensions.md +88 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/plugin-format.md +100 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/setup.md +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/skills.md +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/agent-docs/tool-naming.md +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/agent-template.d.ts +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/agent-template.js +501 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/bootstrap.d.ts +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/bootstrap.js +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/cards.d.ts +107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/cards.js +287 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/channel.d.ts +293 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/channel.js +31 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-css.d.ts +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-css.js +326 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-section.d.ts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/client-section.js +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/config-ui.d.ts +153 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/config-ui.js +662 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector-auth.d.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector-auth.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector.d.ts +196 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/connector.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/context.d.ts +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/context.js +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ctx.d.ts +287 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ctx.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/define-extension.d.ts +55 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/define-extension.js +92 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol-v3.d.ts +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol-v3.js +409 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol.d.ts +330 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/device-protocol.js +567 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/directory.d.ts +38 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/directory.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/extension-point.d.ts +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/extension-point.js +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/file-preview.d.ts +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/file-preview.js +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/frontmatter.d.ts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/frontmatter.js +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/git-hosts.d.ts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/git-hosts.js +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/hooks.d.ts +295 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/hooks.js +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/http-access.d.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/http-access.js +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/identity.d.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/identity.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/index.d.ts +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/index.js +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/marketplace.d.ts +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/marketplace.js +326 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model-params.d.ts +101 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model-params.js +235 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model.d.ts +336 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/model.js +204 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/net.d.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/net.js +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/org-access.d.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/org-access.js +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/permissions.d.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/permissions.js +328 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-manifest.d.ts +204 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-manifest.js +504 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-package.d.ts +183 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/plugin-package.js +480 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-linux-runtime-source.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-linux-runtime-source.js +1886 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-native-runtime-source.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-native-runtime-source.js +325 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-operation.d.ts +248 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-operation.js +245 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-runtime-source.d.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-runtime-source.js +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-write-denies.d.ts +60 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox-write-denies.js +630 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox.d.ts +417 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/sandbox.js +195 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/secret.d.ts +11 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/secret.js +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/semver-range.d.ts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/semver-range.js +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-check.d.ts +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-check.js +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-parse.d.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-parse.js +350 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-render.d.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide-render.js +351 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide.d.ts +94 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/setup-guide.js +336 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-invocation.d.ts +87 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-invocation.js +211 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-keys.d.ts +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill-keys.js +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill.d.ts +107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/skill.js +283 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/storage.d.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/storage.js +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-assets.d.ts +39 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-assets.js +449 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-readability.d.ts +37 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-readability.js +145 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-tokens.generated.d.ts +279 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme-tokens.generated.js +174 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme.d.ts +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/theme.js +392 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool-key.d.ts +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool-key.js +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool.d.ts +205 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/tool.js +238 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-parts.d.ts +23 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-parts.js +337 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-resolve.d.ts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-resolve.js +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-slots.d.ts +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui-slots.js +238 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui.d.ts +385 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/ui.js +432 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/url.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/url.js +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/web.d.ts +105 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/dist/web.js +135 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/LICENSE +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/README.md +218 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.cjs +96 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/compile.js +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.cjs +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/index.js +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.cjs +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/index.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/locales/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/index.js +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/mini/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/package.json +147 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/compile.ts +56 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/index.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/locales/index.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/mini/index.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v3/types.ts +5138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/array.test.ts +291 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/map.test.ts +349 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/set.test.ts +196 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/compile.ts +2322 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/core.ts +230 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/index.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/schemas.ts +5226 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/util.ts +1293 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.cjs +167 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/ZodError.js +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.cjs +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.cjs +41 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.cjs +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.cjs +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.cjs +3798 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.d.cts +1034 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.d.ts +1034 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v3/types.js +3697 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/compat.js +31 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/errors.js +57 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.cjs +97 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/external.js +17 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/in-out.js +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.cjs +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/iso.js +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/parse.js +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.cjs +1269 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.d.cts +335 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.d.ts +335 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/api.js +1107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.cjs +561 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/checks.js +516 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.cjs +1916 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/compile.js +1866 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.cjs +167 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.d.cts +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.d.ts +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/core.js +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.cjs +61 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/doc.js +38 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.cjs +317 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/errors.js +267 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.cjs +70 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.d.cts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.d.ts +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/index.js +19 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/memoizer.js +311 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.cjs +233 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/parse.js +175 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/regexes.js +156 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.cjs +75 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.cjs +2699 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.d.cts +1275 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.d.ts +1275 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/schemas.js +2636 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.cjs +964 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.d.cts +280 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.d.ts +280 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/util.js +873 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.cjs +27 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.cjs +214 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/core/visit.js +169 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/index.js +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ar.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.cjs +137 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/az.js +110 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.cjs +195 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/be.js +168 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bg.js +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/bn.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ca.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ckb.js +133 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/cs.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.cjs +147 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/da.js +120 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/de.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/el.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.cjs +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/en.js +125 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/eo.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.cjs +163 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/es.js +136 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fa.js +119 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fi.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/fr.js +129 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/gu.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.cjs +248 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/he.js +221 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hi.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hr.js +126 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hu.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/hy.js +158 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/id.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.cjs +152 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/index.js +63 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/is.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/it.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ja.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ka.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kh.js +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/km.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/kn.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ko.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/lt.js +207 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/mk.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ms.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ne.js +111 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nl.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/nn.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/no.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ota.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pl.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ps.js +119 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/pt.js +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ro.js +122 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ru.js +168 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sk.js +116 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sl.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/sv.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ta.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tg.js +117 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/th.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tk.js +107 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/tr.js +110 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ua.js +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uk.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/ur.js +115 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/uz.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/vi.js +113 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/yo.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/coerce.js +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.cjs +95 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/external.js +16 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/in-out.js +36 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/iso.js +34 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.cjs +51 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/index.js +3 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/node_modules/zod/v4-mini/package.json +7 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/package.json +61 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/bootstrap.v1.schema.json +131 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/connector-template.v1.schema.json +151 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/marketplace.v1.schema.json +320 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/plugin.v1.schema.json +487 -0
- package/dist/node_modules/@capybara-hq/plugin-sdk/schemas/theme.v1.schema.json +225 -0
- package/dist/node_modules/@pondwader/socks5-server/.github/workflows/ci.yml +27 -0
- package/dist/node_modules/@pondwader/socks5-server/LICENSE +20 -0
- package/dist/node_modules/@pondwader/socks5-server/README.md +151 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.d.mts +87 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.d.ts +87 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.js +346 -0
- package/dist/node_modules/@pondwader/socks5-server/dist/index.mjs +307 -0
- package/dist/node_modules/@pondwader/socks5-server/package.json +31 -0
- package/dist/node_modules/@types/debug/LICENSE +21 -0
- package/dist/node_modules/@types/debug/README.md +69 -0
- package/dist/node_modules/@types/debug/index.d.ts +50 -0
- package/dist/node_modules/@types/debug/package.json +58 -0
- package/dist/node_modules/@types/mdast/LICENSE +21 -0
- package/dist/node_modules/@types/mdast/README.md +15 -0
- package/dist/node_modules/@types/mdast/index.d.ts +1123 -0
- package/dist/node_modules/@types/mdast/package.json +47 -0
- package/dist/node_modules/@types/ms/LICENSE +21 -0
- package/dist/node_modules/@types/ms/README.md +82 -0
- package/dist/node_modules/@types/ms/index.d.ts +63 -0
- package/dist/node_modules/@types/ms/package.json +26 -0
- package/dist/node_modules/@types/unist/LICENSE +21 -0
- package/dist/node_modules/@types/unist/README.md +15 -0
- package/dist/node_modules/@types/unist/index.d.ts +119 -0
- package/dist/node_modules/@types/unist/package.json +60 -0
- package/dist/node_modules/ccount/index.d.ts +11 -0
- package/dist/node_modules/ccount/index.js +27 -0
- package/dist/node_modules/ccount/license +22 -0
- package/dist/node_modules/ccount/package.json +71 -0
- package/dist/node_modules/ccount/readme.md +149 -0
- package/dist/node_modules/character-entities/index.d.ts +6 -0
- package/dist/node_modules/character-entities/index.js +2132 -0
- package/dist/node_modules/character-entities/license +22 -0
- package/dist/node_modules/character-entities/package.json +78 -0
- package/dist/node_modules/character-entities/readme.md +152 -0
- package/dist/node_modules/commander/LICENSE +22 -0
- package/dist/node_modules/commander/Readme.md +1157 -0
- package/dist/node_modules/commander/esm.mjs +16 -0
- package/dist/node_modules/commander/index.js +24 -0
- package/dist/node_modules/commander/lib/argument.js +149 -0
- package/dist/node_modules/commander/lib/command.js +2509 -0
- package/dist/node_modules/commander/lib/error.js +39 -0
- package/dist/node_modules/commander/lib/help.js +520 -0
- package/dist/node_modules/commander/lib/option.js +330 -0
- package/dist/node_modules/commander/lib/suggestSimilar.js +101 -0
- package/dist/node_modules/commander/package-support.json +16 -0
- package/dist/node_modules/commander/package.json +84 -0
- package/dist/node_modules/commander/typings/esm.d.mts +3 -0
- package/dist/node_modules/commander/typings/index.d.ts +969 -0
- package/dist/node_modules/debug/LICENSE +20 -0
- package/dist/node_modules/debug/README.md +481 -0
- package/dist/node_modules/debug/package.json +64 -0
- package/dist/node_modules/debug/src/browser.js +272 -0
- package/dist/node_modules/debug/src/common.js +292 -0
- package/dist/node_modules/debug/src/index.js +10 -0
- package/dist/node_modules/debug/src/node.js +263 -0
- package/dist/node_modules/decode-named-character-reference/index.d.ts +13 -0
- package/dist/node_modules/decode-named-character-reference/index.d.ts.map +1 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.d.ts +6 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.d.ts.map +1 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +32 -0
- package/dist/node_modules/decode-named-character-reference/index.js +19 -0
- package/dist/node_modules/decode-named-character-reference/license +22 -0
- package/dist/node_modules/decode-named-character-reference/package.json +90 -0
- package/dist/node_modules/decode-named-character-reference/readme.md +136 -0
- package/dist/node_modules/dequal/dist/index.js +86 -0
- package/dist/node_modules/dequal/dist/index.min.js +1 -0
- package/dist/node_modules/dequal/dist/index.mjs +84 -0
- package/dist/node_modules/dequal/index.d.ts +1 -0
- package/dist/node_modules/dequal/license +21 -0
- package/dist/node_modules/dequal/lite/index.d.ts +1 -0
- package/dist/node_modules/dequal/lite/index.js +31 -0
- package/dist/node_modules/dequal/lite/index.min.js +1 -0
- package/dist/node_modules/dequal/lite/index.mjs +29 -0
- package/dist/node_modules/dequal/package.json +57 -0
- package/dist/node_modules/dequal/readme.md +112 -0
- package/dist/node_modules/devlop/lib/default.js +9 -0
- package/dist/node_modules/devlop/lib/development.d.ts +84 -0
- package/dist/node_modules/devlop/lib/development.js +238 -0
- package/dist/node_modules/devlop/license +22 -0
- package/dist/node_modules/devlop/package.json +80 -0
- package/dist/node_modules/devlop/readme.md +360 -0
- package/dist/node_modules/escape-string-regexp/index.d.ts +16 -0
- package/dist/node_modules/escape-string-regexp/index.js +11 -0
- package/dist/node_modules/escape-string-regexp/license +9 -0
- package/dist/node_modules/escape-string-regexp/package.json +40 -0
- package/dist/node_modules/escape-string-regexp/readme.md +34 -0
- package/dist/node_modules/kysely/LICENSE +21 -0
- package/dist/node_modules/kysely/README.md +242 -0
- package/dist/node_modules/kysely/dist/dialect/database-introspector.d.ts +50 -0
- package/dist/node_modules/kysely/dist/dialect/database-introspector.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter-base.d.ts +79 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter-base.js +24 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter.d.ts +131 -0
- package/dist/node_modules/kysely/dist/dialect/dialect-adapter.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/dialect.d.ts +34 -0
- package/dist/node_modules/kysely/dist/dialect/dialect.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-adapter.d.ts +72 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-adapter.js +31 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect-config.d.ts +171 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect.d.ts +70 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-dialect.js +62 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-driver.d.ts +60 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-driver.js +358 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-introspector.js +103 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-query-compiler.d.ts +17 -0
- package/dist/node_modules/kysely/dist/dialect/mssql/mssql-query-compiler.js +89 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-adapter.d.ts +71 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-adapter.js +25 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect-config.d.ts +71 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect.d.ts +61 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-dialect.js +53 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-driver.d.ts +56 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-driver.js +252 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-introspector.js +73 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-query-compiler.d.ts +27 -0
- package/dist/node_modules/kysely/dist/dialect/mysql/mysql-query-compiler.js +77 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-adapter.d.ts +68 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-adapter.js +17 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect-config.d.ts +58 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect.d.ts +55 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-dialect.js +47 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-driver.d.ts +57 -0
- package/dist/node_modules/kysely/dist/dialect/pglite/pglite-driver.js +119 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-adapter.d.ts +71 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-adapter.js +28 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect-config.d.ts +123 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect.d.ts +61 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-dialect.js +53 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-driver.d.ts +61 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-driver.js +198 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-introspector.js +102 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-query-compiler.d.ts +4 -0
- package/dist/node_modules/kysely/dist/dialect/postgres/postgres-query-compiler.js +8 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-adapter.d.ts +72 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-adapter.js +23 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect-config.d.ts +42 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect-config.js +2 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect.d.ts +55 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-dialect.js +48 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-driver.d.ts +43 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-driver.js +84 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-introspector.d.ts +14 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-introspector.js +87 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-query-compiler.d.ts +15 -0
- package/dist/node_modules/kysely/dist/dialect/sqlite/sqlite-query-compiler.js +38 -0
- package/dist/node_modules/kysely/dist/driver/connection-mutex.d.ts +12 -0
- package/dist/node_modules/kysely/dist/driver/connection-mutex.js +26 -0
- package/dist/node_modules/kysely/dist/driver/connection-provider.d.ts +9 -0
- package/dist/node_modules/kysely/dist/driver/connection-provider.js +2 -0
- package/dist/node_modules/kysely/dist/driver/database-connection.d.ts +49 -0
- package/dist/node_modules/kysely/dist/driver/database-connection.js +2 -0
- package/dist/node_modules/kysely/dist/driver/default-connection-provider.d.ts +13 -0
- package/dist/node_modules/kysely/dist/driver/default-connection-provider.js +16 -0
- package/dist/node_modules/kysely/dist/driver/driver.d.ts +62 -0
- package/dist/node_modules/kysely/dist/driver/driver.js +19 -0
- package/dist/node_modules/kysely/dist/driver/dummy-driver.d.ts +75 -0
- package/dist/node_modules/kysely/dist/driver/dummy-driver.js +80 -0
- package/dist/node_modules/kysely/dist/driver/runtime-driver.d.ts +49 -0
- package/dist/node_modules/kysely/dist/driver/runtime-driver.js +174 -0
- package/dist/node_modules/kysely/dist/driver/single-connection-provider.d.ts +11 -0
- package/dist/node_modules/kysely/dist/driver/single-connection-provider.js +26 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-reference-builder.d.ts +18 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-reference-builder.js +32 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-table-builder.d.ts +16 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic-table-builder.js +41 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic.d.ts +124 -0
- package/dist/node_modules/kysely/dist/dynamic/dynamic.js +129 -0
- package/dist/node_modules/kysely/dist/expression/expression-builder.d.ts +914 -0
- package/dist/node_modules/kysely/dist/expression/expression-builder.js +121 -0
- package/dist/node_modules/kysely/dist/expression/expression-wrapper.d.ts +631 -0
- package/dist/node_modules/kysely/dist/expression/expression-wrapper.js +128 -0
- package/dist/node_modules/kysely/dist/expression/expression.d.ts +198 -0
- package/dist/node_modules/kysely/dist/expression/expression.js +12 -0
- package/dist/node_modules/kysely/dist/helpers/mssql.d.ts +212 -0
- package/dist/node_modules/kysely/dist/helpers/mssql.js +215 -0
- package/dist/node_modules/kysely/dist/helpers/mysql.d.ts +147 -0
- package/dist/node_modules/kysely/dist/helpers/mysql.js +158 -0
- package/dist/node_modules/kysely/dist/helpers/postgres.d.ts +199 -0
- package/dist/node_modules/kysely/dist/helpers/postgres.js +203 -0
- package/dist/node_modules/kysely/dist/helpers/sqlite.d.ts +189 -0
- package/dist/node_modules/kysely/dist/helpers/sqlite.js +200 -0
- package/dist/node_modules/kysely/dist/index.d.ts +314 -0
- package/dist/node_modules/kysely/dist/index.js +200 -0
- package/dist/node_modules/kysely/dist/kysely.d.ts +796 -0
- package/dist/node_modules/kysely/dist/kysely.js +1032 -0
- package/dist/node_modules/kysely/dist/migration/file-migration-provider.d.ts +51 -0
- package/dist/node_modules/kysely/dist/migration/file-migration-provider.js +61 -0
- package/dist/node_modules/kysely/dist/migration/index.d.ts +2 -0
- package/dist/node_modules/kysely/dist/migration/index.js +3 -0
- package/dist/node_modules/kysely/dist/migration/migrator.d.ts +393 -0
- package/dist/node_modules/kysely/dist/migration/migrator.js +614 -0
- package/dist/node_modules/kysely/dist/operation-node/add-column-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/add-column-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/add-constraint-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/add-constraint-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/add-index-node.d.ts +29 -0
- package/dist/node_modules/kysely/dist/operation-node/add-index-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/add-value-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/add-value-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/aggregate-function-node.d.ts +29 -0
- package/dist/node_modules/kysely/dist/operation-node/aggregate-function-node.js +56 -0
- package/dist/node_modules/kysely/dist/operation-node/alias-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/alias-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-column-node.d.ts +23 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-column-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-table-node.d.ts +38 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-table-node.js +30 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-type-node.d.ts +24 -0
- package/dist/node_modules/kysely/dist/operation-node/alter-type-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/and-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/and-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/binary-operation-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/binary-operation-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/case-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/case-node.js +40 -0
- package/dist/node_modules/kysely/dist/operation-node/cast-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/cast-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/check-constraint-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/check-constraint-node.js +20 -0
- package/dist/node_modules/kysely/dist/operation-node/collate-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/collate-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/column-definition-node.d.ts +38 -0
- package/dist/node_modules/kysely/dist/operation-node/column-definition-node.js +40 -0
- package/dist/node_modules/kysely/dist/operation-node/column-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/column-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/column-update-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/column-update-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-name-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-name-node.js +21 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/common-table-expression-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/constraint-node.d.ts +5 -0
- package/dist/node_modules/kysely/dist/operation-node/constraint-node.js +2 -0
- package/dist/node_modules/kysely/dist/operation-node/create-index-node.d.ts +29 -0
- package/dist/node_modules/kysely/dist/operation-node/create-index-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/create-schema-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/create-schema-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/create-table-node.d.ts +37 -0
- package/dist/node_modules/kysely/dist/operation-node/create-table-node.js +62 -0
- package/dist/node_modules/kysely/dist/operation-node/create-type-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/create-type-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/create-view-node.d.ts +26 -0
- package/dist/node_modules/kysely/dist/operation-node/create-view-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/data-type-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/data-type-node.js +80 -0
- package/dist/node_modules/kysely/dist/operation-node/default-insert-value-node.d.ts +13 -0
- package/dist/node_modules/kysely/dist/operation-node/default-insert-value-node.js +15 -0
- package/dist/node_modules/kysely/dist/operation-node/default-value-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/default-value-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/delete-query-node.d.ts +42 -0
- package/dist/node_modules/kysely/dist/operation-node/delete-query-node.js +50 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-column-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-column-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-constraint-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-constraint-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-index-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-index-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-schema-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-schema-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-table-node.d.ts +24 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-table-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-type-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-type-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-view-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/drop-view-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/explain-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/explain-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/fetch-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/fetch-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/foreign-key-constraint-node.d.ts +26 -0
- package/dist/node_modules/kysely/dist/operation-node/foreign-key-constraint-node.js +28 -0
- package/dist/node_modules/kysely/dist/operation-node/from-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/from-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/function-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/function-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/generated-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/generated-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-item-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-item-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/group-by-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/having-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/having-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/identifier-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/identifier-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/insert-query-node.d.ts +40 -0
- package/dist/node_modules/kysely/dist/operation-node/insert-query-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/join-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/join-node.js +35 -0
- package/dist/node_modules/kysely/dist/operation-node/json-operator-chain-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/json-operator-chain-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-leg-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-leg-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/json-path-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/json-reference-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/json-reference-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/limit-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/limit-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/list-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/list-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/matched-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/matched-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/merge-query-node.d.ts +32 -0
- package/dist/node_modules/kysely/dist/operation-node/merge-query-node.js +43 -0
- package/dist/node_modules/kysely/dist/operation-node/modify-column-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/modify-column-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/offset-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/offset-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/on-conflict-node.d.ts +32 -0
- package/dist/node_modules/kysely/dist/operation-node/on-conflict-node.js +66 -0
- package/dist/node_modules/kysely/dist/operation-node/on-duplicate-key-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/on-duplicate-key-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/on-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/on-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-source.d.ts +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-source.js +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-transformer.d.ts +244 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-transformer.js +958 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-visitor.d.ts +207 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node-visitor.js +115 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node.d.ts +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operation-node.js +5 -0
- package/dist/node_modules/kysely/dist/operation-node/operator-node.d.ts +65 -0
- package/dist/node_modules/kysely/dist/operation-node/operator-node.js +148 -0
- package/dist/node_modules/kysely/dist/operation-node/or-action-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/or-action-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/or-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/or-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-item-node.d.ts +20 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-item-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/order-by-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/output-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/output-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/over-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/over-node.js +33 -0
- package/dist/node_modules/kysely/dist/operation-node/parens-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/parens-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-item-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-item-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/partition-by-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/primary-key-constraint-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/primary-key-constraint-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/primitive-value-list-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/primitive-value-list-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/query-node.d.ts +61 -0
- package/dist/node_modules/kysely/dist/operation-node/query-node.js +100 -0
- package/dist/node_modules/kysely/dist/operation-node/raw-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/raw-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/reference-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/reference-node.js +25 -0
- package/dist/node_modules/kysely/dist/operation-node/references-node.d.ts +27 -0
- package/dist/node_modules/kysely/dist/operation-node/references-node.js +43 -0
- package/dist/node_modules/kysely/dist/operation-node/refresh-materialized-view-node.d.ts +19 -0
- package/dist/node_modules/kysely/dist/operation-node/refresh-materialized-view-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-column-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-column-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-constraint-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-constraint-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-value-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/rename-value-node.js +14 -0
- package/dist/node_modules/kysely/dist/operation-node/returning-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/returning-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/root-operation-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/root-operation-node.js +27 -0
- package/dist/node_modules/kysely/dist/operation-node/schemable-identifier-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/schemable-identifier-node.js +24 -0
- package/dist/node_modules/kysely/dist/operation-node/select-all-node.d.ts +13 -0
- package/dist/node_modules/kysely/dist/operation-node/select-all-node.js +15 -0
- package/dist/node_modules/kysely/dist/operation-node/select-modifier-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/select-modifier-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/select-query-node.d.ts +63 -0
- package/dist/node_modules/kysely/dist/operation-node/select-query-node.js +127 -0
- package/dist/node_modules/kysely/dist/operation-node/selection-node.d.ts +21 -0
- package/dist/node_modules/kysely/dist/operation-node/selection-node.js +30 -0
- package/dist/node_modules/kysely/dist/operation-node/set-operation-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/set-operation-node.js +18 -0
- package/dist/node_modules/kysely/dist/operation-node/simple-reference-expression-node.d.ts +3 -0
- package/dist/node_modules/kysely/dist/operation-node/simple-reference-expression-node.js +2 -0
- package/dist/node_modules/kysely/dist/operation-node/table-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/table-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/top-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/top-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/tuple-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/tuple-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/unary-operation-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/unary-operation-node.js +17 -0
- package/dist/node_modules/kysely/dist/operation-node/unique-constraint-node.d.ts +30 -0
- package/dist/node_modules/kysely/dist/operation-node/unique-constraint-node.js +29 -0
- package/dist/node_modules/kysely/dist/operation-node/update-query-node.d.ts +41 -0
- package/dist/node_modules/kysely/dist/operation-node/update-query-node.js +48 -0
- package/dist/node_modules/kysely/dist/operation-node/using-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/using-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/value-list-node.d.ts +14 -0
- package/dist/node_modules/kysely/dist/operation-node/value-list-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/value-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/value-node.js +23 -0
- package/dist/node_modules/kysely/dist/operation-node/values-node.d.ts +17 -0
- package/dist/node_modules/kysely/dist/operation-node/values-node.js +16 -0
- package/dist/node_modules/kysely/dist/operation-node/when-node.d.ts +16 -0
- package/dist/node_modules/kysely/dist/operation-node/when-node.js +22 -0
- package/dist/node_modules/kysely/dist/operation-node/where-node.d.ts +15 -0
- package/dist/node_modules/kysely/dist/operation-node/where-node.js +26 -0
- package/dist/node_modules/kysely/dist/operation-node/with-node.d.ts +18 -0
- package/dist/node_modules/kysely/dist/operation-node/with-node.js +23 -0
- package/dist/node_modules/kysely/dist/parser/binary-operation-parser.d.ts +23 -0
- package/dist/node_modules/kysely/dist/parser/binary-operation-parser.js +68 -0
- package/dist/node_modules/kysely/dist/parser/coalesce-parser.d.ts +12 -0
- package/dist/node_modules/kysely/dist/parser/coalesce-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/collate-parser.d.ts +1 -0
- package/dist/node_modules/kysely/dist/parser/collate-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/data-type-parser.d.ts +5 -0
- package/dist/node_modules/kysely/dist/parser/data-type-parser.js +12 -0
- package/dist/node_modules/kysely/dist/parser/default-value-parser.d.ts +4 -0
- package/dist/node_modules/kysely/dist/parser/default-value-parser.js +8 -0
- package/dist/node_modules/kysely/dist/parser/delete-from-parser.d.ts +9 -0
- package/dist/node_modules/kysely/dist/parser/delete-from-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/expression-parser.d.ts +20 -0
- package/dist/node_modules/kysely/dist/parser/expression-parser.js +26 -0
- package/dist/node_modules/kysely/dist/parser/fetch-parser.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/fetch-parser.js +15 -0
- package/dist/node_modules/kysely/dist/parser/group-by-parser.d.ts +6 -0
- package/dist/node_modules/kysely/dist/parser/group-by-parser.js +9 -0
- package/dist/node_modules/kysely/dist/parser/identifier-parser.d.ts +3 -0
- package/dist/node_modules/kysely/dist/parser/identifier-parser.js +26 -0
- package/dist/node_modules/kysely/dist/parser/insert-values-parser.d.ts +14 -0
- package/dist/node_modules/kysely/dist/parser/insert-values-parser.js +62 -0
- package/dist/node_modules/kysely/dist/parser/join-parser.d.ts +10 -0
- package/dist/node_modules/kysely/dist/parser/join-parser.js +28 -0
- package/dist/node_modules/kysely/dist/parser/merge-into-parser.d.ts +7 -0
- package/dist/node_modules/kysely/dist/parser/merge-into-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/merge-parser.d.ts +9 -0
- package/dist/node_modules/kysely/dist/parser/merge-parser.js +28 -0
- package/dist/node_modules/kysely/dist/parser/on-commit-action-parse.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/on-commit-action-parse.js +8 -0
- package/dist/node_modules/kysely/dist/parser/on-modify-action-parser.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/on-modify-action-parser.js +8 -0
- package/dist/node_modules/kysely/dist/parser/order-by-parser.d.ts +25 -0
- package/dist/node_modules/kysely/dist/parser/order-by-parser.js +67 -0
- package/dist/node_modules/kysely/dist/parser/parse-utils.d.ts +10 -0
- package/dist/node_modules/kysely/dist/parser/parse-utils.js +33 -0
- package/dist/node_modules/kysely/dist/parser/partition-by-parser.d.ts +6 -0
- package/dist/node_modules/kysely/dist/parser/partition-by-parser.js +6 -0
- package/dist/node_modules/kysely/dist/parser/reference-parser.d.ts +31 -0
- package/dist/node_modules/kysely/dist/parser/reference-parser.js +93 -0
- package/dist/node_modules/kysely/dist/parser/returning-parser.d.ts +8 -0
- package/dist/node_modules/kysely/dist/parser/returning-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/savepoint-parser.d.ts +4 -0
- package/dist/node_modules/kysely/dist/parser/savepoint-parser.js +9 -0
- package/dist/node_modules/kysely/dist/parser/select-from-parser.d.ts +6 -0
- package/dist/node_modules/kysely/dist/parser/select-from-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/select-parser.d.ts +36 -0
- package/dist/node_modules/kysely/dist/parser/select-parser.js +47 -0
- package/dist/node_modules/kysely/dist/parser/set-operation-parser.d.ts +5 -0
- package/dist/node_modules/kysely/dist/parser/set-operation-parser.js +14 -0
- package/dist/node_modules/kysely/dist/parser/table-parser.d.ts +24 -0
- package/dist/node_modules/kysely/dist/parser/table-parser.js +49 -0
- package/dist/node_modules/kysely/dist/parser/top-parser.d.ts +2 -0
- package/dist/node_modules/kysely/dist/parser/top-parser.js +17 -0
- package/dist/node_modules/kysely/dist/parser/tuple-parser.d.ts +47 -0
- package/dist/node_modules/kysely/dist/parser/tuple-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/unary-operation-parser.d.ts +8 -0
- package/dist/node_modules/kysely/dist/parser/unary-operation-parser.js +16 -0
- package/dist/node_modules/kysely/dist/parser/update-parser.d.ts +9 -0
- package/dist/node_modules/kysely/dist/parser/update-parser.js +2 -0
- package/dist/node_modules/kysely/dist/parser/update-set-parser.d.ts +16 -0
- package/dist/node_modules/kysely/dist/parser/update-set-parser.js +23 -0
- package/dist/node_modules/kysely/dist/parser/value-parser.d.ts +13 -0
- package/dist/node_modules/kysely/dist/parser/value-parser.js +33 -0
- package/dist/node_modules/kysely/dist/parser/with-parser.d.ts +46 -0
- package/dist/node_modules/kysely/dist/parser/with-parser.js +34 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-plugin.d.ts +170 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-plugin.js +119 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-transformer.d.ts +9 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case-transformer.js +16 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case.d.ts +15 -0
- package/dist/node_modules/kysely/dist/plugin/camel-case/camel-case.js +108 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-plugin.d.ts +70 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-plugin.js +16 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-transformer.d.ts +11 -0
- package/dist/node_modules/kysely/dist/plugin/deduplicate-joins/deduplicate-joins-transformer.js +39 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-plugin.d.ts +211 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-plugin.js +159 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-transformer.d.ts +8 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists-transformer.js +26 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists.d.ts +44 -0
- package/dist/node_modules/kysely/dist/plugin/handle-empty-in-lists/handle-empty-in-lists.js +63 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-plugin.d.ts +73 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-plugin.js +19 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-transformer.d.ts +15 -0
- package/dist/node_modules/kysely/dist/plugin/immediate-value/immediate-value-transformer.js +20 -0
- package/dist/node_modules/kysely/dist/plugin/kysely-plugin.d.ts +73 -0
- package/dist/node_modules/kysely/dist/plugin/kysely-plugin.js +2 -0
- package/dist/node_modules/kysely/dist/plugin/noop-plugin.d.ts +64 -0
- package/dist/node_modules/kysely/dist/plugin/noop-plugin.js +9 -0
- package/dist/node_modules/kysely/dist/plugin/parse-json-results/parse-json-results-plugin.d.ts +141 -0
- package/dist/node_modules/kysely/dist/plugin/parse-json-results/parse-json-results-plugin.js +143 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-plugin.d.ts +81 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-plugin.js +27 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-transformer.d.ts +5 -0
- package/dist/node_modules/kysely/dist/plugin/safe-null-comparison/safe-null-comparison-transformer.js +20 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-plugin.d.ts +66 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-plugin.js +14 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-transformer.d.ts +18 -0
- package/dist/node_modules/kysely/dist/plugin/with-schema/with-schema-transformer.js +170 -0
- package/dist/node_modules/kysely/dist/query-builder/aggregate-function-builder.d.ts +379 -0
- package/dist/node_modules/kysely/dist/query-builder/aggregate-function-builder.js +238 -0
- package/dist/node_modules/kysely/dist/query-builder/case-builder.d.ts +184 -0
- package/dist/node_modules/kysely/dist/query-builder/case-builder.js +116 -0
- package/dist/node_modules/kysely/dist/query-builder/cte-builder.d.ts +20 -0
- package/dist/node_modules/kysely/dist/query-builder/cte-builder.js +34 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-query-builder.d.ts +1344 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-query-builder.js +497 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-result.d.ts +4 -0
- package/dist/node_modules/kysely/dist/query-builder/delete-result.js +7 -0
- package/dist/node_modules/kysely/dist/query-builder/function-module.d.ts +592 -0
- package/dist/node_modules/kysely/dist/query-builder/function-module.js +60 -0
- package/dist/node_modules/kysely/dist/query-builder/having-interface.d.ts +15 -0
- package/dist/node_modules/kysely/dist/query-builder/having-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-query-builder.d.ts +1231 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-query-builder.js +1151 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-result.d.ts +46 -0
- package/dist/node_modules/kysely/dist/query-builder/insert-result.js +50 -0
- package/dist/node_modules/kysely/dist/query-builder/join-builder.d.ts +38 -0
- package/dist/node_modules/kysely/dist/query-builder/join-builder.js +48 -0
- package/dist/node_modules/kysely/dist/query-builder/json-path-builder.d.ts +294 -0
- package/dist/node_modules/kysely/dist/query-builder/json-path-builder.js +203 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-query-builder.d.ts +993 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-query-builder.js +613 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-result.d.ts +4 -0
- package/dist/node_modules/kysely/dist/query-builder/merge-result.js +7 -0
- package/dist/node_modules/kysely/dist/query-builder/no-result-error.d.ts +10 -0
- package/dist/node_modules/kysely/dist/query-builder/no-result-error.js +14 -0
- package/dist/node_modules/kysely/dist/query-builder/on-conflict-builder.d.ts +875 -0
- package/dist/node_modules/kysely/dist/query-builder/on-conflict-builder.js +254 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-interface.d.ts +158 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-item-builder.d.ts +43 -0
- package/dist/node_modules/kysely/dist/query-builder/order-by-item-builder.js +72 -0
- package/dist/node_modules/kysely/dist/query-builder/output-interface.d.ts +138 -0
- package/dist/node_modules/kysely/dist/query-builder/output-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/over-builder.d.ts +101 -0
- package/dist/node_modules/kysely/dist/query-builder/over-builder.js +37 -0
- package/dist/node_modules/kysely/dist/query-builder/returning-interface.d.ts +87 -0
- package/dist/node_modules/kysely/dist/query-builder/returning-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder-expression.d.ts +28 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder-expression.js +2 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder.d.ts +2413 -0
- package/dist/node_modules/kysely/dist/query-builder/select-query-builder.js +387 -0
- package/dist/node_modules/kysely/dist/query-builder/update-query-builder.d.ts +1388 -0
- package/dist/node_modules/kysely/dist/query-builder/update-query-builder.js +506 -0
- package/dist/node_modules/kysely/dist/query-builder/update-result.d.ts +14 -0
- package/dist/node_modules/kysely/dist/query-builder/update-result.js +18 -0
- package/dist/node_modules/kysely/dist/query-builder/where-interface.d.ts +382 -0
- package/dist/node_modules/kysely/dist/query-builder/where-interface.js +2 -0
- package/dist/node_modules/kysely/dist/query-compiler/compiled-query.d.ts +14 -0
- package/dist/node_modules/kysely/dist/query-compiler/compiled-query.js +25 -0
- package/dist/node_modules/kysely/dist/query-compiler/default-query-compiler.d.ts +243 -0
- package/dist/node_modules/kysely/dist/query-compiler/default-query-compiler.js +1452 -0
- package/dist/node_modules/kysely/dist/query-compiler/query-compiler.d.ts +9 -0
- package/dist/node_modules/kysely/dist/query-compiler/query-compiler.js +2 -0
- package/dist/node_modules/kysely/dist/query-creator.d.ts +593 -0
- package/dist/node_modules/kysely/dist/query-creator.js +620 -0
- package/dist/node_modules/kysely/dist/query-executor/default-query-executor.d.ts +52 -0
- package/dist/node_modules/kysely/dist/query-executor/default-query-executor.js +37 -0
- package/dist/node_modules/kysely/dist/query-executor/noop-query-executor.d.ts +50 -0
- package/dist/node_modules/kysely/dist/query-executor/noop-query-executor.js +34 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-base.d.ts +69 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-base.js +169 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-provider.d.ts +8 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor-provider.js +2 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor.d.ts +75 -0
- package/dist/node_modules/kysely/dist/query-executor/query-executor.js +2 -0
- package/dist/node_modules/kysely/dist/query-finalizer.d.ts +27 -0
- package/dist/node_modules/kysely/dist/query-finalizer.js +23 -0
- package/dist/node_modules/kysely/dist/raw-builder/raw-builder.d.ts +219 -0
- package/dist/node_modules/kysely/dist/raw-builder/raw-builder.js +84 -0
- package/dist/node_modules/kysely/dist/raw-builder/sql.d.ts +358 -0
- package/dist/node_modules/kysely/dist/raw-builder/sql.js +76 -0
- package/dist/node_modules/kysely/dist/readonly/index.d.ts +6 -0
- package/dist/node_modules/kysely/dist/readonly/index.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-compiled-query.d.ts +6 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-compiled-query.js +6 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-database-connection.d.ts +19 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-database-connection.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-driver.d.ts +5 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-driver.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-kysely.d.ts +230 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-kysely.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-query-creator.d.ts +37 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-query-creator.js +2 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-with-parser.d.ts +32 -0
- package/dist/node_modules/kysely/dist/readonly/readonly-with-parser.js +2 -0
- package/dist/node_modules/kysely/dist/schema/alter-column-builder.d.ts +53 -0
- package/dist/node_modules/kysely/dist/schema/alter-column-builder.js +70 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-foreign-key-constraint-builder.d.ts +33 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-foreign-key-constraint-builder.js +64 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-index-builder.d.ts +157 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-add-index-builder.js +151 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-builder.d.ts +151 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-builder.js +269 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-drop-constraint-builder.d.ts +27 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-drop-constraint-builder.js +56 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-executor.d.ts +19 -0
- package/dist/node_modules/kysely/dist/schema/alter-table-executor.js +17 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-add-value-builder.d.ts +25 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-add-value-builder.js +50 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-builder.d.ts +33 -0
- package/dist/node_modules/kysely/dist/schema/alter-type-builder.js +62 -0
- package/dist/node_modules/kysely/dist/schema/check-constraint-builder.d.ts +13 -0
- package/dist/node_modules/kysely/dist/schema/check-constraint-builder.js +17 -0
- package/dist/node_modules/kysely/dist/schema/column-definition-builder.d.ts +514 -0
- package/dist/node_modules/kysely/dist/schema/column-definition-builder.js +597 -0
- package/dist/node_modules/kysely/dist/schema/create-index-builder.d.ts +205 -0
- package/dist/node_modules/kysely/dist/schema/create-index-builder.js +185 -0
- package/dist/node_modules/kysely/dist/schema/create-schema-builder.d.ts +25 -0
- package/dist/node_modules/kysely/dist/schema/create-schema-builder.js +31 -0
- package/dist/node_modules/kysely/dist/schema/create-table-add-index-builder.d.ts +35 -0
- package/dist/node_modules/kysely/dist/schema/create-table-add-index-builder.js +24 -0
- package/dist/node_modules/kysely/dist/schema/create-table-builder.d.ts +379 -0
- package/dist/node_modules/kysely/dist/schema/create-table-builder.js +465 -0
- package/dist/node_modules/kysely/dist/schema/create-type-builder.d.ts +34 -0
- package/dist/node_modules/kysely/dist/schema/create-type-builder.js +40 -0
- package/dist/node_modules/kysely/dist/schema/create-view-builder.d.ts +49 -0
- package/dist/node_modules/kysely/dist/schema/create-view-builder.js +95 -0
- package/dist/node_modules/kysely/dist/schema/drop-column-builder.d.ts +12 -0
- package/dist/node_modules/kysely/dist/schema/drop-column-builder.js +18 -0
- package/dist/node_modules/kysely/dist/schema/drop-index-builder.d.ts +31 -0
- package/dist/node_modules/kysely/dist/schema/drop-index-builder.js +54 -0
- package/dist/node_modules/kysely/dist/schema/drop-schema-builder.d.ts +26 -0
- package/dist/node_modules/kysely/dist/schema/drop-schema-builder.js +41 -0
- package/dist/node_modules/kysely/dist/schema/drop-table-builder.d.ts +32 -0
- package/dist/node_modules/kysely/dist/schema/drop-table-builder.js +54 -0
- package/dist/node_modules/kysely/dist/schema/drop-type-builder.d.ts +32 -0
- package/dist/node_modules/kysely/dist/schema/drop-type-builder.js +47 -0
- package/dist/node_modules/kysely/dist/schema/drop-view-builder.d.ts +27 -0
- package/dist/node_modules/kysely/dist/schema/drop-view-builder.js +49 -0
- package/dist/node_modules/kysely/dist/schema/foreign-key-constraint-builder.d.ts +28 -0
- package/dist/node_modules/kysely/dist/schema/foreign-key-constraint-builder.js +45 -0
- package/dist/node_modules/kysely/dist/schema/primary-key-constraint-builder.d.ts +17 -0
- package/dist/node_modules/kysely/dist/schema/primary-key-constraint-builder.js +34 -0
- package/dist/node_modules/kysely/dist/schema/refresh-materialized-view-builder.d.ts +48 -0
- package/dist/node_modules/kysely/dist/schema/refresh-materialized-view-builder.js +72 -0
- package/dist/node_modules/kysely/dist/schema/schema-module.d.ts +254 -0
- package/dist/node_modules/kysely/dist/schema/schema-module.js +356 -0
- package/dist/node_modules/kysely/dist/schema/unique-constraint-builder.d.ts +23 -0
- package/dist/node_modules/kysely/dist/schema/unique-constraint-builder.js +42 -0
- package/dist/node_modules/kysely/dist/util/abort.d.ts +49 -0
- package/dist/node_modules/kysely/dist/util/abort.js +78 -0
- package/dist/node_modules/kysely/dist/util/column-type.d.ts +229 -0
- package/dist/node_modules/kysely/dist/util/column-type.js +2 -0
- package/dist/node_modules/kysely/dist/util/compilable.d.ts +5 -0
- package/dist/node_modules/kysely/dist/util/compilable.js +5 -0
- package/dist/node_modules/kysely/dist/util/deferred.d.ts +7 -0
- package/dist/node_modules/kysely/dist/util/deferred.js +23 -0
- package/dist/node_modules/kysely/dist/util/executable.d.ts +35 -0
- package/dist/node_modules/kysely/dist/util/executable.js +2 -0
- package/dist/node_modules/kysely/dist/util/explainable.d.ts +40 -0
- package/dist/node_modules/kysely/dist/util/explainable.js +2 -0
- package/dist/node_modules/kysely/dist/util/infer-result.d.ts +48 -0
- package/dist/node_modules/kysely/dist/util/infer-result.js +2 -0
- package/dist/node_modules/kysely/dist/util/json-object-args.d.ts +3 -0
- package/dist/node_modules/kysely/dist/util/json-object-args.js +32 -0
- package/dist/node_modules/kysely/dist/util/log-once.d.ts +5 -0
- package/dist/node_modules/kysely/dist/util/log-once.js +13 -0
- package/dist/node_modules/kysely/dist/util/log.d.ts +28 -0
- package/dist/node_modules/kysely/dist/util/log.js +56 -0
- package/dist/node_modules/kysely/dist/util/object-utils.d.ts +24 -0
- package/dist/node_modules/kysely/dist/util/object-utils.js +144 -0
- package/dist/node_modules/kysely/dist/util/performance-now.d.ts +1 -0
- package/dist/node_modules/kysely/dist/util/performance-now.js +10 -0
- package/dist/node_modules/kysely/dist/util/provide-controlled-connection.d.ts +8 -0
- package/dist/node_modules/kysely/dist/util/provide-controlled-connection.js +22 -0
- package/dist/node_modules/kysely/dist/util/query-id.d.ts +4 -0
- package/dist/node_modules/kysely/dist/util/query-id.js +14 -0
- package/dist/node_modules/kysely/dist/util/random-string.d.ts +1 -0
- package/dist/node_modules/kysely/dist/util/random-string.js +75 -0
- package/dist/node_modules/kysely/dist/util/stack-trace-utils.d.ts +1 -0
- package/dist/node_modules/kysely/dist/util/stack-trace-utils.js +14 -0
- package/dist/node_modules/kysely/dist/util/streamable.d.ts +38 -0
- package/dist/node_modules/kysely/dist/util/streamable.js +2 -0
- package/dist/node_modules/kysely/dist/util/type-error.d.ts +3 -0
- package/dist/node_modules/kysely/dist/util/type-error.js +2 -0
- package/dist/node_modules/kysely/dist/util/type-utils.d.ts +205 -0
- package/dist/node_modules/kysely/dist/util/type-utils.js +2 -0
- package/dist/node_modules/kysely/outdated-typescript.d.ts +5 -0
- package/dist/node_modules/kysely/package.json +128 -0
- package/dist/node_modules/longest-streak/index.d.ts +11 -0
- package/dist/node_modules/longest-streak/index.js +36 -0
- package/dist/node_modules/longest-streak/license +22 -0
- package/dist/node_modules/longest-streak/package.json +73 -0
- package/dist/node_modules/longest-streak/readme.md +150 -0
- package/dist/node_modules/markdown-table/index.d.ts +171 -0
- package/dist/node_modules/markdown-table/index.d.ts.map +1 -0
- package/dist/node_modules/markdown-table/index.js +393 -0
- package/dist/node_modules/markdown-table/license +22 -0
- package/dist/node_modules/markdown-table/package.json +77 -0
- package/dist/node_modules/markdown-table/readme.md +344 -0
- package/dist/node_modules/mdast-util-find-and-replace/index.d.ts +9 -0
- package/dist/node_modules/mdast-util-find-and-replace/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-find-and-replace/index.js +11 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.d.ts +79 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +257 -0
- package/dist/node_modules/mdast-util-find-and-replace/license +22 -0
- package/dist/node_modules/mdast-util-find-and-replace/package.json +78 -0
- package/dist/node_modules/mdast-util-find-and-replace/readme.md +366 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/index.d.ts +23 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/index.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts +53 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/index.js +1455 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/types.d.ts +321 -0
- package/dist/node_modules/mdast-util-from-markdown/dev/lib/types.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/index.d.ts +23 -0
- package/dist/node_modules/mdast-util-from-markdown/index.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.d.ts +53 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +1270 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/types.d.ts +321 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/types.js +2 -0
- package/dist/node_modules/mdast-util-from-markdown/license +22 -0
- package/dist/node_modules/mdast-util-from-markdown/package.json +98 -0
- package/dist/node_modules/mdast-util-from-markdown/readme.md +549 -0
- package/dist/node_modules/mdast-util-gfm/index.d.ts +12 -0
- package/dist/node_modules/mdast-util-gfm/index.js +2 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.d.ts +24 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +63 -0
- package/dist/node_modules/mdast-util-gfm/license +22 -0
- package/dist/node_modules/mdast-util-gfm/package.json +125 -0
- package/dist/node_modules/mdast-util-gfm/readme.md +497 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/index.d.ts +1 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/index.js +4 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.d.ts +18 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +280 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/license +22 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/package.json +106 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/readme.md +334 -0
- package/dist/node_modules/mdast-util-gfm-footnote/index.d.ts +34 -0
- package/dist/node_modules/mdast-util-gfm-footnote/index.js +2 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.d.ts +22 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +212 -0
- package/dist/node_modules/mdast-util-gfm-footnote/license +22 -0
- package/dist/node_modules/mdast-util-gfm-footnote/package.json +111 -0
- package/dist/node_modules/mdast-util-gfm-footnote/readme.md +494 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/index.d.ts +19 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/index.js +5 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.d.ts +19 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +133 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/license +22 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/package.json +84 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/readme.md +350 -0
- package/dist/node_modules/mdast-util-gfm-table/index.d.ts +54 -0
- package/dist/node_modules/mdast-util-gfm-table/index.js +2 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.d.ts +51 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +300 -0
- package/dist/node_modules/mdast-util-gfm-table/license +22 -0
- package/dist/node_modules/mdast-util-gfm-table/package.json +101 -0
- package/dist/node_modules/mdast-util-gfm-table/readme.md +605 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/index.d.ts +4 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/index.js +4 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.d.ts +23 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +141 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/license +22 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/package.json +90 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/readme.md +366 -0
- package/dist/node_modules/mdast-util-phrasing/index.d.ts +1 -0
- package/dist/node_modules/mdast-util-phrasing/index.js +1 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.d.ts +3 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +45 -0
- package/dist/node_modules/mdast-util-phrasing/license +23 -0
- package/dist/node_modules/mdast-util-phrasing/package.json +78 -0
- package/dist/node_modules/mdast-util-phrasing/readme.md +200 -0
- package/dist/node_modules/mdast-util-to-markdown/index.d.ts +18 -0
- package/dist/node_modules/mdast-util-to-markdown/index.js +3 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/configure.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/configure.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/configure.js +98 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +40 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +41 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +86 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +83 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +67 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +84 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +78 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +92 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +45 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts +28 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +86 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +78 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts +37 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +129 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +73 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +107 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +67 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts +24 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +30 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/index.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/index.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/index.js +213 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/join.d.ts +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/join.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/join.js +56 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/types.d.ts +1005 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/types.js +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts +4 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/unsafe.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/unsafe.js +160 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/association.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/association.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/association.js +33 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.d.ts +23 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/character.js +32 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts +12 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +42 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +25 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +30 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts +21 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-flow.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +93 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts +110 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +704 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts +33 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +82 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts +18 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +27 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts +14 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +39 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/html-kind.js +63 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/indent-lines.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +40 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts +17 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/safe.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/safe.js +263 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/track.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/track.d.ts.map +1 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/track.js +55 -0
- package/dist/node_modules/mdast-util-to-markdown/license +22 -0
- package/dist/node_modules/mdast-util-to-markdown/package.json +88 -0
- package/dist/node_modules/mdast-util-to-markdown/readme.md +814 -0
- package/dist/node_modules/mdast-util-to-string/index.d.ts +2 -0
- package/dist/node_modules/mdast-util-to-string/index.js +5 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.d.ts +31 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +108 -0
- package/dist/node_modules/mdast-util-to-string/license +22 -0
- package/dist/node_modules/mdast-util-to-string/package.json +78 -0
- package/dist/node_modules/mdast-util-to-string/readme.md +218 -0
- package/dist/node_modules/micromark/dev/index.d.ts +82 -0
- package/dist/node_modules/micromark/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/index.js +68 -0
- package/dist/node_modules/micromark/dev/lib/compile.d.ts +16 -0
- package/dist/node_modules/micromark/dev/lib/compile.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/compile.js +1162 -0
- package/dist/node_modules/micromark/dev/lib/constructs.d.ts +73 -0
- package/dist/node_modules/micromark/dev/lib/constructs.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/constructs.js +101 -0
- package/dist/node_modules/micromark/dev/lib/create-tokenizer.d.ts +46 -0
- package/dist/node_modules/micromark/dev/lib/create-tokenizer.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/create-tokenizer.js +718 -0
- package/dist/node_modules/micromark/dev/lib/initialize/content.d.ts +4 -0
- package/dist/node_modules/micromark/dev/lib/initialize/content.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/content.js +99 -0
- package/dist/node_modules/micromark/dev/lib/initialize/document.d.ts +10 -0
- package/dist/node_modules/micromark/dev/lib/initialize/document.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/document.js +449 -0
- package/dist/node_modules/micromark/dev/lib/initialize/flow.d.ts +4 -0
- package/dist/node_modules/micromark/dev/lib/initialize/flow.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/flow.js +86 -0
- package/dist/node_modules/micromark/dev/lib/initialize/text.d.ts +8 -0
- package/dist/node_modules/micromark/dev/lib/initialize/text.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/initialize/text.js +248 -0
- package/dist/node_modules/micromark/dev/lib/parse.d.ts +10 -0
- package/dist/node_modules/micromark/dev/lib/parse.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/parse.js +58 -0
- package/dist/node_modules/micromark/dev/lib/postprocess.d.ts +9 -0
- package/dist/node_modules/micromark/dev/lib/postprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/postprocess.js +19 -0
- package/dist/node_modules/micromark/dev/lib/preprocess.d.ts +13 -0
- package/dist/node_modules/micromark/dev/lib/preprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/lib/preprocess.js +139 -0
- package/dist/node_modules/micromark/dev/stream.d.ts +35 -0
- package/dist/node_modules/micromark/dev/stream.d.ts.map +1 -0
- package/dist/node_modules/micromark/dev/stream.js +270 -0
- package/dist/node_modules/micromark/index.d.ts +82 -0
- package/dist/node_modules/micromark/index.d.ts.map +1 -0
- package/dist/node_modules/micromark/index.js +60 -0
- package/dist/node_modules/micromark/lib/compile.d.ts +16 -0
- package/dist/node_modules/micromark/lib/compile.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/compile.js +1068 -0
- package/dist/node_modules/micromark/lib/constructs.d.ts +73 -0
- package/dist/node_modules/micromark/lib/constructs.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.d.ts +46 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +613 -0
- package/dist/node_modules/micromark/lib/initialize/content.d.ts +4 -0
- package/dist/node_modules/micromark/lib/initialize/content.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +79 -0
- package/dist/node_modules/micromark/lib/initialize/document.d.ts +10 -0
- package/dist/node_modules/micromark/lib/initialize/document.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +370 -0
- package/dist/node_modules/micromark/lib/initialize/flow.d.ts +4 -0
- package/dist/node_modules/micromark/lib/initialize/flow.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +58 -0
- package/dist/node_modules/micromark/lib/initialize/text.d.ts +8 -0
- package/dist/node_modules/micromark/lib/initialize/text.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +216 -0
- package/dist/node_modules/micromark/lib/parse.d.ts +10 -0
- package/dist/node_modules/micromark/lib/parse.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/parse.js +56 -0
- package/dist/node_modules/micromark/lib/postprocess.d.ts +9 -0
- package/dist/node_modules/micromark/lib/postprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/postprocess.js +18 -0
- package/dist/node_modules/micromark/lib/preprocess.d.ts +13 -0
- package/dist/node_modules/micromark/lib/preprocess.d.ts.map +1 -0
- package/dist/node_modules/micromark/lib/preprocess.js +112 -0
- package/dist/node_modules/micromark/license +22 -0
- package/dist/node_modules/micromark/package.json +87 -0
- package/dist/node_modules/micromark/readme.md +488 -0
- package/dist/node_modules/micromark/stream.d.ts +35 -0
- package/dist/node_modules/micromark/stream.d.ts.map +1 -0
- package/dist/node_modules/micromark/stream.js +256 -0
- package/dist/node_modules/micromark-core-commonmark/dev/index.d.ts +23 -0
- package/dist/node_modules/micromark-core-commonmark/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/index.js +22 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/attention.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/attention.js +294 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/autolink.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/autolink.js +269 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/blank-line.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/blank-line.js +62 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/block-quote.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/block-quote.js +162 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-escape.js +69 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-reference.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/character-reference.js +166 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-fenced.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-fenced.js +472 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-indented.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-indented.js +178 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/code-text.js +257 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/content.d.ts +7 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/content.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/content.js +185 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/definition.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/definition.js +295 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/hard-break-escape.js +65 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/heading-atx.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/heading-atx.js +229 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-flow.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-flow.js +938 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/html-text.js +783 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-end.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-end.js +658 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-image.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-image.js +119 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-link.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/label-start-link.js +71 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/line-ending.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/line-ending.js +34 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/list.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/list.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/list.js +306 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/partial-non-lazy-continuation.js +67 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/setext-underline.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/setext-underline.js +213 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/thematic-break.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/dev/lib/thematic-break.js +120 -0
- package/dist/node_modules/micromark-core-commonmark/index.d.ts +23 -0
- package/dist/node_modules/micromark-core-commonmark/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/index.js +22 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +231 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +233 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +61 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +143 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +64 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +149 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +422 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +159 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +225 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.d.ts +7 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +163 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +254 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +60 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +191 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +827 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +678 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +561 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +110 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +63 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +33 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +213 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +61 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +187 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts +4 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.d.ts.map +1 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +102 -0
- package/dist/node_modules/micromark-core-commonmark/license +22 -0
- package/dist/node_modules/micromark-core-commonmark/package.json +62 -0
- package/dist/node_modules/micromark-core-commonmark/readme.md +171 -0
- package/dist/node_modules/micromark-extension-gfm/index.d.ts +28 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +69 -0
- package/dist/node_modules/micromark-extension-gfm/license +22 -0
- package/dist/node_modules/micromark-extension-gfm/package.json +107 -0
- package/dist/node_modules/micromark-extension-gfm/readme.md +433 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/index.d.ts +24 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/html.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/html.js +56 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/dev/lib/syntax.js +983 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/index.d.ts +24 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/html.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js +60 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +854 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/package.json +116 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/readme.md +422 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/index.d.ts +164 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/html.d.ts +25 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/html.js +226 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.d.ts +9 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/dev/lib/syntax.js +558 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/index.d.ts +164 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/html.d.ts +25 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/html.js +154 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.d.ts +9 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +485 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/package.json +132 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/readme.md +656 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/index.d.ts +30 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/html.js +26 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/syntax.d.ts +12 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/dev/lib/syntax.js +183 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/index.d.ts +24 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/index.js +3 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/html.js +26 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.d.ts +12 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +142 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/package.json +129 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/readme.md +304 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/index.d.ts +55 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts +51 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/edit-map.js +231 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts +11 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/html.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/html.js +153 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts +14 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/infer.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/infer.js +64 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/syntax.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/dev/lib/syntax.js +964 -0
- package/dist/node_modules/micromark-extension-gfm-table/index.d.ts +55 -0
- package/dist/node_modules/micromark-extension-gfm-table/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts +51 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +222 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/html.d.ts +11 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/html.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/html.js +135 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.d.ts +14 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +52 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts +18 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.d.ts.map +1 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +846 -0
- package/dist/node_modules/micromark-extension-gfm-table/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-table/package.json +86 -0
- package/dist/node_modules/micromark-extension-gfm-table/readme.md +515 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/index.d.ts +1 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/index.js +1 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/lib/index.d.ts +12 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/lib/index.js +51 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/package.json +82 -0
- package/dist/node_modules/micromark-extension-gfm-tagfilter/readme.md +237 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/index.d.ts +17 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/html.js +29 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/dev/lib/syntax.js +166 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/index.d.ts +17 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/index.js +2 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/html.d.ts +13 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/html.js +29 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.d.ts +10 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +158 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/license +22 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/package.json +131 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/readme.md +305 -0
- package/dist/node_modules/micromark-factory-destination/dev/index.d.ts +42 -0
- package/dist/node_modules/micromark-factory-destination/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-destination/dev/index.js +255 -0
- package/dist/node_modules/micromark-factory-destination/index.d.ts +42 -0
- package/dist/node_modules/micromark-factory-destination/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-destination/index.js +206 -0
- package/dist/node_modules/micromark-factory-destination/license +22 -0
- package/dist/node_modules/micromark-factory-destination/package.json +57 -0
- package/dist/node_modules/micromark-factory-destination/readme.md +234 -0
- package/dist/node_modules/micromark-factory-label/dev/index.d.ts +37 -0
- package/dist/node_modules/micromark-factory-label/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-label/dev/index.js +172 -0
- package/dist/node_modules/micromark-factory-label/index.d.ts +37 -0
- package/dist/node_modules/micromark-factory-label/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-label/index.js +148 -0
- package/dist/node_modules/micromark-factory-label/license +22 -0
- package/dist/node_modules/micromark-factory-label/package.json +60 -0
- package/dist/node_modules/micromark-factory-label/readme.md +224 -0
- package/dist/node_modules/micromark-factory-space/dev/index.d.ts +60 -0
- package/dist/node_modules/micromark-factory-space/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-space/dev/index.js +122 -0
- package/dist/node_modules/micromark-factory-space/index.d.ts +60 -0
- package/dist/node_modules/micromark-factory-space/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-space/index.js +116 -0
- package/dist/node_modules/micromark-factory-space/license +22 -0
- package/dist/node_modules/micromark-factory-space/package.json +46 -0
- package/dist/node_modules/micromark-factory-space/readme.md +225 -0
- package/dist/node_modules/micromark-factory-title/dev/index.d.ts +36 -0
- package/dist/node_modules/micromark-factory-title/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-title/dev/index.js +169 -0
- package/dist/node_modules/micromark-factory-title/index.d.ts +36 -0
- package/dist/node_modules/micromark-factory-title/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-title/index.js +158 -0
- package/dist/node_modules/micromark-factory-title/license +22 -0
- package/dist/node_modules/micromark-factory-title/package.json +58 -0
- package/dist/node_modules/micromark-factory-title/readme.md +229 -0
- package/dist/node_modules/micromark-factory-whitespace/dev/index.d.ts +22 -0
- package/dist/node_modules/micromark-factory-whitespace/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-whitespace/dev/index.js +53 -0
- package/dist/node_modules/micromark-factory-whitespace/index.d.ts +22 -0
- package/dist/node_modules/micromark-factory-whitespace/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +44 -0
- package/dist/node_modules/micromark-factory-whitespace/license +22 -0
- package/dist/node_modules/micromark-factory-whitespace/package.json +57 -0
- package/dist/node_modules/micromark-factory-whitespace/readme.md +205 -0
- package/dist/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/dist/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-character/dev/index.js +252 -0
- package/dist/node_modules/micromark-util-character/index.d.ts +195 -0
- package/dist/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-character/index.js +246 -0
- package/dist/node_modules/micromark-util-character/license +22 -0
- package/dist/node_modules/micromark-util-character/package.json +57 -0
- package/dist/node_modules/micromark-util-character/readme.md +446 -0
- package/dist/node_modules/micromark-util-chunked/dev/index.d.ts +41 -0
- package/dist/node_modules/micromark-util-chunked/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-chunked/dev/index.js +89 -0
- package/dist/node_modules/micromark-util-chunked/index.d.ts +41 -0
- package/dist/node_modules/micromark-util-chunked/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-chunked/index.js +81 -0
- package/dist/node_modules/micromark-util-chunked/license +22 -0
- package/dist/node_modules/micromark-util-chunked/package.json +57 -0
- package/dist/node_modules/micromark-util-chunked/readme.md +219 -0
- package/dist/node_modules/micromark-util-classify-character/dev/index.d.ts +18 -0
- package/dist/node_modules/micromark-util-classify-character/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-classify-character/dev/index.js +38 -0
- package/dist/node_modules/micromark-util-classify-character/index.d.ts +18 -0
- package/dist/node_modules/micromark-util-classify-character/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +27 -0
- package/dist/node_modules/micromark-util-classify-character/license +22 -0
- package/dist/node_modules/micromark-util-classify-character/package.json +59 -0
- package/dist/node_modules/micromark-util-classify-character/readme.md +205 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.d.ts +22 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +143 -0
- package/dist/node_modules/micromark-util-combine-extensions/license +22 -0
- package/dist/node_modules/micromark-util-combine-extensions/package.json +52 -0
- package/dist/node_modules/micromark-util-combine-extensions/readme.md +201 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts +16 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/dev/index.js +42 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts +16 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/license +22 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/readme.md +184 -0
- package/dist/node_modules/micromark-util-decode-string/dev/index.d.ts +14 -0
- package/dist/node_modules/micromark-util-decode-string/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-string/dev/index.js +53 -0
- package/dist/node_modules/micromark-util-decode-string/index.d.ts +14 -0
- package/dist/node_modules/micromark-util-decode-string/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +45 -0
- package/dist/node_modules/micromark-util-decode-string/license +22 -0
- package/dist/node_modules/micromark-util-decode-string/package.json +63 -0
- package/dist/node_modules/micromark-util-decode-string/readme.md +179 -0
- package/dist/node_modules/micromark-util-edit-map/dev/index.d.ts +78 -0
- package/dist/node_modules/micromark-util-edit-map/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-edit-map/dev/index.js +237 -0
- package/dist/node_modules/micromark-util-edit-map/index.d.ts +78 -0
- package/dist/node_modules/micromark-util-edit-map/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-edit-map/index.js +225 -0
- package/dist/node_modules/micromark-util-edit-map/license +22 -0
- package/dist/node_modules/micromark-util-edit-map/package.json +48 -0
- package/dist/node_modules/micromark-util-edit-map/readme.md +234 -0
- package/dist/node_modules/micromark-util-encode/index.d.ts +14 -0
- package/dist/node_modules/micromark-util-encode/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-encode/index.js +33 -0
- package/dist/node_modules/micromark-util-encode/license +22 -0
- package/dist/node_modules/micromark-util-encode/package.json +47 -0
- package/dist/node_modules/micromark-util-encode/readme.md +176 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.d.ts +30 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +93 -0
- package/dist/node_modules/micromark-util-html-tag-name/license +22 -0
- package/dist/node_modules/micromark-util-html-tag-name/package.json +47 -0
- package/dist/node_modules/micromark-util-html-tag-name/readme.md +193 -0
- package/dist/node_modules/micromark-util-normalize-identifier/dev/index.d.ts +21 -0
- package/dist/node_modules/micromark-util-normalize-identifier/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-normalize-identifier/dev/index.js +38 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.d.ts +21 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +33 -0
- package/dist/node_modules/micromark-util-normalize-identifier/license +22 -0
- package/dist/node_modules/micromark-util-normalize-identifier/package.json +58 -0
- package/dist/node_modules/micromark-util-normalize-identifier/readme.md +187 -0
- package/dist/node_modules/micromark-util-resolve-all/index.d.ts +22 -0
- package/dist/node_modules/micromark-util-resolve-all/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +32 -0
- package/dist/node_modules/micromark-util-resolve-all/license +22 -0
- package/dist/node_modules/micromark-util-resolve-all/package.json +48 -0
- package/dist/node_modules/micromark-util-resolve-all/readme.md +238 -0
- package/dist/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +36 -0
- package/dist/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-sanitize-uri/dev/index.js +124 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.d.ts +36 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/dist/node_modules/micromark-util-sanitize-uri/license +22 -0
- package/dist/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/dist/node_modules/micromark-util-sanitize-uri/readme.md +214 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/index.d.ts +12 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/index.js +284 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts +161 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/dev/lib/splice-buffer.js +288 -0
- package/dist/node_modules/micromark-util-subtokenize/index.d.ts +12 -0
- package/dist/node_modules/micromark-util-subtokenize/index.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +228 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts +161 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +251 -0
- package/dist/node_modules/micromark-util-subtokenize/license +22 -0
- package/dist/node_modules/micromark-util-subtokenize/package.json +60 -0
- package/dist/node_modules/micromark-util-subtokenize/readme.md +181 -0
- package/dist/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/dist/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/dist/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/dist/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/dist/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/dist/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/dist/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/dist/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/dist/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/dist/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/dist/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/dist/node_modules/micromark-util-symbol/license +22 -0
- package/dist/node_modules/micromark-util-symbol/package.json +43 -0
- package/dist/node_modules/micromark-util-symbol/readme.md +168 -0
- package/dist/node_modules/micromark-util-types/index.d.ts +1315 -0
- package/dist/node_modules/micromark-util-types/index.js +2 -0
- package/dist/node_modules/micromark-util-types/license +22 -0
- package/dist/node_modules/micromark-util-types/package.json +37 -0
- package/dist/node_modules/micromark-util-types/readme.md +151 -0
- package/dist/node_modules/ms/index.js +162 -0
- package/dist/node_modules/ms/license.md +21 -0
- package/dist/node_modules/ms/package.json +38 -0
- package/dist/node_modules/ms/readme.md +59 -0
- package/dist/node_modules/node-forge/LICENSE +331 -0
- package/dist/node_modules/node-forge/README.md +2075 -0
- package/dist/node_modules/node-forge/dist/forge.all.min.js +2 -0
- package/dist/node_modules/node-forge/dist/forge.all.min.js.map +1 -0
- package/dist/node_modules/node-forge/dist/forge.min.js +2 -0
- package/dist/node_modules/node-forge/dist/forge.min.js.map +1 -0
- package/dist/node_modules/node-forge/dist/prime.worker.min.js +2 -0
- package/dist/node_modules/node-forge/dist/prime.worker.min.js.map +1 -0
- package/dist/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
- package/dist/node_modules/node-forge/lib/aes.js +1091 -0
- package/dist/node_modules/node-forge/lib/aesCipherSuites.js +282 -0
- package/dist/node_modules/node-forge/lib/asn1-validator.js +91 -0
- package/dist/node_modules/node-forge/lib/asn1.js +1522 -0
- package/dist/node_modules/node-forge/lib/baseN.js +186 -0
- package/dist/node_modules/node-forge/lib/cipher.js +230 -0
- package/dist/node_modules/node-forge/lib/cipherModes.js +1027 -0
- package/dist/node_modules/node-forge/lib/des.js +496 -0
- package/dist/node_modules/node-forge/lib/ed25519.js +1117 -0
- package/dist/node_modules/node-forge/lib/forge.js +13 -0
- package/dist/node_modules/node-forge/lib/form.js +149 -0
- package/dist/node_modules/node-forge/lib/hmac.js +146 -0
- package/dist/node_modules/node-forge/lib/http.js +1371 -0
- package/dist/node_modules/node-forge/lib/index.all.js +16 -0
- package/dist/node_modules/node-forge/lib/index.js +33 -0
- package/dist/node_modules/node-forge/lib/jsbn.js +1294 -0
- package/dist/node_modules/node-forge/lib/kem.js +168 -0
- package/dist/node_modules/node-forge/lib/log.js +319 -0
- package/dist/node_modules/node-forge/lib/md.all.js +13 -0
- package/dist/node_modules/node-forge/lib/md.js +11 -0
- package/dist/node_modules/node-forge/lib/md5.js +289 -0
- package/dist/node_modules/node-forge/lib/mgf.js +12 -0
- package/dist/node_modules/node-forge/lib/mgf1.js +57 -0
- package/dist/node_modules/node-forge/lib/oids.js +180 -0
- package/dist/node_modules/node-forge/lib/pbe.js +1029 -0
- package/dist/node_modules/node-forge/lib/pbkdf2.js +211 -0
- package/dist/node_modules/node-forge/lib/pem.js +413 -0
- package/dist/node_modules/node-forge/lib/pkcs1.js +276 -0
- package/dist/node_modules/node-forge/lib/pkcs12.js +1081 -0
- package/dist/node_modules/node-forge/lib/pkcs7.js +1260 -0
- package/dist/node_modules/node-forge/lib/pkcs7asn1.js +410 -0
- package/dist/node_modules/node-forge/lib/pki.js +102 -0
- package/dist/node_modules/node-forge/lib/prime.js +297 -0
- package/dist/node_modules/node-forge/lib/prime.worker.js +168 -0
- package/dist/node_modules/node-forge/lib/prng.js +419 -0
- package/dist/node_modules/node-forge/lib/pss.js +241 -0
- package/dist/node_modules/node-forge/lib/random.js +191 -0
- package/dist/node_modules/node-forge/lib/rc2.js +410 -0
- package/dist/node_modules/node-forge/lib/rsa.js +2014 -0
- package/dist/node_modules/node-forge/lib/sha1.js +319 -0
- package/dist/node_modules/node-forge/lib/sha256.js +327 -0
- package/dist/node_modules/node-forge/lib/sha512.js +561 -0
- package/dist/node_modules/node-forge/lib/socket.js +287 -0
- package/dist/node_modules/node-forge/lib/ssh.js +236 -0
- package/dist/node_modules/node-forge/lib/tls.js +4347 -0
- package/dist/node_modules/node-forge/lib/tlssocket.js +249 -0
- package/dist/node_modules/node-forge/lib/util.js +2652 -0
- package/dist/node_modules/node-forge/lib/x509.js +3946 -0
- package/dist/node_modules/node-forge/lib/xhr.js +738 -0
- package/dist/node_modules/node-forge/package.json +123 -0
- package/dist/node_modules/saxes/README.md +323 -0
- package/dist/node_modules/saxes/package.json +71 -0
- package/dist/node_modules/saxes/saxes.d.ts +635 -0
- package/dist/node_modules/saxes/saxes.js +2053 -0
- package/dist/node_modules/saxes/saxes.js.map +1 -0
- package/dist/node_modules/semver/LICENSE +15 -0
- package/dist/node_modules/semver/README.md +680 -0
- package/dist/node_modules/semver/bin/semver.js +195 -0
- package/dist/node_modules/semver/classes/comparator.js +143 -0
- package/dist/node_modules/semver/classes/index.js +7 -0
- package/dist/node_modules/semver/classes/range.js +577 -0
- package/dist/node_modules/semver/classes/semver.js +350 -0
- package/dist/node_modules/semver/functions/clean.js +8 -0
- package/dist/node_modules/semver/functions/cmp.js +54 -0
- package/dist/node_modules/semver/functions/coerce.js +62 -0
- package/dist/node_modules/semver/functions/compare-build.js +9 -0
- package/dist/node_modules/semver/functions/compare-loose.js +5 -0
- package/dist/node_modules/semver/functions/compare.js +7 -0
- package/dist/node_modules/semver/functions/diff.js +60 -0
- package/dist/node_modules/semver/functions/eq.js +5 -0
- package/dist/node_modules/semver/functions/gt.js +5 -0
- package/dist/node_modules/semver/functions/gte.js +5 -0
- package/dist/node_modules/semver/functions/inc.js +21 -0
- package/dist/node_modules/semver/functions/lt.js +5 -0
- package/dist/node_modules/semver/functions/lte.js +5 -0
- package/dist/node_modules/semver/functions/major.js +5 -0
- package/dist/node_modules/semver/functions/minor.js +5 -0
- package/dist/node_modules/semver/functions/neq.js +5 -0
- package/dist/node_modules/semver/functions/parse.js +18 -0
- package/dist/node_modules/semver/functions/patch.js +5 -0
- package/dist/node_modules/semver/functions/prerelease.js +8 -0
- package/dist/node_modules/semver/functions/rcompare.js +5 -0
- package/dist/node_modules/semver/functions/rsort.js +5 -0
- package/dist/node_modules/semver/functions/satisfies.js +12 -0
- package/dist/node_modules/semver/functions/sort.js +5 -0
- package/dist/node_modules/semver/functions/truncate.js +48 -0
- package/dist/node_modules/semver/functions/valid.js +8 -0
- package/dist/node_modules/semver/index.js +93 -0
- package/dist/node_modules/semver/internal/constants.js +37 -0
- package/dist/node_modules/semver/internal/debug.js +11 -0
- package/dist/node_modules/semver/internal/identifiers.js +29 -0
- package/dist/node_modules/semver/internal/lrucache.js +42 -0
- package/dist/node_modules/semver/internal/parse-options.js +17 -0
- package/dist/node_modules/semver/internal/re.js +223 -0
- package/dist/node_modules/semver/package.json +78 -0
- package/dist/node_modules/semver/preload.js +4 -0
- package/dist/node_modules/semver/range.bnf +17 -0
- package/dist/node_modules/semver/ranges/gtr.js +6 -0
- package/dist/node_modules/semver/ranges/intersects.js +9 -0
- package/dist/node_modules/semver/ranges/ltr.js +6 -0
- package/dist/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/dist/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/dist/node_modules/semver/ranges/min-version.js +63 -0
- package/dist/node_modules/semver/ranges/outside.js +82 -0
- package/dist/node_modules/semver/ranges/simplify.js +49 -0
- package/dist/node_modules/semver/ranges/subset.js +249 -0
- package/dist/node_modules/semver/ranges/to-comparators.js +10 -0
- package/dist/node_modules/semver/ranges/valid.js +13 -0
- package/dist/node_modules/unist-util-is/index.d.ts +5 -0
- package/dist/node_modules/unist-util-is/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-is/index.js +7 -0
- package/dist/node_modules/unist-util-is/lib/index.d.ts +111 -0
- package/dist/node_modules/unist-util-is/lib/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-is/lib/index.js +296 -0
- package/dist/node_modules/unist-util-is/license +22 -0
- package/dist/node_modules/unist-util-is/package.json +103 -0
- package/dist/node_modules/unist-util-is/readme.md +351 -0
- package/dist/node_modules/unist-util-stringify-position/index.d.ts +1 -0
- package/dist/node_modules/unist-util-stringify-position/index.js +1 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.d.ts +61 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/dist/node_modules/unist-util-stringify-position/license +22 -0
- package/dist/node_modules/unist-util-stringify-position/package.json +80 -0
- package/dist/node_modules/unist-util-stringify-position/readme.md +206 -0
- package/dist/node_modules/unist-util-visit/index.d.ts +16 -0
- package/dist/node_modules/unist-util-visit/index.js +2 -0
- package/dist/node_modules/unist-util-visit/lib/index.d.ts +219 -0
- package/dist/node_modules/unist-util-visit/lib/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +324 -0
- package/dist/node_modules/unist-util-visit/license +22 -0
- package/dist/node_modules/unist-util-visit/package.json +98 -0
- package/dist/node_modules/unist-util-visit/readme.md +373 -0
- package/dist/node_modules/unist-util-visit-parents/index.d.ts +18 -0
- package/dist/node_modules/unist-util-visit-parents/index.js +2 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.d.ts +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +11 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.node.d.ts +10 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.node.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.node.js +11 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.d.ts +540 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.d.ts.map +1 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +582 -0
- package/dist/node_modules/unist-util-visit-parents/license +22 -0
- package/dist/node_modules/unist-util-visit-parents/package.json +96 -0
- package/dist/node_modules/unist-util-visit-parents/readme.md +499 -0
- package/dist/node_modules/ws/LICENSE +20 -0
- package/dist/node_modules/ws/README.md +548 -0
- package/dist/node_modules/ws/browser.js +8 -0
- package/dist/node_modules/ws/index.js +22 -0
- package/dist/node_modules/ws/lib/buffer-util.js +131 -0
- package/dist/node_modules/ws/lib/constants.js +19 -0
- package/dist/node_modules/ws/lib/event-target.js +292 -0
- package/dist/node_modules/ws/lib/extension.js +203 -0
- package/dist/node_modules/ws/lib/limiter.js +55 -0
- package/dist/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/dist/node_modules/ws/lib/receiver.js +743 -0
- package/dist/node_modules/ws/lib/sender.js +607 -0
- package/dist/node_modules/ws/lib/stream.js +161 -0
- package/dist/node_modules/ws/lib/subprotocol.js +62 -0
- package/dist/node_modules/ws/lib/validation.js +152 -0
- package/dist/node_modules/ws/lib/websocket-server.js +562 -0
- package/dist/node_modules/ws/lib/websocket.js +1421 -0
- package/dist/node_modules/ws/package.json +74 -0
- package/dist/node_modules/ws/wrapper.mjs +21 -0
- package/dist/node_modules/xmlchars/LICENSE +18 -0
- package/dist/node_modules/xmlchars/README.md +33 -0
- package/dist/node_modules/xmlchars/package.json +51 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed4.d.ts +31 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed4.js +44 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed4.js.map +1 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed5.d.ts +51 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed5.js +105 -0
- package/dist/node_modules/xmlchars/xml/1.0/ed5.js.map +1 -0
- package/dist/node_modules/xmlchars/xml/1.1/ed2.d.ts +73 -0
- package/dist/node_modules/xmlchars/xml/1.1/ed2.js +145 -0
- package/dist/node_modules/xmlchars/xml/1.1/ed2.js.map +1 -0
- package/dist/node_modules/xmlchars/xmlchars.d.ts +170 -0
- package/dist/node_modules/xmlchars/xmlchars.js +191 -0
- package/dist/node_modules/xmlchars/xmlchars.js.map +1 -0
- package/dist/node_modules/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- package/dist/node_modules/xmlchars/xmlns/1.0/ed3.js +65 -0
- package/dist/node_modules/xmlchars/xmlns/1.0/ed3.js.map +1 -0
- package/dist/node_modules/yaml/LICENSE +13 -0
- package/dist/node_modules/yaml/README.md +172 -0
- package/dist/node_modules/yaml/bin.mjs +11 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/dist/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/dist/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +226 -0
- package/dist/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/dist/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/dist/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/dist/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/dist/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/dist/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/dist/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/dist/node_modules/yaml/browser/dist/errors.js +57 -0
- package/dist/node_modules/yaml/browser/dist/index.js +17 -0
- package/dist/node_modules/yaml/browser/dist/log.js +11 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Alias.js +118 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/dist/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/dist/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/dist/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/dist/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/dist/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/dist/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/dist/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/dist/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/dist/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/dist/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/dist/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/dist/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/dist/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/dist/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/dist/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/dist/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/dist/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/dist/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/dist/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/dist/node_modules/yaml/browser/dist/util.js +11 -0
- package/dist/node_modules/yaml/browser/dist/visit.js +233 -0
- package/dist/node_modules/yaml/browser/index.js +5 -0
- package/dist/node_modules/yaml/browser/package.json +3 -0
- package/dist/node_modules/yaml/dist/cli.d.ts +8 -0
- package/dist/node_modules/yaml/dist/cli.mjs +201 -0
- package/dist/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/dist/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/dist/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/dist/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/dist/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/dist/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/dist/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/dist/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/dist/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/dist/node_modules/yaml/dist/compose/composer.js +224 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/dist/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/dist/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/dist/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/dist/node_modules/yaml/dist/compose/resolve-flow-scalar.js +228 -0
- package/dist/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/dist/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/dist/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/dist/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/dist/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/dist/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/dist/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/dist/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/dist/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/dist/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/dist/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/dist/node_modules/yaml/dist/doc/Document.js +337 -0
- package/dist/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/dist/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/dist/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/dist/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/dist/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/dist/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/dist/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/dist/node_modules/yaml/dist/doc/directives.js +178 -0
- package/dist/node_modules/yaml/dist/errors.d.ts +21 -0
- package/dist/node_modules/yaml/dist/errors.js +62 -0
- package/dist/node_modules/yaml/dist/index.d.ts +25 -0
- package/dist/node_modules/yaml/dist/index.js +50 -0
- package/dist/node_modules/yaml/dist/log.d.ts +3 -0
- package/dist/node_modules/yaml/dist/log.js +19 -0
- package/dist/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/dist/node_modules/yaml/dist/nodes/Alias.js +120 -0
- package/dist/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/dist/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/dist/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/dist/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/dist/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/dist/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/dist/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/dist/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/dist/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/dist/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/dist/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/dist/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/dist/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/dist/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/dist/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/dist/node_modules/yaml/dist/options.d.ts +350 -0
- package/dist/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/dist/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/dist/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/dist/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/dist/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/dist/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/dist/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/dist/node_modules/yaml/dist/parse/cst.js +112 -0
- package/dist/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/dist/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/dist/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/dist/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/dist/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/dist/node_modules/yaml/dist/parse/parser.js +980 -0
- package/dist/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/dist/node_modules/yaml/dist/public-api.js +107 -0
- package/dist/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/dist/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/dist/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/dist/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/dist/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/dist/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/dist/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/dist/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/dist/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/dist/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/dist/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/dist/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/dist/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/dist/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/dist/node_modules/yaml/dist/schema/tags.js +99 -0
- package/dist/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/dist/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/dist/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/dist/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/dist/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/dist/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/dist/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/dist/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/dist/node_modules/yaml/dist/test-events.js +134 -0
- package/dist/node_modules/yaml/dist/util.d.ts +16 -0
- package/dist/node_modules/yaml/dist/util.js +28 -0
- package/dist/node_modules/yaml/dist/visit.d.ts +102 -0
- package/dist/node_modules/yaml/dist/visit.js +236 -0
- package/dist/node_modules/yaml/package.json +97 -0
- package/dist/node_modules/yaml/util.js +2 -0
- package/dist/node_modules/zod/LICENSE +21 -0
- package/dist/node_modules/zod/README.md +208 -0
- package/dist/node_modules/zod/index.cjs +33 -0
- package/dist/node_modules/zod/index.d.cts +4 -0
- package/dist/node_modules/zod/index.d.ts +4 -0
- package/dist/node_modules/zod/index.js +4 -0
- package/dist/node_modules/zod/package.json +118 -0
- package/dist/node_modules/zod/src/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/dist/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/dist/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/dist/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/dist/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/dist/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/dist/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/dist/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/dist/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/dist/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/dist/node_modules/zod/src/v3/errors.ts +13 -0
- package/dist/node_modules/zod/src/v3/external.ts +6 -0
- package/dist/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/dist/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/dist/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/dist/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/dist/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/dist/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/dist/node_modules/zod/src/v3/index.ts +4 -0
- package/dist/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/dist/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/dist/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/dist/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/dist/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/dist/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/dist/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/dist/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/dist/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/dist/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/dist/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/dist/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/dist/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/dist/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/dist/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/dist/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/dist/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/dist/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/dist/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/dist/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/dist/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/dist/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/dist/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/dist/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/dist/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/dist/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/dist/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/dist/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/dist/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/dist/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/dist/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/dist/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/dist/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/dist/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/dist/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/dist/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/dist/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/dist/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/dist/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/dist/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/dist/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/dist/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/dist/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/dist/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/dist/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/dist/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/dist/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/dist/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/dist/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/dist/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/dist/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/dist/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/dist/node_modules/zod/src/v3/types.ts +5136 -0
- package/dist/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/dist/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/dist/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/dist/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/dist/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/dist/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/dist/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/dist/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/dist/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/dist/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/dist/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/dist/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/dist/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/dist/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/dist/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/dist/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/dist/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/dist/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/dist/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/dist/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/dist/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/dist/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/dist/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/dist/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/dist/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/dist/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/dist/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/dist/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/dist/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/dist/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/dist/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/dist/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/dist/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/dist/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/dist/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/dist/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/dist/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/dist/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/dist/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/dist/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/dist/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/dist/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/dist/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/dist/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/dist/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/dist/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/dist/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/dist/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/dist/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/dist/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/dist/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/dist/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/dist/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/dist/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/dist/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/dist/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/dist/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/dist/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/dist/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/dist/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/dist/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/dist/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/dist/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/dist/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/dist/node_modules/zod/src/v4/core/config.ts +15 -0
- package/dist/node_modules/zod/src/v4/core/core.ts +134 -0
- package/dist/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/dist/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/dist/node_modules/zod/src/v4/core/function.ts +176 -0
- package/dist/node_modules/zod/src/v4/core/index.ts +15 -0
- package/dist/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/dist/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/dist/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/dist/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/dist/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/dist/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/dist/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/dist/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/dist/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/dist/node_modules/zod/src/v4/core/util.ts +775 -0
- package/dist/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/dist/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/dist/node_modules/zod/src/v4/index.ts +4 -0
- package/dist/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/dist/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/dist/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/dist/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/dist/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/dist/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/dist/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/dist/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/dist/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/dist/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/dist/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/dist/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/dist/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/dist/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/dist/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/dist/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/dist/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/dist/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/dist/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/dist/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/dist/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/dist/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/dist/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/dist/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/dist/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/dist/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/dist/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/dist/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/dist/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/dist/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/dist/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/dist/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/dist/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/dist/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/dist/node_modules/zod/v3/ZodError.cjs +138 -0
- package/dist/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/dist/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/dist/node_modules/zod/v3/ZodError.js +133 -0
- package/dist/node_modules/zod/v3/errors.cjs +17 -0
- package/dist/node_modules/zod/v3/errors.d.cts +5 -0
- package/dist/node_modules/zod/v3/errors.d.ts +5 -0
- package/dist/node_modules/zod/v3/errors.js +9 -0
- package/dist/node_modules/zod/v3/external.cjs +22 -0
- package/dist/node_modules/zod/v3/external.d.cts +6 -0
- package/dist/node_modules/zod/v3/external.d.ts +6 -0
- package/dist/node_modules/zod/v3/external.js +6 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/dist/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/dist/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/dist/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/dist/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/dist/node_modules/zod/v3/helpers/util.js +133 -0
- package/dist/node_modules/zod/v3/index.cjs +33 -0
- package/dist/node_modules/zod/v3/index.d.cts +4 -0
- package/dist/node_modules/zod/v3/index.d.ts +4 -0
- package/dist/node_modules/zod/v3/index.js +4 -0
- package/dist/node_modules/zod/v3/locales/en.cjs +111 -0
- package/dist/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/dist/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/dist/node_modules/zod/v3/locales/en.js +109 -0
- package/dist/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/dist/node_modules/zod/v3/standard-schema.js +1 -0
- package/dist/node_modules/zod/v3/types.cjs +3775 -0
- package/dist/node_modules/zod/v3/types.d.cts +1031 -0
- package/dist/node_modules/zod/v3/types.d.ts +1031 -0
- package/dist/node_modules/zod/v3/types.js +3693 -0
- package/dist/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/dist/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/classic/checks.js +1 -0
- package/dist/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/dist/node_modules/zod/v4/classic/coerce.js +17 -0
- package/dist/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/dist/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/dist/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/dist/node_modules/zod/v4/classic/compat.js +27 -0
- package/dist/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/dist/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/dist/node_modules/zod/v4/classic/errors.js +41 -0
- package/dist/node_modules/zod/v4/classic/external.cjs +70 -0
- package/dist/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/dist/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/dist/node_modules/zod/v4/classic/external.js +18 -0
- package/dist/node_modules/zod/v4/classic/index.cjs +33 -0
- package/dist/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/dist/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/dist/node_modules/zod/v4/classic/index.js +4 -0
- package/dist/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/dist/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/classic/iso.js +30 -0
- package/dist/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/dist/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/dist/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/dist/node_modules/zod/v4/classic/parse.js +6 -0
- package/dist/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/dist/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/dist/node_modules/zod/v4/core/api.cjs +1039 -0
- package/dist/node_modules/zod/v4/core/api.d.cts +284 -0
- package/dist/node_modules/zod/v4/core/api.d.ts +284 -0
- package/dist/node_modules/zod/v4/core/api.js +906 -0
- package/dist/node_modules/zod/v4/core/checks.cjs +591 -0
- package/dist/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/dist/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/dist/node_modules/zod/v4/core/checks.js +565 -0
- package/dist/node_modules/zod/v4/core/core.cjs +67 -0
- package/dist/node_modules/zod/v4/core/core.d.cts +49 -0
- package/dist/node_modules/zod/v4/core/core.d.ts +49 -0
- package/dist/node_modules/zod/v4/core/core.js +61 -0
- package/dist/node_modules/zod/v4/core/doc.cjs +39 -0
- package/dist/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/dist/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/dist/node_modules/zod/v4/core/doc.js +35 -0
- package/dist/node_modules/zod/v4/core/errors.cjs +226 -0
- package/dist/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/dist/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/dist/node_modules/zod/v4/core/errors.js +195 -0
- package/dist/node_modules/zod/v4/core/function.cjs +102 -0
- package/dist/node_modules/zod/v4/core/function.d.cts +52 -0
- package/dist/node_modules/zod/v4/core/function.d.ts +52 -0
- package/dist/node_modules/zod/v4/core/function.js +75 -0
- package/dist/node_modules/zod/v4/core/index.cjs +44 -0
- package/dist/node_modules/zod/v4/core/index.d.cts +15 -0
- package/dist/node_modules/zod/v4/core/index.d.ts +15 -0
- package/dist/node_modules/zod/v4/core/index.js +15 -0
- package/dist/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/dist/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/dist/node_modules/zod/v4/core/json-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/parse.cjs +87 -0
- package/dist/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/dist/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/dist/node_modules/zod/v4/core/parse.js +57 -0
- package/dist/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/dist/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/dist/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/dist/node_modules/zod/v4/core/regexes.js +95 -0
- package/dist/node_modules/zod/v4/core/registries.cjs +56 -0
- package/dist/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/dist/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/dist/node_modules/zod/v4/core/registries.js +51 -0
- package/dist/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/dist/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/dist/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/dist/node_modules/zod/v4/core/schemas.js +1717 -0
- package/dist/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/dist/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/dist/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/dist/node_modules/zod/v4/core/util.cjs +539 -0
- package/dist/node_modules/zod/v4/core/util.d.cts +183 -0
- package/dist/node_modules/zod/v4/core/util.d.ts +183 -0
- package/dist/node_modules/zod/v4/core/util.js +493 -0
- package/dist/node_modules/zod/v4/core/versions.cjs +8 -0
- package/dist/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/dist/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/dist/node_modules/zod/v4/core/versions.js +5 -0
- package/dist/node_modules/zod/v4/index.cjs +22 -0
- package/dist/node_modules/zod/v4/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/index.js +3 -0
- package/dist/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ar.js +116 -0
- package/dist/node_modules/zod/v4/locales/az.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/az.js +115 -0
- package/dist/node_modules/zod/v4/locales/be.cjs +190 -0
- package/dist/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/be.js +164 -0
- package/dist/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ca.js +118 -0
- package/dist/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/dist/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/cs.js +135 -0
- package/dist/node_modules/zod/v4/locales/de.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/de.js +116 -0
- package/dist/node_modules/zod/v4/locales/en.cjs +145 -0
- package/dist/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/en.js +117 -0
- package/dist/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/eo.js +116 -0
- package/dist/node_modules/zod/v4/locales/es.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/es.js +117 -0
- package/dist/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fa.js +122 -0
- package/dist/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fi.js +122 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/dist/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/fr.js +116 -0
- package/dist/node_modules/zod/v4/locales/he.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/he.js +117 -0
- package/dist/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/hu.js +117 -0
- package/dist/node_modules/zod/v4/locales/id.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/id.js +116 -0
- package/dist/node_modules/zod/v4/locales/index.cjs +84 -0
- package/dist/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/dist/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/dist/node_modules/zod/v4/locales/index.js +39 -0
- package/dist/node_modules/zod/v4/locales/it.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/it.js +117 -0
- package/dist/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/dist/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ja.js +115 -0
- package/dist/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/kh.js +117 -0
- package/dist/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/dist/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ko.js +121 -0
- package/dist/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/mk.js +118 -0
- package/dist/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ms.js +116 -0
- package/dist/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/nl.js +117 -0
- package/dist/node_modules/zod/v4/locales/no.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/no.js +116 -0
- package/dist/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ota.js +117 -0
- package/dist/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pl.js +117 -0
- package/dist/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/dist/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ps.js +122 -0
- package/dist/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/pt.js +116 -0
- package/dist/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/dist/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ru.js +164 -0
- package/dist/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sl.js +117 -0
- package/dist/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/dist/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/sv.js +118 -0
- package/dist/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ta.js +117 -0
- package/dist/node_modules/zod/v4/locales/th.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/th.js +117 -0
- package/dist/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/dist/node_modules/zod/v4/locales/tr.js +115 -0
- package/dist/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ua.js +117 -0
- package/dist/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/ur.js +117 -0
- package/dist/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/vi.js +116 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/dist/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/dist/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/dist/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/checks.js +1 -0
- package/dist/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/dist/node_modules/zod/v4/mini/coerce.js +17 -0
- package/dist/node_modules/zod/v4/mini/external.cjs +62 -0
- package/dist/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/dist/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/dist/node_modules/zod/v4/mini/external.js +13 -0
- package/dist/node_modules/zod/v4/mini/index.cjs +32 -0
- package/dist/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/dist/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/dist/node_modules/zod/v4/mini/index.js +3 -0
- package/dist/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/dist/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/dist/node_modules/zod/v4/mini/iso.js +30 -0
- package/dist/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/dist/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/dist/node_modules/zod/v4/mini/parse.js +1 -0
- package/dist/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/dist/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/dist/node_modules/zod/v4/mini/schemas.js +732 -0
- package/dist/node_modules/zod/v4-mini/index.cjs +17 -0
- package/dist/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/dist/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/dist/node_modules/zod/v4-mini/index.js +1 -0
- package/dist/node_modules/zwitch/index.d.ts +67 -0
- package/dist/node_modules/zwitch/index.js +118 -0
- package/dist/node_modules/zwitch/license +22 -0
- package/dist/node_modules/zwitch/package.json +72 -0
- package/dist/node_modules/zwitch/readme.md +226 -0
- package/dist/owner-report.d.ts +26 -0
- package/dist/owner-report.js +98 -0
- package/dist/policy.d.ts +3 -3
- package/dist/policy.js +2 -1
- package/dist/runtime-manifest.json +1 -0
- package/dist/server-ops.d.ts +10 -0
- package/dist/server-ops.js +231 -3
- package/dist/staged-connect.d.ts +37 -0
- package/dist/staged-connect.js +296 -0
- package/dist/staged-device.d.ts +109 -0
- package/dist/staged-device.js +227 -0
- package/dist/staged-session.d.ts +115 -0
- package/dist/staged-session.js +354 -0
- package/dist/state.d.ts +36 -8
- package/dist/state.js +101 -15
- package/package.json +10 -6
|
@@ -0,0 +1,2646 @@
|
|
|
1
|
+
import { hasNameReading, literalReadLists, literalWriteLists, reExposedBy, readRulesOf, samePathEntries, spelledOf, withOtherReadings, writeRootsOf, } from './path-entries.js';
|
|
2
|
+
import { createHttpProxyServer } from './http-proxy.js';
|
|
3
|
+
import { assertTlsTerminationSupported } from './emitted-connection.js';
|
|
4
|
+
import { createSocksProxyServer } from './socks-proxy.js';
|
|
5
|
+
import { createMuxProxyServer } from './mux-proxy.js';
|
|
6
|
+
import { listenInRange } from './listen-in-range.js';
|
|
7
|
+
import { SentinelRegistry } from './credential-sentinel.js';
|
|
8
|
+
import { MaskedFileStore, buildMaskedFileBinds, } from './credential-mask-files.js';
|
|
9
|
+
import { buildMaskedEnvVars } from './credential-mask-env.js';
|
|
10
|
+
import { AwsPairRegistry, createSigv4Planner, registerAwsPairs, } from './credential-aws-pairs.js';
|
|
11
|
+
import { createMitmCA, CRL_PATH, disposeMitmCA, disposeMitmCASync, } from './mitm-ca.js';
|
|
12
|
+
import { logForDebugging } from '../utils/debug.js';
|
|
13
|
+
import { whichSync } from '../utils/which.js';
|
|
14
|
+
import { getPlatform, getWslVersion } from '../utils/platform.js';
|
|
15
|
+
import * as fs from 'fs';
|
|
16
|
+
import { randomBytes } from 'node:crypto';
|
|
17
|
+
import { WorkingDirectoryChanged, wrapCommandWithSandboxLinux, initializeLinuxNetworkBridge, checkLinuxDependencies, cleanupBwrapMountPoints, linuxGetCwdMandatoryDenyPaths, } from './linux-sandbox-utils.js';
|
|
18
|
+
import { expandReadDenyGlobLinuxSteps } from './read-deny-glob.js';
|
|
19
|
+
import { wrapCommandWithSandboxMacOS, startMacOSSandboxLogMonitor, } from './macos-sandbox-utils.js';
|
|
20
|
+
import { startLinuxSandboxViolationMonitor, } from './linux-violation-monitor.js';
|
|
21
|
+
import { checkWindowsDependencies, checkWindowsDependenciesAsync, wrapCommandWithSandboxWindows, parseWindowsBinShell, expandWindowsFsPaths, rankWindowsFsAccess, restoreWindowsAcl, grantWindowsAclPersistent, windowsSetupVersionMismatch, windowsSrtWinOutdatedError, missingWindowsSrtWinCapability, windowsGrantsBeneathDenies, getWindowsProfileReadStatus, getWindowsProfileReadStatusAsync, windowsProfileExclusionConflicts, revokeWindowsAclChecked, getWindowsSandboxUserStatusAsync, ensurePersistentWindowsCa, verifyWindowsWfpEgress, resolveSrtWin, WindowsSandboxError, DEFAULT_WINDOWS_PROXY_PORT_RANGE, } from './windows-sandbox-utils.js';
|
|
22
|
+
import { getDefaultWritePaths, containsGlobChars, globBaseDirIsRoot, globPatternBaseDir, normalizePathForSandbox, removeTrailingGlobSuffix, walkGlobPatternSteps, workingDirectory, finish, finishInTurns, attributionKeyFor, decodeSandboxedCommand, encodeSandboxedCommand, } from './sandbox-utils.js';
|
|
23
|
+
import { ownInstallWarning } from './own-files.js';
|
|
24
|
+
import { SandboxViolationStore, sanitizeDenialReason, sanitizeUnregisteredCommandKey, shouldIgnoreViolation, } from './sandbox-violation-store.js';
|
|
25
|
+
import { canonicalizeHost, isValidHost, redactUrl, resolveParentProxy, } from './parent-proxy.js';
|
|
26
|
+
import { ALLOWED_DOMAIN_ENTRY_MESSAGE, isValidAllowedDomainEntry, matchesDomainPattern, matchesDomainPatternWithPort, stripDomainPatternPort, } from './domain-pattern.js';
|
|
27
|
+
import { createResolvedAddressGuard, isResolvedAddressDenied, } from './resolved-address-guard.js';
|
|
28
|
+
import { EOL } from 'node:os';
|
|
29
|
+
import { dirname } from 'node:path';
|
|
30
|
+
import { getJavaProxyAgentJarPathAsync } from './java-proxy-agent.js';
|
|
31
|
+
import { getApplySeccompBinaryPathAsync } from './generate-seccomp-filter.js';
|
|
32
|
+
// ============================================================================
|
|
33
|
+
// Private Module State
|
|
34
|
+
// ============================================================================
|
|
35
|
+
let config;
|
|
36
|
+
/** How many times a configuration has been installed. A wrap tells by this
|
|
37
|
+
* as well as by the object: initialize() keeps the caller's own, which can
|
|
38
|
+
* be handed to it again. */
|
|
39
|
+
let configInstalls = 0;
|
|
40
|
+
let httpProxyServer;
|
|
41
|
+
let socksProxyServer;
|
|
42
|
+
let muxProxyServer;
|
|
43
|
+
let managerContext;
|
|
44
|
+
let initializationPromise;
|
|
45
|
+
let cleanupRegistered = false;
|
|
46
|
+
let ownInstallLogged = false;
|
|
47
|
+
let logMonitorShutdown;
|
|
48
|
+
let linuxMonitor;
|
|
49
|
+
let parentProxy;
|
|
50
|
+
/** Read live through {@link directLookup}, so a config update applies to the next dial. */
|
|
51
|
+
let resolvedAddressGuard = createResolvedAddressGuard();
|
|
52
|
+
let mitmCA;
|
|
53
|
+
/**
|
|
54
|
+
* Resolved path of the JVM proxy agent jar (see java-proxy-agent.ts); set
|
|
55
|
+
* while a proxy is advertised to the sandbox, undefined if the jar is not
|
|
56
|
+
* shipped/found (JVMs then just aren't proxy-aware, as before).
|
|
57
|
+
*/
|
|
58
|
+
let javaAgentJarPath;
|
|
59
|
+
// Per-session proxy auth token. Generated at proxy start, exported only into
|
|
60
|
+
// the sandbox child env, checked on every CONNECT/request — so a host process
|
|
61
|
+
// dialing 127.0.0.1:<proxyPort> can't reach the filter callback.
|
|
62
|
+
let proxyAuthToken;
|
|
63
|
+
// Windows: the config's resolved access set that was actually applied
|
|
64
|
+
// at initialize(). `undefined` means no stamp/grant was applied
|
|
65
|
+
// (gates running `acl restore`/`acl revoke` at reset()).
|
|
66
|
+
let windowsFsStampedSet;
|
|
67
|
+
// The sandbox user SID captured at initialize(). reset() uses this
|
|
68
|
+
// so a config change between init and reset can't strand ACEs
|
|
69
|
+
// under a different SID.
|
|
70
|
+
let windowsFsSbUserSid;
|
|
71
|
+
// The RAW config inputs that produced `windowsFsStampedSet`.
|
|
72
|
+
// updateConfig() compares these (not the resolved set) so it never
|
|
73
|
+
// re-expands globs — see `sameWindowsStampSet`.
|
|
74
|
+
let windowsFsRawInputs;
|
|
75
|
+
// `verifyWindowsWfpEgress()` is once per PROCESS (it spawns a
|
|
76
|
+
// CreateProcessWithLogonW runner; first call may create the sandbox
|
|
77
|
+
// user's profile). The WFP fence is install-scoped, not config- or
|
|
78
|
+
// session-scoped — reset() does NOT clear this, so updateConfig()'s
|
|
79
|
+
// reset+reinit and the test suite's per-test reset() don't re-verify.
|
|
80
|
+
// Remembered as the sandbox account the check passed for: a different
|
|
81
|
+
// account (a reinstall) is checked again.
|
|
82
|
+
let windowsWfpVerifiedFor;
|
|
83
|
+
// And the loopback mode (`network.allowLocalBinding`) it was run with: a
|
|
84
|
+
// session configured with the other is checked, and refused, again.
|
|
85
|
+
let windowsWfpVerifiedLoopback;
|
|
86
|
+
// The `srt-win` builds, by identity, that reported every capability the
|
|
87
|
+
// library relies on. Only a yes is remembered.
|
|
88
|
+
const windowsCapableSrtWin = new Set();
|
|
89
|
+
/**
|
|
90
|
+
* What tells one `srt-win` from another: the executable, the arguments
|
|
91
|
+
* put in front of every call, and — so that a file replaced in place
|
|
92
|
+
* is a different one — its size and modification time.
|
|
93
|
+
*/
|
|
94
|
+
function windowsSrtWinIdentity(srtWin) {
|
|
95
|
+
let stat = '';
|
|
96
|
+
try {
|
|
97
|
+
const st = fs.statSync(srtWin.exe);
|
|
98
|
+
stat = `${st.size}:${st.mtimeMs}`;
|
|
99
|
+
}
|
|
100
|
+
catch {
|
|
101
|
+
// Not a path that can be looked at (resolved through PATH, say):
|
|
102
|
+
// the name and arguments are the identity.
|
|
103
|
+
}
|
|
104
|
+
return JSON.stringify([srtWin.exe, srtWin.prependArgs, stat]);
|
|
105
|
+
}
|
|
106
|
+
const WINDOWS_CAPABILITIES_WHY = `a session depends on (its read ` +
|
|
107
|
+
`denies are written on the profile read grant's paths by srt-win, ` +
|
|
108
|
+
`and kept grants are checked and removed there)`;
|
|
109
|
+
/**
|
|
110
|
+
* Make sure the `srt-win` this command runs through has reported every
|
|
111
|
+
* capability the library relies on; asked once per identity.
|
|
112
|
+
*/
|
|
113
|
+
function assertWindowsSrtWinCapable(srtWin) {
|
|
114
|
+
const id = windowsSrtWinIdentity(srtWin);
|
|
115
|
+
if (windowsCapableSrtWin.has(id))
|
|
116
|
+
return;
|
|
117
|
+
const missing = missingWindowsSrtWinCapability(getWindowsProfileReadStatus({ srtWin }).capabilities);
|
|
118
|
+
if (missing !== undefined) {
|
|
119
|
+
throw windowsSrtWinOutdatedError(missing, WINDOWS_CAPABILITIES_WHY);
|
|
120
|
+
}
|
|
121
|
+
windowsCapableSrtWin.add(id);
|
|
122
|
+
}
|
|
123
|
+
// Windows: whether this session's commands read the user's profile
|
|
124
|
+
// through the profile read grant.
|
|
125
|
+
let windowsProfileRead;
|
|
126
|
+
// Windows: what the session has to tell its user about the profile
|
|
127
|
+
// read grant it runs on (getWindowsProfileReadWarnings).
|
|
128
|
+
let windowsProfileReadWarnings = [];
|
|
129
|
+
/**
|
|
130
|
+
* What a session on this grant has to tell its user, from what
|
|
131
|
+
* `srt-win` found — each message says what was established about its
|
|
132
|
+
* paths and nothing more.
|
|
133
|
+
*/
|
|
134
|
+
export function windowsProfileReadWarningsOf(grant) {
|
|
135
|
+
const list = (items) => items.map(i => i.path).join(', ');
|
|
136
|
+
const out = [];
|
|
137
|
+
// Open through an entry this product wrote and could not take
|
|
138
|
+
// back: the strongest case, said first and as what it is.
|
|
139
|
+
const byOurs = grant.unprotected.filter(i => i.entry !== undefined);
|
|
140
|
+
const byList = grant.unprotected.filter(i => i.entry === undefined);
|
|
141
|
+
const callerReads = grant.unverifiable.filter(i => i.callerReads === true);
|
|
142
|
+
const rest = grant.unverifiable.filter(i => i.callerReads !== true);
|
|
143
|
+
if (byOurs.length + byList.length + callerReads.length > 0) {
|
|
144
|
+
const parts = [];
|
|
145
|
+
if (byOurs.length > 0) {
|
|
146
|
+
parts.push(`${byOurs.length} READABLE THROUGH AN ENTRY THIS PRODUCT WROTE and ` +
|
|
147
|
+
`could not remove — each path's reason gives the icacls command ` +
|
|
148
|
+
`that removes it, to be run as the object's owner or from an ` +
|
|
149
|
+
`elevated prompt, followed by the grant again (${list(byOurs)})`);
|
|
150
|
+
}
|
|
151
|
+
if (byList.length > 0) {
|
|
152
|
+
parts.push(`${byList.length} by their own access lists, which you may not ` +
|
|
153
|
+
`change (${list(byList)})`);
|
|
154
|
+
}
|
|
155
|
+
if (callerReads.length > 0) {
|
|
156
|
+
parts.push(`${callerReads.length} whose access lists could not be read but ` +
|
|
157
|
+
`which you can read all the same, so sandboxed commands may ` +
|
|
158
|
+
`too (${list(callerReads)})`);
|
|
159
|
+
}
|
|
160
|
+
out.push({
|
|
161
|
+
code: 'profile_exclusion_unprotected',
|
|
162
|
+
message: `Paths on the exclusion list of the profile read grant could not ` +
|
|
163
|
+
`be denied and are, or may be, readable to sandboxed commands: ` +
|
|
164
|
+
parts.join('; ') +
|
|
165
|
+
`. Only their owner or an administrator can close them.`,
|
|
166
|
+
paths: [...byOurs, ...byList, ...callerReads],
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
if (rest.length > 0) {
|
|
170
|
+
const unreadable = rest.filter(i => i.callerReads === false);
|
|
171
|
+
const noAccount = rest.filter(i => i.cause === 'account_unknown');
|
|
172
|
+
const other = rest.filter(i => i.callerReads !== false && i.cause !== 'account_unknown');
|
|
173
|
+
const parts = [];
|
|
174
|
+
if (unreadable.length > 0) {
|
|
175
|
+
parts.push(`${unreadable.length} whose access lists could not be read; you ` +
|
|
176
|
+
`cannot read their content either (${list(unreadable)})`);
|
|
177
|
+
}
|
|
178
|
+
if (noAccount.length > 0) {
|
|
179
|
+
parts.push(`${noAccount.length} that could not be examined because the ` +
|
|
180
|
+
`sandbox account is not known (${list(noAccount)})`);
|
|
181
|
+
}
|
|
182
|
+
if (other.length > 0) {
|
|
183
|
+
parts.push(`${other.length} that were not examined (${list(other)})`);
|
|
184
|
+
}
|
|
185
|
+
out.push({
|
|
186
|
+
code: 'profile_exclusion_unverifiable',
|
|
187
|
+
message: `Paths on the exclusion list of the profile read grant could not ` +
|
|
188
|
+
`be denied, and whether sandboxed commands can read them was not ` +
|
|
189
|
+
`established: ` +
|
|
190
|
+
parts.join('; ') +
|
|
191
|
+
`.`,
|
|
192
|
+
paths: rest,
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
if (grant.staleAllow.length > 0) {
|
|
196
|
+
out.push({
|
|
197
|
+
code: 'profile_stale_allow',
|
|
198
|
+
message: `${grant.staleAllow.length} path(s) that have left the profile ` +
|
|
199
|
+
`read grant still carry an entry of it that could not be removed, ` +
|
|
200
|
+
`and are readable to sandboxed commands through it: ` +
|
|
201
|
+
`${list(grant.staleAllow)}. None is on the exclusion list. Each ` +
|
|
202
|
+
`path's reason gives the icacls command that removes the entry.`,
|
|
203
|
+
paths: grant.staleAllow,
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
const replaced = grant.replacedFiles ?? [];
|
|
207
|
+
if (replaced.length > 0) {
|
|
208
|
+
out.push({
|
|
209
|
+
code: 'profile_file_replaced',
|
|
210
|
+
message: `${replaced.length} configuration file(s) were replaced since the ` +
|
|
211
|
+
`profile read grant was made and are not readable to sandboxed ` +
|
|
212
|
+
`commands; the variables that point at them are not returned: ` +
|
|
213
|
+
`${replaced.join(', ')}. Run grantWindowsProfileRead() ` +
|
|
214
|
+
`(\`srt-win profile grant\`) again.`,
|
|
215
|
+
paths: replaced.map(path => ({
|
|
216
|
+
path,
|
|
217
|
+
reason: 'replaced since the grant was made',
|
|
218
|
+
})),
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
return out;
|
|
222
|
+
}
|
|
223
|
+
// Resolved once at initialize() (`resolveSrtWin` stats the disk).
|
|
224
|
+
// Captured so wrapWithSandboxArgv/reset() don't re-resolve per call
|
|
225
|
+
// and so reset()'s revoke/restore addresses the SAME binary the
|
|
226
|
+
// grants/stamps were applied with even if `config` mutated between.
|
|
227
|
+
let srtWinSpawn;
|
|
228
|
+
const sandboxViolationStore = new SandboxViolationStore();
|
|
229
|
+
// Per-session sentinel↔real-value map for masked credentials. Lives only in
|
|
230
|
+
// process memory; never written to disk or logged. Cleared on reset().
|
|
231
|
+
const sentinelRegistry = new SentinelRegistry();
|
|
232
|
+
// Per-session linked AWS credential pairs for SigV4 re-signing, keyed by
|
|
233
|
+
// the fake access key id. Same lifecycle and secrecy posture as the
|
|
234
|
+
// sentinel registry.
|
|
235
|
+
const awsPairRegistry = new AwsPairRegistry();
|
|
236
|
+
// Temp dir holding the sentinel-content fake files for masked credential
|
|
237
|
+
// files. Created lazily on first masked file; removed on reset().
|
|
238
|
+
const maskedFileStore = new MaskedFileStore();
|
|
239
|
+
// ============================================================================
|
|
240
|
+
// Private Helper Functions (not exported)
|
|
241
|
+
// ============================================================================
|
|
242
|
+
function registerCleanup() {
|
|
243
|
+
if (cleanupRegistered) {
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
const cleanupHandler = () => reset().catch(e => {
|
|
247
|
+
logForDebugging(`Cleanup failed in registerCleanup ${e}`, {
|
|
248
|
+
level: 'error',
|
|
249
|
+
});
|
|
250
|
+
});
|
|
251
|
+
process.once('exit', () => {
|
|
252
|
+
void cleanupHandler();
|
|
253
|
+
// On 'exit' reset() gets as far as its first await, so what it takes out
|
|
254
|
+
// of the temp directory later than that goes here. After it, because on
|
|
255
|
+
// Windows it starts by revoking a grant on the trust-bundle directory.
|
|
256
|
+
// Only paths this process made and still holds: never a listing of the
|
|
257
|
+
// temp directory, never a path out of the configuration.
|
|
258
|
+
if (mitmCA)
|
|
259
|
+
disposeMitmCASync(mitmCA);
|
|
260
|
+
muxProxyServer?.removeBackendSocketSync();
|
|
261
|
+
maskedFileStore.dispose();
|
|
262
|
+
// A bridge told to end removes its own socket, but not every time.
|
|
263
|
+
const bridge = managerContext?.linuxBridge;
|
|
264
|
+
for (const path of [bridge?.httpSocketPath, bridge?.socksSocketPath]) {
|
|
265
|
+
try {
|
|
266
|
+
if (path)
|
|
267
|
+
fs.rmSync(path, { force: true });
|
|
268
|
+
}
|
|
269
|
+
catch {
|
|
270
|
+
// Best effort: an 'exit' handler must not throw.
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
process.once('SIGINT', cleanupHandler);
|
|
275
|
+
process.once('SIGTERM', cleanupHandler);
|
|
276
|
+
cleanupRegistered = true;
|
|
277
|
+
}
|
|
278
|
+
// An older srt-win reports 'restored'/'alreadyOriginal' where a
|
|
279
|
+
// current one reports 'revoked'/'stillHeld'.
|
|
280
|
+
const WINDOWS_ACL_RELEASE_OK = new Set([
|
|
281
|
+
'revoked',
|
|
282
|
+
'stillHeld',
|
|
283
|
+
'restored',
|
|
284
|
+
'alreadyOriginal',
|
|
285
|
+
]);
|
|
286
|
+
function logWindowsAclOutcomes(kind, outcomes) {
|
|
287
|
+
for (const e of outcomes ?? []) {
|
|
288
|
+
if (!WINDOWS_ACL_RELEASE_OK.has(e.status)) {
|
|
289
|
+
logForDebugging(`[Sandbox Windows] ${kind}: '${e.path}' ${e.status} — ` +
|
|
290
|
+
`ACE may be left in place; resolve and run ` +
|
|
291
|
+
`\`srt-win acl recover\` to clear`, { level: 'warn' });
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Whether the deny restore may run: only after a revoke that
|
|
297
|
+
* completed — otherwise a grant may still be on disk, and the sandbox
|
|
298
|
+
* account is shared. srt-win enforces the same rule from its records.
|
|
299
|
+
*/
|
|
300
|
+
function windowsAclRestoreAllowed(revoke) {
|
|
301
|
+
logWindowsAclOutcomes('grant revoke', revoke.outcomes);
|
|
302
|
+
if (revoke.complete)
|
|
303
|
+
return true;
|
|
304
|
+
const paths = revoke.pending;
|
|
305
|
+
logForDebugging(`[Sandbox Windows] grant revoke did not complete` +
|
|
306
|
+
` — NOT running the deny restore; deny ACEs stay in place ` +
|
|
307
|
+
`while a grant may still be on disk. Grants possibly left in ` +
|
|
308
|
+
`place: ${paths.length > 0 ? paths.map(p => `'${p}'`).join(', ') : '(none reported)'}` +
|
|
309
|
+
(revoke.detail ? `. srt-win: ${revoke.detail}` : '') +
|
|
310
|
+
`. The next revoke retries them; after this process exits, ` +
|
|
311
|
+
`\`srt-win acl recover\` does, and removes its deny ACEs once ` +
|
|
312
|
+
`they are released (\`--force\` drops the record of a grant ` +
|
|
313
|
+
`that can no longer be located).`, { level: 'error' });
|
|
314
|
+
return false;
|
|
315
|
+
}
|
|
316
|
+
function releaseWindowsSessionAcls(sandboxUserSid, srtWin) {
|
|
317
|
+
const o = { sandboxUserSid, srtWin };
|
|
318
|
+
if (windowsAclRestoreAllowed(revokeWindowsAclChecked(o))) {
|
|
319
|
+
logWindowsAclOutcomes('deny restore', restoreWindowsAcl(o));
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Attribution key to command text for every wrapped invocation, so each
|
|
324
|
+
* producer can report (and ignoreViolations can match) the command an event
|
|
325
|
+
* belongs to rather than the opaque key. Keys are held decoded because that
|
|
326
|
+
* is the form the carriers deliver. Bounded FIFO: the violation store itself
|
|
327
|
+
* only retains the last 100 events, so long-gone invocations need no entry.
|
|
328
|
+
*/
|
|
329
|
+
const MAX_COMMAND_TEXTS = 1024;
|
|
330
|
+
const commandTextsByKey = new Map();
|
|
331
|
+
/** Exported for testing. */
|
|
332
|
+
export function registerCommandText(command, options) {
|
|
333
|
+
const key = decodeSandboxedCommand(encodeSandboxedCommand(attributionKeyFor(command, options?.commandId)));
|
|
334
|
+
const text = options?.commandText ?? command;
|
|
335
|
+
commandTextsByKey.delete(key);
|
|
336
|
+
commandTextsByKey.set(key, text);
|
|
337
|
+
while (commandTextsByKey.size > MAX_COMMAND_TEXTS) {
|
|
338
|
+
const oldest = commandTextsByKey.keys().next().value;
|
|
339
|
+
if (oldest === undefined)
|
|
340
|
+
break;
|
|
341
|
+
commandTextsByKey.delete(oldest);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* The command text for a decoded attribution key. Keys arrive over carriers
|
|
346
|
+
* the sandboxed process can write (the observe socket's event field, the
|
|
347
|
+
* macOS log tag, the proxy username), so only a key this process registered
|
|
348
|
+
* carries the embedder's own text; anything else is untrusted bytes.
|
|
349
|
+
* Exported for testing.
|
|
350
|
+
*/
|
|
351
|
+
export function resolveCommandText(decodedKey) {
|
|
352
|
+
return (commandTextsByKey.get(decodedKey) ??
|
|
353
|
+
sanitizeUnregisteredCommandKey(decodedKey));
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* The shortest commandId a per-command allow list may be registered under:
|
|
357
|
+
* 16 random bytes (128 bits) as unpadded base64url. The floor only turns away
|
|
358
|
+
* what is too short to hold 128 bits: it cannot tell a random id from a
|
|
359
|
+
* predictable one of the same length.
|
|
360
|
+
*/
|
|
361
|
+
const MIN_NETWORK_LISTS_COMMAND_ID_LENGTH = 22;
|
|
362
|
+
/**
|
|
363
|
+
* Attribution key to the network allow list registered for one invocation
|
|
364
|
+
* (registerCommandNetworkLists), keyed the way commandTextsByKey is because
|
|
365
|
+
* the proxy username delivers both. The embedder removes an entry when its
|
|
366
|
+
* command is gone. Not bounded the way commandTextsByKey is: dropping the
|
|
367
|
+
* oldest entry would silently take a list away from a running command.
|
|
368
|
+
*/
|
|
369
|
+
const commandNetworkListsByKey = new Map();
|
|
370
|
+
function registerCommandNetworkLists(commandId, lists) {
|
|
371
|
+
// The floor is measured on the key the map holds, not on the raw id, and
|
|
372
|
+
// less U+FFFD: every unpaired surrogate becomes one, so it carries nothing.
|
|
373
|
+
const key = typeof commandId === 'string'
|
|
374
|
+
? decodeSandboxedCommand(encodeSandboxedCommand(commandId))
|
|
375
|
+
: '';
|
|
376
|
+
// The id is not echoed in either message: it is what stands between a
|
|
377
|
+
// sandboxed process and this list, and error text ends up in logs.
|
|
378
|
+
if (key.replace(/\ufffd/g, '').length < MIN_NETWORK_LISTS_COMMAND_ID_LENGTH) {
|
|
379
|
+
throw new Error(`registerCommandNetworkLists: commandId must be a string of at least ` +
|
|
380
|
+
`${MIN_NETWORK_LISTS_COMMAND_ID_LENGTH} characters, unpaired ` +
|
|
381
|
+
`surrogates not counted. The id is the ` +
|
|
382
|
+
`only thing that binds a proxy connection to this allow list, and ` +
|
|
383
|
+
`the sandboxed process chooses which id it presents, so it must be ` +
|
|
384
|
+
`random (at least 128 bits, e.g. 16 random bytes as base64url) and ` +
|
|
385
|
+
`never derived from the command text, a counter or the time.`);
|
|
386
|
+
}
|
|
387
|
+
const allowedDomains = lists?.allowedDomains ?? [];
|
|
388
|
+
if (!Array.isArray(allowedDomains)) {
|
|
389
|
+
throw new Error('registerCommandNetworkLists: allowedDomains must be an array of strings.');
|
|
390
|
+
}
|
|
391
|
+
for (const entry of allowedDomains) {
|
|
392
|
+
if (typeof entry !== 'string' || !isValidAllowedDomainEntry(entry)) {
|
|
393
|
+
throw new Error(`registerCommandNetworkLists: invalid allowedDomains entry ` +
|
|
394
|
+
`${JSON.stringify(entry)}. ${ALLOWED_DOMAIN_ENTRY_MESSAGE}`);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
commandNetworkListsByKey.set(key,
|
|
398
|
+
// Copied, so the caller cannot change what was validated.
|
|
399
|
+
{ allowedDomains: [...allowedDomains] });
|
|
400
|
+
// An external HTTP proxy is handed no username, so no connection names an id.
|
|
401
|
+
if (config?.network.httpProxyPort !== undefined) {
|
|
402
|
+
logForDebugging('registerCommandNetworkLists: network.httpProxyPort is set (an ' +
|
|
403
|
+
'external proxy), so this list will never apply', { level: 'warn' });
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
function unregisterCommandNetworkLists(commandId) {
|
|
407
|
+
if (typeof commandId !== 'string')
|
|
408
|
+
return;
|
|
409
|
+
commandNetworkListsByKey.delete(decodeSandboxedCommand(encodeSandboxedCommand(commandId)));
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* Record a proxy-side denial in the violation store so the model sees a
|
|
413
|
+
* structured <sandbox_violations> block alongside the raw 403 / SOCKS
|
|
414
|
+
* failure in stderr — parity with the macOS seatbelt log monitor and the
|
|
415
|
+
* Linux seccomp observer. The proxy is the only component that knows the
|
|
416
|
+
* destination host of a network deny, so neither of those can produce
|
|
417
|
+
* this line. `encodedCommand` (from the proxy username) attributes it to
|
|
418
|
+
* the invocation; without one the event is stored unattributed.
|
|
419
|
+
*/
|
|
420
|
+
function recordProxyViolation(line, encodedCommand) {
|
|
421
|
+
const command = encodedCommand
|
|
422
|
+
? resolveCommandText(decodeSandboxedCommand(encodedCommand))
|
|
423
|
+
: undefined;
|
|
424
|
+
// Same suppression the seatbelt / seccomp monitors apply, so a
|
|
425
|
+
// configured ignoreViolations pattern silences the event no matter
|
|
426
|
+
// which producer saw it.
|
|
427
|
+
if (shouldIgnoreViolation(line, command, config?.ignoreViolations)) {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
sandboxViolationStore.addViolation({
|
|
431
|
+
line,
|
|
432
|
+
encodedCommand,
|
|
433
|
+
command,
|
|
434
|
+
timestamp: new Date(),
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
function recordOutboundDeny(host, port, reason, encodedCommand) {
|
|
438
|
+
recordProxyViolation(`deny network-outbound ${host}:${port} (${reason})`, encodedCommand);
|
|
439
|
+
}
|
|
440
|
+
/** Direct-dial `lookup` for the proxies: the current guard's, with a refusal recorded as a violation. */
|
|
441
|
+
const directLookup = (port, encodedCommand) => (hostname, options, callback) => resolvedAddressGuard.lookupFor(port)(hostname, options, (err, address, family) => {
|
|
442
|
+
if (isResolvedAddressDenied(err)) {
|
|
443
|
+
recordOutboundDeny(hostname, port, err.reason, encodedCommand);
|
|
444
|
+
}
|
|
445
|
+
callback(err, address, family);
|
|
446
|
+
});
|
|
447
|
+
/**
|
|
448
|
+
* The request URL as it should appear in a model-visible violation line: as
|
|
449
|
+
* spelled (parsed, a refused `/a/../b` would read `/b`), with a query string
|
|
450
|
+
* or fragment reduced to a `?…` or `#…` marker. (The proxy rebuilds the
|
|
451
|
+
* authority, so an embedded `name:pass@` is gone already.) Query strings
|
|
452
|
+
* routinely carry credentials (api_key=, access_token=, signed URLs) that
|
|
453
|
+
* the sandboxed client interpolated at runtime and that were never in the
|
|
454
|
+
* model's context, so they must not enter the transcript via the
|
|
455
|
+
* <sandbox_violations> block. The full URL still reaches the embedder's
|
|
456
|
+
* filterRequest callback and its own debug logging.
|
|
457
|
+
*/
|
|
458
|
+
function redactUrlForViolation(url) {
|
|
459
|
+
const cut = url.search(/[?#]/);
|
|
460
|
+
return cut === -1 ? url : `${url.slice(0, cut + 1)}…`;
|
|
461
|
+
}
|
|
462
|
+
/** Whether an ask-callback answer is one of the two documented denials. */
|
|
463
|
+
function isDeclaredDenial(answer) {
|
|
464
|
+
return (answer === false ||
|
|
465
|
+
(typeof answer === 'object' &&
|
|
466
|
+
answer !== null &&
|
|
467
|
+
answer.allow === false));
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* The reason an ask-callback answer gives for denying, sanitized, or
|
|
471
|
+
* undefined when it gives none that can be shown. Only
|
|
472
|
+
* `{ allow: false, reason }` supplies one: a reason on any other object was
|
|
473
|
+
* not written as the explanation of a denial.
|
|
474
|
+
*/
|
|
475
|
+
function denialReasonOf(answer) {
|
|
476
|
+
if (typeof answer !== 'object' || answer === null)
|
|
477
|
+
return undefined;
|
|
478
|
+
const { allow, reason } = answer;
|
|
479
|
+
if (allow !== false || typeof reason !== 'string')
|
|
480
|
+
return undefined;
|
|
481
|
+
return sanitizeDenialReason(reason) || undefined;
|
|
482
|
+
}
|
|
483
|
+
/** Own keys only: an entry can be spelled `constructor`. */
|
|
484
|
+
function deniedDomainReason(entry) {
|
|
485
|
+
const reasons = config?.network.deniedDomainReasons ?? {};
|
|
486
|
+
const own = Object.prototype.hasOwnProperty.call(reasons, entry);
|
|
487
|
+
return (own ? reasons[entry] : undefined) ?? 'host is on the deny list';
|
|
488
|
+
}
|
|
489
|
+
async function filterNetworkRequest(port, host, sandboxAskCallback, encodedCommand, explain) {
|
|
490
|
+
const denied = (reason) => {
|
|
491
|
+
recordOutboundDeny(host, port, reason, encodedCommand);
|
|
492
|
+
explain?.(reason);
|
|
493
|
+
return false;
|
|
494
|
+
};
|
|
495
|
+
if (!config) {
|
|
496
|
+
logForDebugging('No config available, denying network request');
|
|
497
|
+
return denied('sandbox policy unavailable');
|
|
498
|
+
}
|
|
499
|
+
// Reject hosts containing control characters before pattern matching.
|
|
500
|
+
// `matchesDomainPattern` uses string suffix matching which is trivially
|
|
501
|
+
// fooled by e.g. `evil.com\x00.allowed.com` — the null byte passes
|
|
502
|
+
// `.endsWith()` but truncates at the libc DNS layer. The SOCKS path is the
|
|
503
|
+
// main exposure (DOMAINNAME is unvalidated bytes); HTTP is protected by
|
|
504
|
+
// llhttp/URL parsing, but we check here for defence in depth.
|
|
505
|
+
if (!isValidHost(host)) {
|
|
506
|
+
logForDebugging(`Denying malformed host: ${JSON.stringify(host)}:${port}`, {
|
|
507
|
+
level: 'error',
|
|
508
|
+
});
|
|
509
|
+
return denied('malformed host');
|
|
510
|
+
}
|
|
511
|
+
// Canonicalize so string comparisons match what getaddrinfo() will dial.
|
|
512
|
+
// Without this, inet_aton shorthand like `2852039166` (= 169.254.169.254)
|
|
513
|
+
// or `127.1` slips past a denylist entry for the dotted-decimal form.
|
|
514
|
+
const canonicalHost = canonicalizeHost(host) ?? host;
|
|
515
|
+
// Check denied domains first
|
|
516
|
+
for (const deniedDomain of config.network.deniedDomains) {
|
|
517
|
+
if (matchesDomainPatternWithPort(canonicalHost, port, deniedDomain)) {
|
|
518
|
+
logForDebugging(`Denied by config rule: ${host}:${port}`);
|
|
519
|
+
// The matched entry's own reason when the caller supplied one, so the
|
|
520
|
+
// model reads why this destination is off-limits (and the sanctioned
|
|
521
|
+
// alternative) instead of a generic deny; keyed by the exact entry.
|
|
522
|
+
return denied(deniedDomainReason(deniedDomain));
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
// Check allowed domains
|
|
526
|
+
for (const allowedDomain of config.network.allowedDomains) {
|
|
527
|
+
if (matchesDomainPatternWithPort(canonicalHost, port, allowedDomain)) {
|
|
528
|
+
logForDebugging(`Allowed by config rule: ${host}:${port}`);
|
|
529
|
+
return true;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
// strictAllowlist makes the configured allowlist deterministic enforcement:
|
|
533
|
+
// neither a per-command allow list nor the callback below can widen it.
|
|
534
|
+
if (config.network.strictAllowlist) {
|
|
535
|
+
logForDebugging(`No matching config rule, denying: ${host}:${port}`);
|
|
536
|
+
return denied('host is not on the allow list');
|
|
537
|
+
}
|
|
538
|
+
// The allow list registered for the invocation the proxy username names.
|
|
539
|
+
// Coming after both configured lists, it lifts the default deny for that
|
|
540
|
+
// one command and never a configured deniedDomains entry. The username is
|
|
541
|
+
// presented by the sandboxed client: see registerCommandNetworkLists.
|
|
542
|
+
const perCommand = encodedCommand
|
|
543
|
+
? commandNetworkListsByKey.get(decodeSandboxedCommand(encodedCommand))
|
|
544
|
+
: undefined;
|
|
545
|
+
for (const allowedDomain of perCommand?.allowedDomains ?? []) {
|
|
546
|
+
if (matchesDomainPatternWithPort(canonicalHost, port, allowedDomain)) {
|
|
547
|
+
logForDebugging(`Allowed by per-command rule: ${host}:${port}`);
|
|
548
|
+
return true;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
if (!sandboxAskCallback) {
|
|
552
|
+
logForDebugging(`No matching rule, denying: ${host}:${port}`);
|
|
553
|
+
return denied('host is not on the allow list');
|
|
554
|
+
}
|
|
555
|
+
logForDebugging(`No matching rule, asking user: ${host}:${port}`);
|
|
556
|
+
try {
|
|
557
|
+
// Held as unknown: a JavaScript caller is not bound by the declared type.
|
|
558
|
+
const answer = await sandboxAskCallback({ host, port });
|
|
559
|
+
// Only `true` allows: an object is how a callback denies with a reason,
|
|
560
|
+
// and a truthiness test here would read every such denial as an allow.
|
|
561
|
+
if (answer === true) {
|
|
562
|
+
logForDebugging(`User allowed: ${host}:${port}`);
|
|
563
|
+
return true;
|
|
564
|
+
}
|
|
565
|
+
if (!isDeclaredDenial(answer)) {
|
|
566
|
+
logForDebugging(`Ask callback answered neither a boolean nor { allow: false, reason }; treating it as a denial: ${host}:${port}`, { level: 'warn' });
|
|
567
|
+
}
|
|
568
|
+
logForDebugging(`User denied: ${host}:${port}`);
|
|
569
|
+
// The callback's own reason, when it gave one, says what to do instead.
|
|
570
|
+
return denied(denialReasonOf(answer) ?? 'user denied');
|
|
571
|
+
}
|
|
572
|
+
catch (error) {
|
|
573
|
+
logForDebugging(`Error in permission callback: ${error}`, {
|
|
574
|
+
level: 'error',
|
|
575
|
+
});
|
|
576
|
+
return denied('permission prompt failed');
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* Build the header-mutation callback that substitutes sentinel→real for
|
|
581
|
+
* masked credentials. Returns undefined when no `credentials` block is
|
|
582
|
+
* configured — wiring the seam at all is unnecessary then.
|
|
583
|
+
*
|
|
584
|
+
* Per-host gating happens inside the registry: each sentinel carries its
|
|
585
|
+
* own injectHosts list and substitutes independently, so credential A's
|
|
586
|
+
* sentinel cannot be laundered through credential B's allowed host. The
|
|
587
|
+
* returned closure does not log header values; the registry holds the only
|
|
588
|
+
* copy of the real value.
|
|
589
|
+
*/
|
|
590
|
+
function buildCredentialInjector() {
|
|
591
|
+
if (!config?.credentials)
|
|
592
|
+
return undefined;
|
|
593
|
+
return (headers, destHost) => {
|
|
594
|
+
sentinelRegistry.substituteInHeaders(headers, destHost, matchesDomainPattern);
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Body counterpart of {@link buildCredentialInjector}: per-destination
|
|
599
|
+
* sentinel→real pairs for streaming substitution in request bodies, with
|
|
600
|
+
* the same per-credential injectHosts gating applied inside the registry.
|
|
601
|
+
*/
|
|
602
|
+
function buildBodyCredentialInjector() {
|
|
603
|
+
if (!config?.credentials)
|
|
604
|
+
return undefined;
|
|
605
|
+
return destHost => sentinelRegistry.sentinelsForHost(destHost, matchesDomainPattern);
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Build the per-request SigV4 hook for the TLS-terminating proxy.
|
|
609
|
+
* Returns undefined when no `credentials` block is configured. The hook
|
|
610
|
+
* consults {@link awsPairRegistry} at request time, so pairs registered
|
|
611
|
+
* later (wrapWithSandbox runs after the proxy starts) are picked up.
|
|
612
|
+
*/
|
|
613
|
+
function buildSigv4Planner() {
|
|
614
|
+
if (!config?.credentials)
|
|
615
|
+
return undefined;
|
|
616
|
+
// Re-read the policies per request (not captured at proxy start) so an
|
|
617
|
+
// updateConfig() that changes credentials.sigv4 takes effect without a
|
|
618
|
+
// proxy restart, matching how the injector sees live registry state.
|
|
619
|
+
return (method, requestTarget, headers, destHost) => createSigv4Planner(awsPairRegistry, config?.credentials?.sigv4, matchesDomainPattern)(method, requestTarget, headers, destHost);
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Get the MITM proxy socket path for a given host, if configured.
|
|
623
|
+
* Returns the socket path if the host matches any MITM domain pattern,
|
|
624
|
+
* otherwise returns undefined.
|
|
625
|
+
*
|
|
626
|
+
* Matches the canonicalized hostname, like the allow/deny filter
|
|
627
|
+
* (filterNetworkRequest) and the tlsTerminate exclusion below. This site
|
|
628
|
+
* fails OPEN on a miss — a host that matches no MITM pattern is dialed
|
|
629
|
+
* directly — so it must accept exactly the set of spellings the allowlist
|
|
630
|
+
* accepts: otherwise `api.example.com.` (trailing-dot FQDN, same name to
|
|
631
|
+
* DNS) passes the allowlist as `api.example.com` but misses every MITM
|
|
632
|
+
* pattern and skips the MITM proxy entirely. The proxies already hand this
|
|
633
|
+
* hook the canonical spelling; canonicalizing again here is defence in
|
|
634
|
+
* depth for any other caller.
|
|
635
|
+
*/
|
|
636
|
+
function getMitmSocketPath(host) {
|
|
637
|
+
if (!config?.network.mitmProxy) {
|
|
638
|
+
return undefined;
|
|
639
|
+
}
|
|
640
|
+
const { socketPath, domains } = config.network.mitmProxy;
|
|
641
|
+
const canonicalHost = canonicalizeHost(host) ?? host;
|
|
642
|
+
for (const pattern of domains) {
|
|
643
|
+
if (matchesDomainPattern(canonicalHost, pattern)) {
|
|
644
|
+
logForDebugging(`Host ${host} matches MITM pattern ${pattern}`);
|
|
645
|
+
return socketPath;
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
return undefined;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* Per-host TLS-termination opt-out from network.tlsTerminate.excludeDomains.
|
|
652
|
+
* Only consulted by the HTTP proxy when tlsTerminate is enabled; exempted
|
|
653
|
+
* hosts fall back to the opaque CONNECT tunnel (still allowlist-filtered),
|
|
654
|
+
* so mTLS / cert-pinning clients can complete their own handshake.
|
|
655
|
+
*
|
|
656
|
+
* Matches the canonicalized hostname, like the allow/deny filter
|
|
657
|
+
* (filterNetworkRequest) — otherwise a spelling the allowlist accepts after
|
|
658
|
+
* canonicalization (`127.1`, a trailing-dot FQDN) would dodge the exclusion
|
|
659
|
+
* and get terminated anyway.
|
|
660
|
+
*/
|
|
661
|
+
function shouldTerminateTLSForHost(host) {
|
|
662
|
+
const excludeDomains = config?.network.tlsTerminate?.excludeDomains;
|
|
663
|
+
if (!excludeDomains?.length)
|
|
664
|
+
return true;
|
|
665
|
+
const canonicalHost = canonicalizeHost(host) ?? host;
|
|
666
|
+
for (const pattern of excludeDomains) {
|
|
667
|
+
if (!matchesDomainPattern(canonicalHost, pattern))
|
|
668
|
+
continue;
|
|
669
|
+
logForDebugging(`Host ${host} matches tlsTerminate.excludeDomains pattern ${pattern}; skipping TLS termination`);
|
|
670
|
+
// Masked-credential substitution only happens on the terminated path,
|
|
671
|
+
// so a credential whose injectHosts cover this host can never be
|
|
672
|
+
// injected here — the upstream gets the placeholder. Config validation
|
|
673
|
+
// rejects the fully-contradictory spellings; this flags the partial
|
|
674
|
+
// ones (e.g. default injectHosts = allowedDomains) at the moment they
|
|
675
|
+
// actually bite.
|
|
676
|
+
const masked = sentinelRegistry.namesInjectableAt(canonicalHost, matchesDomainPattern);
|
|
677
|
+
if (masked.length > 0) {
|
|
678
|
+
logForDebugging(`tlsTerminate.excludeDomains: masked credential(s) ${masked.join(', ')} ` +
|
|
679
|
+
`are configured for injection at ${host}, but its connections are ` +
|
|
680
|
+
`not terminated, so the upstream will receive the placeholder`, { level: 'error' });
|
|
681
|
+
}
|
|
682
|
+
return false;
|
|
683
|
+
}
|
|
684
|
+
return true;
|
|
685
|
+
}
|
|
686
|
+
async function startMuxProxyServer(sandboxAskCallback, portRange) {
|
|
687
|
+
const injectCredentials = buildCredentialInjector();
|
|
688
|
+
const injectBodyCredentials = buildBodyCredentialInjector();
|
|
689
|
+
httpProxyServer = createHttpProxyServer({
|
|
690
|
+
filter: (port, host, _socket, encodedCommand, explain) => filterNetworkRequest(port, host, sandboxAskCallback, encodedCommand, explain),
|
|
691
|
+
getMitmSocketPath,
|
|
692
|
+
mitmCA,
|
|
693
|
+
shouldTerminateTLS: shouldTerminateTLSForHost,
|
|
694
|
+
filterRequest: config?.network.filterRequest,
|
|
695
|
+
plaintextHeaderSet: config?.network.allowPlaintextHeaderSet,
|
|
696
|
+
stripResponseHeaders: config?.network.stripResponseHeaders,
|
|
697
|
+
refuseOpaqueTunnels: config?.network.refuseOpaqueTunnels,
|
|
698
|
+
requireHostMatch: config?.network.requireHostMatch,
|
|
699
|
+
ambiguousRequestTarget: config?.network.ambiguousRequestTarget,
|
|
700
|
+
// Read at each CONNECT, so that updateConfig changes them.
|
|
701
|
+
get maxTerminatedTunnels() {
|
|
702
|
+
return config?.network.tlsTerminate?.maxTunnels;
|
|
703
|
+
},
|
|
704
|
+
get tlsHandshakeTimeoutMs() {
|
|
705
|
+
return config?.network.tlsTerminate?.handshakeTimeoutMs;
|
|
706
|
+
},
|
|
707
|
+
onFilterRequestDenied: ({ method, url, reason, encodedCommand }) => {
|
|
708
|
+
// A refused CONNECT comes with its authority (`host:port`), not a URL.
|
|
709
|
+
const target = method === 'CONNECT' ? url : redactUrlForViolation(url);
|
|
710
|
+
recordProxyViolation(`deny http-request ${method} ${target} (${reason})`, encodedCommand);
|
|
711
|
+
},
|
|
712
|
+
// TLS-terminated path always gets the injector; the plain-HTTP path
|
|
713
|
+
// only when explicitly opted in. Without the opt-in, a sentinel sent
|
|
714
|
+
// over plain HTTP reaches the upstream unchanged (fails closed).
|
|
715
|
+
mutateHeaders: injectCredentials,
|
|
716
|
+
mutateHeadersPlaintext: config?.credentials?.allowPlaintextInject
|
|
717
|
+
? injectCredentials
|
|
718
|
+
: undefined,
|
|
719
|
+
getBodySubstitutions: injectBodyCredentials,
|
|
720
|
+
getBodySubstitutionsPlaintext: config?.credentials?.allowPlaintextInject
|
|
721
|
+
? injectBodyCredentials
|
|
722
|
+
: undefined,
|
|
723
|
+
// SigV4 re-signing is TLS-terminated-path only, like credential
|
|
724
|
+
// injection: the real signature must not travel over plaintext.
|
|
725
|
+
planSigv4: buildSigv4Planner(),
|
|
726
|
+
parentProxy,
|
|
727
|
+
lookupFor: directLookup,
|
|
728
|
+
proxyAuthToken,
|
|
729
|
+
});
|
|
730
|
+
socksProxyServer = createSocksProxyServer({
|
|
731
|
+
filter: (port, host, encodedCommand) => filterNetworkRequest(port, host, sandboxAskCallback, encodedCommand),
|
|
732
|
+
parentProxy,
|
|
733
|
+
lookupFor: directLookup,
|
|
734
|
+
proxyAuthToken,
|
|
735
|
+
// A SOCKS tunnel is opaque, so the option that keeps opaque CONNECT
|
|
736
|
+
// tunnels off the HTTP side must close this side of the port too.
|
|
737
|
+
refuseOpaqueTunnels: config?.network.refuseOpaqueTunnels,
|
|
738
|
+
onTunnelRefused: (port, host, encodedCommand) => {
|
|
739
|
+
recordProxyViolation(`deny socks-tunnel ${host}:${port} (refuseOpaqueTunnels)`, encodedCommand);
|
|
740
|
+
},
|
|
741
|
+
probeUnauthenticated: async (port, host) => {
|
|
742
|
+
// Explicit deny rules only: an unauthenticated peer must never reach
|
|
743
|
+
// the ask callback, and a merely off-list host gets the generic
|
|
744
|
+
// cannot-authenticate refusal rather than a policy claim.
|
|
745
|
+
if (!config)
|
|
746
|
+
return {};
|
|
747
|
+
const canonical = canonicalizeHost(host) ?? host;
|
|
748
|
+
for (const entry of config.network.deniedDomains) {
|
|
749
|
+
if (matchesDomainPatternWithPort(canonical, port, entry)) {
|
|
750
|
+
const reason = deniedDomainReason(entry);
|
|
751
|
+
recordOutboundDeny(host, port, reason);
|
|
752
|
+
return { deniedReason: reason };
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
return {};
|
|
756
|
+
},
|
|
757
|
+
});
|
|
758
|
+
muxProxyServer = createMuxProxyServer({
|
|
759
|
+
httpServer: httpProxyServer,
|
|
760
|
+
handleSocksConnection: s => socksProxyServer.handleConnection(s),
|
|
761
|
+
httpBackendPortRange: portRange,
|
|
762
|
+
});
|
|
763
|
+
const mux = muxProxyServer;
|
|
764
|
+
// Backend first so the front-end never accepts a connection that would
|
|
765
|
+
// dispatch to an unbound backend. On Windows the backend's port is
|
|
766
|
+
// excluded when binding the front-end in the same WFP range.
|
|
767
|
+
const backendPort = await mux.listenHttpBackend();
|
|
768
|
+
await listenInRange(mux.server, p => mux.server.listen(p, '127.0.0.1'), portRange, backendPort !== undefined ? new Set([backendPort]) : new Set());
|
|
769
|
+
const muxPort = mux.getPort();
|
|
770
|
+
if (muxPort === undefined) {
|
|
771
|
+
throw new Error('Failed to get mux proxy server port');
|
|
772
|
+
}
|
|
773
|
+
mux.unref();
|
|
774
|
+
logForDebugging(`Mux proxy (HTTP+SOCKS) listening on localhost:${muxPort}`);
|
|
775
|
+
return muxPort;
|
|
776
|
+
}
|
|
777
|
+
async function initialize(runtimeConfig, sandboxAskCallback, enableLogMonitor = false, options) {
|
|
778
|
+
try {
|
|
779
|
+
await initializeSteps(runtimeConfig, sandboxAskCallback, enableLogMonitor, options);
|
|
780
|
+
}
|
|
781
|
+
catch (error) {
|
|
782
|
+
// Here, not at reset() or 'exit': a step can fail before the clean-up is
|
|
783
|
+
// registered, and the next call makes a CA of its own.
|
|
784
|
+
if (mitmCA)
|
|
785
|
+
disposeMitmCASync(mitmCA);
|
|
786
|
+
mitmCA = undefined;
|
|
787
|
+
throw error;
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
async function initializeSteps(runtimeConfig, sandboxAskCallback, enableLogMonitor, options) {
|
|
791
|
+
// Return if already initializing
|
|
792
|
+
if (initializationPromise) {
|
|
793
|
+
await initializationPromise;
|
|
794
|
+
return;
|
|
795
|
+
}
|
|
796
|
+
// Store config for use by other functions
|
|
797
|
+
config = runtimeConfig;
|
|
798
|
+
configInstalls++;
|
|
799
|
+
// Resolve parent/upstream proxy from config or HTTP_PROXY env before we
|
|
800
|
+
// start our own listeners (which will later shadow those vars in the child).
|
|
801
|
+
parentProxy = resolveParentProxy(runtimeConfig.network.parentProxy);
|
|
802
|
+
if (parentProxy) {
|
|
803
|
+
logForDebugging(`Parent proxy configured: http=${redactUrl(parentProxy.httpUrl)} ` +
|
|
804
|
+
`https=${redactUrl(parentProxy.httpsUrl)}`);
|
|
805
|
+
}
|
|
806
|
+
resolvedAddressGuard = createResolvedAddressGuard(runtimeConfig.network);
|
|
807
|
+
// Load TLS-termination CA if configured. Throws on unreadable/non-PEM —
|
|
808
|
+
// tlsTerminate is explicit opt-in, so a bad config is a hard error.
|
|
809
|
+
if (runtimeConfig.network.tlsTerminate && runtimeConfig.network.mitmProxy) {
|
|
810
|
+
throw new Error('network.tlsTerminate and network.mitmProxy are mutually exclusive');
|
|
811
|
+
}
|
|
812
|
+
// Before any CA, proxy or sandbox is set up: a runtime that cannot
|
|
813
|
+
// terminate TLS in-process fails here, not on each tunnel.
|
|
814
|
+
if (runtimeConfig.network.tlsTerminate)
|
|
815
|
+
assertTlsTerminationSupported();
|
|
816
|
+
// On Windows with tlsTerminate and no explicit caCertPath/caKeyPath,
|
|
817
|
+
// defer CA creation until the Windows block below has resolved
|
|
818
|
+
// srt-win and fetched user status — the persistent CA is
|
|
819
|
+
// generated-if-absent under windowsStateDir()/ca and
|
|
820
|
+
// trusted in the sandbox user's Root store, then loaded here.
|
|
821
|
+
// Explicit paths (or non-Windows) go straight to createMitmCA.
|
|
822
|
+
const tlsTerminate = runtimeConfig.network.tlsTerminate;
|
|
823
|
+
const useWindowsPersistentCa = getPlatform() === 'windows' &&
|
|
824
|
+
tlsTerminate !== undefined &&
|
|
825
|
+
!tlsTerminate.caCertPath &&
|
|
826
|
+
!tlsTerminate.caKeyPath;
|
|
827
|
+
mitmCA =
|
|
828
|
+
tlsTerminate && !useWindowsPersistentCa
|
|
829
|
+
? createMitmCA(tlsTerminate)
|
|
830
|
+
: undefined;
|
|
831
|
+
// Check dependencies
|
|
832
|
+
const deps = await checkDependenciesAsync();
|
|
833
|
+
if (deps.errors.length > 0) {
|
|
834
|
+
if (deps.reinstallRequired) {
|
|
835
|
+
throw new WindowsSandboxError('reinstall_required', deps.reinstallRequired);
|
|
836
|
+
}
|
|
837
|
+
// The session asks for the other loopback mode than the installed
|
|
838
|
+
// one: refused here, before anything is granted or launched.
|
|
839
|
+
if (deps.loopbackMismatch) {
|
|
840
|
+
throw new WindowsSandboxError('wfp_loopback_mismatch', deps.loopbackMismatch);
|
|
841
|
+
}
|
|
842
|
+
throw new Error(`Sandbox dependencies not available: ${deps.errors.join(', ')}`);
|
|
843
|
+
}
|
|
844
|
+
// Start log monitor for macOS if enabled
|
|
845
|
+
if (enableLogMonitor && getPlatform() === 'macos') {
|
|
846
|
+
logMonitorShutdown = startMacOSSandboxLogMonitor(sandboxViolationStore.addViolation.bind(sandboxViolationStore), config.ignoreViolations, resolveCommandText);
|
|
847
|
+
logForDebugging('Started macOS sandbox log monitor');
|
|
848
|
+
}
|
|
849
|
+
if (enableLogMonitor && getPlatform() === 'linux') {
|
|
850
|
+
// The monitor compares paths the kernel reported, so its lists are
|
|
851
|
+
// expanded the way the wrapper expands them (getFsWriteConfig folds in
|
|
852
|
+
// the default write paths and drops the patterns, so only names are left;
|
|
853
|
+
// normalizePathForSandbox resolves `~`, relative spellings and symlinks),
|
|
854
|
+
// plus the built-in write denies the wrapper always applies.
|
|
855
|
+
// It does not reproduce the wrapper's existence and boundary-symlink
|
|
856
|
+
// filters, nor the ripgrep scan for nested dangerous paths; and it still
|
|
857
|
+
// reports writes bwrap permits through `--dev`, `--proc` and the tmpfs
|
|
858
|
+
// over each read-denied directory. Started once, so both lists are fixed
|
|
859
|
+
// at the cwd and configuration of this call, and at the disk as it is
|
|
860
|
+
// now: an entry with glob characters that becomes the name of a path
|
|
861
|
+
// later is applied by the next wrap and stays unknown here.
|
|
862
|
+
const monitoredWrites = getFsWriteConfig();
|
|
863
|
+
linuxMonitor = startLinuxSandboxViolationMonitor(sandboxViolationStore.addViolation.bind(sandboxViolationStore), {
|
|
864
|
+
// apply-seccomp's observer reports every write-intent syscall
|
|
865
|
+
// (allowed or not). Only paths bwrap would actually refuse — outside
|
|
866
|
+
// allowWrite or inside a denyWrite carve-out — go to the store. With
|
|
867
|
+
// the policy on, the default write paths are listed in full rather
|
|
868
|
+
// than as getFsWriteConfig() narrowed them: a home directory it leaves
|
|
869
|
+
// out because it is read-denied sits under that deny's writable
|
|
870
|
+
// tmpfs, so a write there is permitted and is not a violation.
|
|
871
|
+
allowWritePaths: [
|
|
872
|
+
...writeRootsOf(monitoredWrites),
|
|
873
|
+
...(config.filesystem.disabled ? [] : getDefaultWritePaths()),
|
|
874
|
+
].map(p => normalizePathForSandbox(p, { literal: true })),
|
|
875
|
+
denyWritePaths: [
|
|
876
|
+
...monitoredWrites.denyWithinAllow.map(p => normalizePathForSandbox(p, { literal: true })),
|
|
877
|
+
...(monitoredWrites.literalDenyWithinAllow ?? []).map(p => normalizePathForSandbox(p, { literal: true })),
|
|
878
|
+
// filesystem.disabled reaches the wrapper as `writeConfig ===
|
|
879
|
+
// undefined`, which skips every bind and the built-in denies with
|
|
880
|
+
// them, so the monitor must not judge by them either.
|
|
881
|
+
...(config.filesystem.disabled
|
|
882
|
+
? []
|
|
883
|
+
: linuxGetCwdMandatoryDenyPaths(getAllowGitConfig())),
|
|
884
|
+
],
|
|
885
|
+
ignoreViolations: config.ignoreViolations,
|
|
886
|
+
resolveCommandText,
|
|
887
|
+
});
|
|
888
|
+
// Don't block initialization on listen() — wrap-time checks
|
|
889
|
+
// fs.existsSync(observeSocketPath) and degrades gracefully.
|
|
890
|
+
void linuxMonitor.ready;
|
|
891
|
+
logForDebugging('Started Linux seccomp violation monitor');
|
|
892
|
+
}
|
|
893
|
+
// Register cleanup handlers first time
|
|
894
|
+
registerCleanup();
|
|
895
|
+
// Windows: validate provisioning + filesystem config BEFORE any
|
|
896
|
+
// sandboxed child can be spawned. Doing this at initialize() (not
|
|
897
|
+
// wrap-time) means the host gets a single actionable error before
|
|
898
|
+
// any per-exec work happens, instead of exit-15 on every command.
|
|
899
|
+
if (getPlatform() === 'windows') {
|
|
900
|
+
// Resolve once (stats disk); captured module-level for wrap/reset.
|
|
901
|
+
srtWinSpawn = resolveSrtWin(runtimeConfig.windows?.srtWin);
|
|
902
|
+
const srtWin = srtWinSpawn;
|
|
903
|
+
const u = await getWindowsSandboxUserStatusAsync({ srtWin });
|
|
904
|
+
if (!u.provisioned || !u.credPresent) {
|
|
905
|
+
config = undefined;
|
|
906
|
+
throw new WindowsSandboxError('not_provisioned', `Windows sandbox user is not provisioned (user=` +
|
|
907
|
+
`${u.provisioned}, cred=${u.credPresent}). Run \`npx ` +
|
|
908
|
+
`sandbox-runtime windows-install\` (one UAC prompt) to ` +
|
|
909
|
+
`provision it.`);
|
|
910
|
+
}
|
|
911
|
+
// srt-win refuses to launch on an install of another setup
|
|
912
|
+
// version; checked before anything is granted.
|
|
913
|
+
const staleSetup = windowsSetupVersionMismatch(u, runtimeConfig.windows?.sublayerGuid ??
|
|
914
|
+
runtimeConfig.windows?.wfpSublayerGuid);
|
|
915
|
+
if (staleSetup) {
|
|
916
|
+
config = undefined;
|
|
917
|
+
throw new WindowsSandboxError('reinstall_required', staleSetup);
|
|
918
|
+
}
|
|
919
|
+
// initialize() never writes or refreshes the profile read grant.
|
|
920
|
+
windowsProfileReadWarnings = [];
|
|
921
|
+
let profileRead = 'absent';
|
|
922
|
+
let profileExclusions = { exclusions: [], ungrantedOnly: [] };
|
|
923
|
+
try {
|
|
924
|
+
// Required whether or not a profile grant is recorded.
|
|
925
|
+
const missing = missingWindowsSrtWinCapability(u.capabilities);
|
|
926
|
+
if (missing !== undefined) {
|
|
927
|
+
throw windowsSrtWinOutdatedError(missing, WINDOWS_CAPABILITIES_WHY);
|
|
928
|
+
}
|
|
929
|
+
windowsCapableSrtWin.add(windowsSrtWinIdentity(srtWin));
|
|
930
|
+
if (u.profileGrant) {
|
|
931
|
+
const grant = await getWindowsProfileReadStatusAsync({ srtWin });
|
|
932
|
+
if (grant.state !== 'none' && grant.state !== 'current') {
|
|
933
|
+
throw new WindowsSandboxError('profile_grant_outdated', `The recorded read grant on your user profile cannot be used ` +
|
|
934
|
+
`(${grant.state}${grant.reason ? `: ${grant.reason}` : ''}). ` +
|
|
935
|
+
`Call grantWindowsProfileRead() (\`srt-win profile grant\`, ` +
|
|
936
|
+
`or \`npx sandbox-runtime windows-install\` again) as the ` +
|
|
937
|
+
`user who starts sessions to bring it up to date, or ` +
|
|
938
|
+
`forgetWindowsProfileRead() (\`srt-win profile forget\`) to ` +
|
|
939
|
+
`run without reading the profile. initialize() does neither ` +
|
|
940
|
+
`itself.`);
|
|
941
|
+
}
|
|
942
|
+
if (grant.state === 'current') {
|
|
943
|
+
profileExclusions = grant;
|
|
944
|
+
profileRead = 'granted';
|
|
945
|
+
windowsProfileReadWarnings = windowsProfileReadWarningsOf(grant);
|
|
946
|
+
for (const w of windowsProfileReadWarnings) {
|
|
947
|
+
logForDebugging(`[Sandbox Windows] ${w.message}`, { level: 'warn' });
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
// Stored once known: `absent` is never reported for a granted session.
|
|
952
|
+
windowsProfileRead = profileRead;
|
|
953
|
+
if (profileRead === 'absent') {
|
|
954
|
+
logForDebugging(`[Sandbox Windows] no profile read grant: the user profile is ` +
|
|
955
|
+
`not readable to sandboxed commands in this session`);
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
catch (e) {
|
|
959
|
+
windowsProfileRead = undefined;
|
|
960
|
+
config = undefined;
|
|
961
|
+
throw e;
|
|
962
|
+
}
|
|
963
|
+
// Behavioral proof the WFP egress fence is active for the
|
|
964
|
+
// sandbox user — BFE enumeration (`wfp status`) is admin-gated,
|
|
965
|
+
// so this is the non-elevated readiness check. Fails closed: a
|
|
966
|
+
// stale install (user provisioned but filters since removed)
|
|
967
|
+
// throws here instead of running every exec with full egress.
|
|
968
|
+
// After the user-status check so the not-provisioned message is
|
|
969
|
+
// the actionable one. Once per process — the fence is install-
|
|
970
|
+
// scoped, not session-scoped.
|
|
971
|
+
// The probe runs below, after the grant: the capability SIDs of
|
|
972
|
+
// the write roots exist only once the roots are granted.
|
|
973
|
+
// Persistent-CA branch (see the deferral comment above).
|
|
974
|
+
// `ensurePersistentWindowsCa` reconciles the registry thumb
|
|
975
|
+
// itself (so initialize() after uninstall→reinstall repairs
|
|
976
|
+
// trust) and may make `u.caCertThumb` stale — hence the
|
|
977
|
+
// explicit-path thumb check below skips this branch.
|
|
978
|
+
if (useWindowsPersistentCa && tlsTerminate) {
|
|
979
|
+
try {
|
|
980
|
+
const p = await ensurePersistentWindowsCa({ status: u, srtWin });
|
|
981
|
+
mitmCA = createMitmCA({
|
|
982
|
+
caCertPem: p.certPem,
|
|
983
|
+
caKeyPem: p.keyPem,
|
|
984
|
+
caCertPath: p.certPath,
|
|
985
|
+
caKeyPath: p.keyPath,
|
|
986
|
+
extraCaCertPaths: tlsTerminate.extraCaCertPaths,
|
|
987
|
+
});
|
|
988
|
+
}
|
|
989
|
+
catch (e) {
|
|
990
|
+
config = undefined;
|
|
991
|
+
throw e;
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
// Filesystem grants/denies — additive sandbox-user ACEs.
|
|
995
|
+
try {
|
|
996
|
+
let maskedFiles = [];
|
|
997
|
+
try {
|
|
998
|
+
maskedFiles = windowsMaskedFileDenies(getCredentialRestrictions(runtimeConfig.credentials, runtimeConfig.network.allowedDomains));
|
|
999
|
+
}
|
|
1000
|
+
catch {
|
|
1001
|
+
// onExtractNoMatch: "error" is thrown by every wrap, so nothing runs.
|
|
1002
|
+
}
|
|
1003
|
+
const acc = computeWindowsFsAccessSet(runtimeConfig, maskedFiles);
|
|
1004
|
+
// No path the session grants, in any form, may reach what the
|
|
1005
|
+
// profile read grant excludes.
|
|
1006
|
+
const ownRead = mitmCA ? [dirname(mitmCA.trustBundlePath)] : [];
|
|
1007
|
+
const override = options?.dangerouslyAllowReadOfProfileExclusions ?? [];
|
|
1008
|
+
const refused = [
|
|
1009
|
+
...windowsProfileExclusionConflicts(acc.grantRead, profileExclusions, {
|
|
1010
|
+
override,
|
|
1011
|
+
}),
|
|
1012
|
+
...windowsProfileExclusionConflicts(ownRead, profileExclusions),
|
|
1013
|
+
...windowsProfileExclusionConflicts(acc.grantWrite, profileExclusions, {
|
|
1014
|
+
write: true,
|
|
1015
|
+
}),
|
|
1016
|
+
];
|
|
1017
|
+
if (refused.length > 0) {
|
|
1018
|
+
const describe = (c) => {
|
|
1019
|
+
const list = c.access === 'write' ? 'allowWrite' : 'allowRead';
|
|
1020
|
+
const what = c.kind === 'ungranted-only'
|
|
1021
|
+
? (c.relation === 'equal' ? `is` : `contains`) +
|
|
1022
|
+
` ${c.exclusion}, which is not granted as a whole (grant ` +
|
|
1023
|
+
`a directory inside it instead)`
|
|
1024
|
+
: c.relation === 'equal'
|
|
1025
|
+
? `is the excluded ${c.exclusion}`
|
|
1026
|
+
: c.relation === 'inside'
|
|
1027
|
+
? `lies inside the excluded ${c.exclusion}`
|
|
1028
|
+
: c.unexamined !== undefined
|
|
1029
|
+
? `may contain the excluded ${c.exclusion}: ` +
|
|
1030
|
+
`${c.unexamined}, and a path is granted only once ` +
|
|
1031
|
+
`it has been looked at`
|
|
1032
|
+
: `contains the excluded ${c.exclusion}`;
|
|
1033
|
+
return (`${list} ${c.path} ${what}` +
|
|
1034
|
+
(c.access === 'write' && c.relation === 'above'
|
|
1035
|
+
? `: a write grant on it is kept and inherited, so that ` +
|
|
1036
|
+
`path would be writable and readable if it is ever ` +
|
|
1037
|
+
`created again — choose a narrower working directory`
|
|
1038
|
+
: ''));
|
|
1039
|
+
};
|
|
1040
|
+
throw new WindowsSandboxError('profile_exclusion_read_grant', `The session would grant a path that reaches one excluded from ` +
|
|
1041
|
+
`reads of your user profile: ` +
|
|
1042
|
+
refused.map(describe).join('; ') +
|
|
1043
|
+
`. Nothing was granted. Remove the entry, or name a path that ` +
|
|
1044
|
+
`neither is nor contains an excluded one.`);
|
|
1045
|
+
}
|
|
1046
|
+
// A read deny is passed once: `srt-win` adds the recorded profile paths it
|
|
1047
|
+
// covers. The CA trust bundle's directory rides the session's read grants.
|
|
1048
|
+
const grantRead = mitmCA
|
|
1049
|
+
? [...acc.grantRead, dirname(mitmCA.trustBundlePath)]
|
|
1050
|
+
: acc.grantRead;
|
|
1051
|
+
// `u` was fetched once above for the provisioning gate; the
|
|
1052
|
+
// same status carries the SID — don't re-spawn `srt-win user
|
|
1053
|
+
// status` here.
|
|
1054
|
+
if (!u.sid) {
|
|
1055
|
+
throw new Error('sandbox user SID missing from `srt-win user status` ' +
|
|
1056
|
+
'(provisioned but in an inconsistent state)');
|
|
1057
|
+
}
|
|
1058
|
+
const sb = u.sid;
|
|
1059
|
+
// Record module-level state BEFORE the first acl call so the
|
|
1060
|
+
// catch's best-effort revoke/restore can address whatever
|
|
1061
|
+
// partially landed.
|
|
1062
|
+
windowsFsSbUserSid = sb;
|
|
1063
|
+
// One call, always made: it also records this process as a
|
|
1064
|
+
// session. Write roots are kept at reset(); a failure throws.
|
|
1065
|
+
await grantWindowsAclPersistent({
|
|
1066
|
+
sandboxUserSid: sb,
|
|
1067
|
+
read: grantRead,
|
|
1068
|
+
write: acc.grantWrite,
|
|
1069
|
+
denyRead: acc.denyRead,
|
|
1070
|
+
denyWrite: acc.denyWrite,
|
|
1071
|
+
allowProfileExclusions: override,
|
|
1072
|
+
srtWin,
|
|
1073
|
+
});
|
|
1074
|
+
// Gates running revoke/restore at reset(): every session is
|
|
1075
|
+
// recorded with srt-win, whatever it was given. Set before the
|
|
1076
|
+
// probe, so that a reset() during it releases what was granted.
|
|
1077
|
+
windowsFsStampedSet = acc;
|
|
1078
|
+
logForDebugging(`[Sandbox Windows] fs applied: ` +
|
|
1079
|
+
`${acc.grantWrite.length} grantWrite, ` +
|
|
1080
|
+
`${grantRead.length} grantRead, ` +
|
|
1081
|
+
`${acc.denyRead.length} denyRead, ` +
|
|
1082
|
+
`${acc.denyWrite.length} denyWrite`);
|
|
1083
|
+
// The egress probe, under the token this session's commands
|
|
1084
|
+
// get; anything but a refused connect throws, and so does an
|
|
1085
|
+
// install whose loopback mode is not this session's. Remembered
|
|
1086
|
+
// per account and loopback mode.
|
|
1087
|
+
const allowLoopback = runtimeConfig.network?.allowLocalBinding === true;
|
|
1088
|
+
if (windowsWfpVerifiedFor !== sb ||
|
|
1089
|
+
windowsWfpVerifiedLoopback !== allowLoopback) {
|
|
1090
|
+
await verifyWindowsWfpEgress({
|
|
1091
|
+
proxyPortRange: runtimeConfig.windows?.proxyPortRange,
|
|
1092
|
+
writeRoots: acc.grantWrite,
|
|
1093
|
+
allowLoopback,
|
|
1094
|
+
sublayerGuid: runtimeConfig.windows?.sublayerGuid ??
|
|
1095
|
+
runtimeConfig.windows?.wfpSublayerGuid,
|
|
1096
|
+
sandboxUser: runtimeConfig.windows?.sandboxUser,
|
|
1097
|
+
srtWin,
|
|
1098
|
+
});
|
|
1099
|
+
windowsWfpVerifiedFor = sb;
|
|
1100
|
+
windowsWfpVerifiedLoopback = allowLoopback;
|
|
1101
|
+
}
|
|
1102
|
+
windowsFsRawInputs = rawWindowsFsInputs(runtimeConfig);
|
|
1103
|
+
}
|
|
1104
|
+
catch (e) {
|
|
1105
|
+
// Best-effort release of whatever WAS applied before the
|
|
1106
|
+
// failure (exit-2 partial stamps/grants the resolvable
|
|
1107
|
+
// inputs; harmless if nothing was — no holds for this PID).
|
|
1108
|
+
if (windowsFsSbUserSid) {
|
|
1109
|
+
releaseWindowsSessionAcls(windowsFsSbUserSid, srtWin);
|
|
1110
|
+
}
|
|
1111
|
+
windowsFsSbUserSid = undefined;
|
|
1112
|
+
windowsFsStampedSet = undefined;
|
|
1113
|
+
windowsProfileRead = undefined;
|
|
1114
|
+
config = undefined;
|
|
1115
|
+
throw e;
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
// Initialize network infrastructure
|
|
1119
|
+
initializationPromise = (async () => {
|
|
1120
|
+
try {
|
|
1121
|
+
// On Windows the WFP loopback permit covers a fixed port
|
|
1122
|
+
// range, so the proxies must bind inside it. Other platforms
|
|
1123
|
+
// bake the actual ephemeral port into the sandbox profile, so
|
|
1124
|
+
// they keep using port 0.
|
|
1125
|
+
const portRange = getPlatform() === 'windows'
|
|
1126
|
+
? (config.windows?.proxyPortRange ?? DEFAULT_WINDOWS_PROXY_PORT_RANGE)
|
|
1127
|
+
: undefined;
|
|
1128
|
+
// The auth token is only set when this process owns the proxy; an
|
|
1129
|
+
// external proxy (config.network.httpProxyPort) handles its own auth,
|
|
1130
|
+
// and embedding our token in its URL would be wrong.
|
|
1131
|
+
proxyAuthToken =
|
|
1132
|
+
config.network.httpProxyPort !== undefined
|
|
1133
|
+
? undefined
|
|
1134
|
+
: randomBytes(16).toString('hex');
|
|
1135
|
+
// The mux front-end serves both protocols on one port. Each side's
|
|
1136
|
+
// reported port is the external override if configured, else the mux
|
|
1137
|
+
// port — so the public config.network.{http,socks}ProxyPort contract
|
|
1138
|
+
// is unchanged. The mux is skipped only when BOTH are external.
|
|
1139
|
+
const needLocalProxy = config.network.httpProxyPort === undefined ||
|
|
1140
|
+
config.network.socksProxyPort === undefined;
|
|
1141
|
+
const muxPort = needLocalProxy
|
|
1142
|
+
? await startMuxProxyServer(sandboxAskCallback, portRange)
|
|
1143
|
+
: undefined;
|
|
1144
|
+
const httpProxyPort = config.network.httpProxyPort ?? muxPort;
|
|
1145
|
+
const socksProxyPort = config.network.socksProxyPort ?? muxPort;
|
|
1146
|
+
// JVMs read neither HTTPS_PROXY nor its credential; the agent bridges
|
|
1147
|
+
// both. Resolved once here, advertised via JAVA_TOOL_OPTIONS per command.
|
|
1148
|
+
// Async: the global-npm fallback spawns `npm root -g`.
|
|
1149
|
+
javaAgentJarPath =
|
|
1150
|
+
(await getJavaProxyAgentJarPathAsync(config.javaAgentJarPath)) ??
|
|
1151
|
+
undefined;
|
|
1152
|
+
// Leaves are minted lazily per-CONNECT (after this point), so setting
|
|
1153
|
+
// the CDP URL now means every leaf carries it. See MitmCA.crlUrl.
|
|
1154
|
+
// Windows-only: on Linux the child runs under bwrap --unshare-net and
|
|
1155
|
+
// reaches the proxy via a socat bridge on a fixed netns port, so a
|
|
1156
|
+
// host-namespace mux port would be unreachable — worse than no CDP,
|
|
1157
|
+
// since a Schannel-analog client (Java, OpenSSL with CRL_CHECK) then
|
|
1158
|
+
// hard-fails "CRL fetch error" instead of soft-passing "no CDP". macOS
|
|
1159
|
+
// has no in-tree Schannel-analog client. Also gated on `muxPort`: an
|
|
1160
|
+
// external `network.httpProxyPort` doesn't answer /srt.crl.
|
|
1161
|
+
if (mitmCA && muxPort !== undefined && getPlatform() === 'windows') {
|
|
1162
|
+
mitmCA.crlUrl = `http://127.0.0.1:${muxPort}${CRL_PATH}`;
|
|
1163
|
+
}
|
|
1164
|
+
if (config.network.httpProxyPort !== undefined) {
|
|
1165
|
+
logForDebugging(`Using external HTTP proxy on port ${httpProxyPort}`);
|
|
1166
|
+
}
|
|
1167
|
+
if (config.network.socksProxyPort !== undefined) {
|
|
1168
|
+
logForDebugging(`Using external SOCKS proxy on port ${socksProxyPort}`);
|
|
1169
|
+
}
|
|
1170
|
+
// Initialize platform-specific infrastructure
|
|
1171
|
+
let linuxBridge;
|
|
1172
|
+
if (getPlatform() === 'linux') {
|
|
1173
|
+
linuxBridge = await initializeLinuxNetworkBridge(httpProxyPort, socksProxyPort, config.socatPath);
|
|
1174
|
+
}
|
|
1175
|
+
const context = {
|
|
1176
|
+
httpProxyPort,
|
|
1177
|
+
socksProxyPort,
|
|
1178
|
+
linuxBridge,
|
|
1179
|
+
};
|
|
1180
|
+
managerContext = context;
|
|
1181
|
+
logForDebugging('Network infrastructure initialized');
|
|
1182
|
+
return context;
|
|
1183
|
+
}
|
|
1184
|
+
catch (error) {
|
|
1185
|
+
// Clear state on error so initialization can be retried
|
|
1186
|
+
initializationPromise = undefined;
|
|
1187
|
+
managerContext = undefined;
|
|
1188
|
+
reset().catch(e => {
|
|
1189
|
+
logForDebugging(`Cleanup failed in initializationPromise ${e}`, {
|
|
1190
|
+
level: 'error',
|
|
1191
|
+
});
|
|
1192
|
+
});
|
|
1193
|
+
throw error;
|
|
1194
|
+
}
|
|
1195
|
+
})();
|
|
1196
|
+
await initializationPromise;
|
|
1197
|
+
}
|
|
1198
|
+
function isSupportedPlatform() {
|
|
1199
|
+
const platform = getPlatform();
|
|
1200
|
+
if (platform === 'linux') {
|
|
1201
|
+
// WSL1 doesn't support bubblewrap
|
|
1202
|
+
return getWslVersion() !== '1';
|
|
1203
|
+
}
|
|
1204
|
+
return platform === 'macos' || platform === 'windows';
|
|
1205
|
+
}
|
|
1206
|
+
function isSandboxingEnabled() {
|
|
1207
|
+
// Sandboxing is enabled if config has been set (via initialize())
|
|
1208
|
+
return config !== undefined;
|
|
1209
|
+
}
|
|
1210
|
+
/**
|
|
1211
|
+
* Platform-independent part of the dependency check. Returns either
|
|
1212
|
+
* a finished result (POSIX, unsupported platform, or a Windows
|
|
1213
|
+
* srt-win resolution failure) or the inputs for the Windows probe —
|
|
1214
|
+
* the only platform where the sync and async variants differ.
|
|
1215
|
+
*/
|
|
1216
|
+
function checkDependenciesCommon(ripgrepConfig) {
|
|
1217
|
+
if (!isSupportedPlatform()) {
|
|
1218
|
+
return { done: { errors: ['Unsupported platform'], warnings: [] } };
|
|
1219
|
+
}
|
|
1220
|
+
const errors = [];
|
|
1221
|
+
const warnings = [];
|
|
1222
|
+
const platform = getPlatform();
|
|
1223
|
+
if (platform === 'linux') {
|
|
1224
|
+
// ripgrep is Linux-only: it's used by linuxGetMandatoryDenyPaths() to
|
|
1225
|
+
// expand glob deny-patterns to concrete paths for bwrap. macOS seatbelt
|
|
1226
|
+
// profiles take regex patterns directly, so rg is never invoked there.
|
|
1227
|
+
const rgToCheck = ripgrepConfig ?? config?.ripgrep ?? { command: 'rg' };
|
|
1228
|
+
if (whichSync(rgToCheck.command) === null) {
|
|
1229
|
+
errors.push(`ripgrep (${rgToCheck.command}) not found`);
|
|
1230
|
+
}
|
|
1231
|
+
const linuxDeps = checkLinuxDependencies({
|
|
1232
|
+
seccompConfig: config?.seccomp,
|
|
1233
|
+
bwrapPath: config?.bwrapPath,
|
|
1234
|
+
socatPath: config?.socatPath,
|
|
1235
|
+
});
|
|
1236
|
+
errors.push(...linuxDeps.errors);
|
|
1237
|
+
warnings.push(...linuxDeps.warnings);
|
|
1238
|
+
}
|
|
1239
|
+
else if (platform === 'windows') {
|
|
1240
|
+
let srtWin;
|
|
1241
|
+
try {
|
|
1242
|
+
srtWin = resolveSrtWin(config?.windows?.srtWin);
|
|
1243
|
+
}
|
|
1244
|
+
catch (e) {
|
|
1245
|
+
errors.push(e.message);
|
|
1246
|
+
return { done: { errors, warnings } };
|
|
1247
|
+
}
|
|
1248
|
+
return {
|
|
1249
|
+
windows: {
|
|
1250
|
+
sublayerGuid: config?.windows?.sublayerGuid ?? config?.windows?.wfpSublayerGuid,
|
|
1251
|
+
proxyPortRange: config?.windows?.proxyPortRange,
|
|
1252
|
+
sandboxUser: config?.windows?.sandboxUser,
|
|
1253
|
+
srtWin,
|
|
1254
|
+
// With a config to go by, an install whose loopback mode is
|
|
1255
|
+
// not the configured one is an error.
|
|
1256
|
+
...(config && {
|
|
1257
|
+
allowLoopback: config.network?.allowLocalBinding === true,
|
|
1258
|
+
}),
|
|
1259
|
+
},
|
|
1260
|
+
};
|
|
1261
|
+
}
|
|
1262
|
+
// The library itself writable from inside the sandbox: see own-files.ts.
|
|
1263
|
+
if (!config?.filesystem.disabled) {
|
|
1264
|
+
try {
|
|
1265
|
+
const ownInstall = ownInstallWarning(writeRootsOf(getFsWriteConfig()));
|
|
1266
|
+
if (ownInstall !== undefined)
|
|
1267
|
+
warnings.push(ownInstall);
|
|
1268
|
+
}
|
|
1269
|
+
catch {
|
|
1270
|
+
// It only advises: whoever enforces a config says what is wrong with it.
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
return { done: { errors, warnings } };
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
* Check sandbox dependencies for the current platform
|
|
1277
|
+
* @param ripgrepConfig - Ripgrep command to check. If not provided, uses config from initialization or defaults to 'rg'
|
|
1278
|
+
* @returns { warnings, errors } - errors mean sandbox cannot run, warnings mean degraded functionality
|
|
1279
|
+
*/
|
|
1280
|
+
function checkDependencies(ripgrepConfig) {
|
|
1281
|
+
const common = checkDependenciesCommon(ripgrepConfig);
|
|
1282
|
+
if ('done' in common)
|
|
1283
|
+
return common.done;
|
|
1284
|
+
return checkWindowsDependencies(common.windows);
|
|
1285
|
+
}
|
|
1286
|
+
/**
|
|
1287
|
+
* Async variant of {@link checkDependencies} — same result for the
|
|
1288
|
+
* same underlying state. On Windows the srt-win probes run via
|
|
1289
|
+
* `spawn` (never blocking the event loop) and concurrently; on other
|
|
1290
|
+
* platforms the checks are native and this simply wraps the sync
|
|
1291
|
+
* result. Windows callers should prefer this variant.
|
|
1292
|
+
*/
|
|
1293
|
+
async function checkDependenciesAsync(ripgrepConfig) {
|
|
1294
|
+
// Linux: resolve apply-seccomp first so its global-npm fallback
|
|
1295
|
+
// (`npm root -g`) runs off the event loop; the sync check below then
|
|
1296
|
+
// hits the shared path cache.
|
|
1297
|
+
if (getPlatform() === 'linux' && !config?.seccomp?.argv0) {
|
|
1298
|
+
await getApplySeccompBinaryPathAsync(config?.seccomp?.applyPath);
|
|
1299
|
+
}
|
|
1300
|
+
const common = checkDependenciesCommon(ripgrepConfig);
|
|
1301
|
+
if ('done' in common)
|
|
1302
|
+
return common.done;
|
|
1303
|
+
return checkWindowsDependenciesAsync(common.windows);
|
|
1304
|
+
}
|
|
1305
|
+
/**
|
|
1306
|
+
* Build the read-deny / env-unset / env-set maps implied by the
|
|
1307
|
+
* `credentials` config.
|
|
1308
|
+
*
|
|
1309
|
+
* Only explicitly declared sources are restricted: `mode: 'deny'` file
|
|
1310
|
+
* entries join the read-deny set, `mode: 'deny'` env vars are unset, and
|
|
1311
|
+
* `mode: 'mask'` env vars are set to a fake value (whole-value sentinel,
|
|
1312
|
+
* the real value with extract-captured spans swapped for sentinels, or a
|
|
1313
|
+
* JWT-shaped fake for `decode: 'jwt'` / `maskClaims` entries) registered
|
|
1314
|
+
* in {@link sentinelRegistry} — see {@link buildMaskedEnvVars}.
|
|
1315
|
+
*/
|
|
1316
|
+
function getCredentialRestrictions(credentials, allowedDomains) {
|
|
1317
|
+
if (!credentials) {
|
|
1318
|
+
return {
|
|
1319
|
+
denyReadPaths: [],
|
|
1320
|
+
unsetEnvVars: [],
|
|
1321
|
+
setEnvVars: {},
|
|
1322
|
+
maskedFileBinds: [],
|
|
1323
|
+
maskedFileStoreDir: undefined,
|
|
1324
|
+
degradeToDenyPaths: [],
|
|
1325
|
+
};
|
|
1326
|
+
}
|
|
1327
|
+
const denyReadPaths = getCredentialDenyReadPaths(credentials);
|
|
1328
|
+
// Default injectHosts (= allowedDomains) is host-scoped: drop any
|
|
1329
|
+
// `:port` suffixes, otherwise the sentinel would carry an entry no bare
|
|
1330
|
+
// destination host can ever match and the credential would never inject.
|
|
1331
|
+
const defaultInjectHosts = [
|
|
1332
|
+
...new Set((allowedDomains ?? []).map(stripDomainPatternPort)),
|
|
1333
|
+
];
|
|
1334
|
+
const unsetEnvVars = [];
|
|
1335
|
+
for (const v of credentials.envVars ?? []) {
|
|
1336
|
+
if (v.mode === 'deny')
|
|
1337
|
+
unsetEnvVars.push(v.name);
|
|
1338
|
+
}
|
|
1339
|
+
// Masked env vars: read the real value from the host environment,
|
|
1340
|
+
// register sentinel(s), and set the variable to the fake value inside
|
|
1341
|
+
// the sandbox. degradeToUnsetNames carries variables whose extract
|
|
1342
|
+
// pattern matched nothing with onExtractNoMatch: "deny" — merged into
|
|
1343
|
+
// unsetEnvVars below so the value is withheld rather than exposed.
|
|
1344
|
+
const { setEnvVars, degradeToUnsetNames } = buildMaskedEnvVars(credentials.envVars ?? [], defaultInjectHosts, sentinelRegistry);
|
|
1345
|
+
unsetEnvVars.push(...degradeToUnsetNames);
|
|
1346
|
+
// Link masked AWS credentials into pairs so the proxy can re-sign
|
|
1347
|
+
// SigV4 requests (the signature is derived from the secret; header
|
|
1348
|
+
// substitution alone cannot fix it).
|
|
1349
|
+
registerAwsPairs(credentials.envVars ?? [], credentials.awsPairs, defaultInjectHosts, setEnvVars, awsPairRegistry);
|
|
1350
|
+
// Masked files: read the real bytes on the host, register a sentinel,
|
|
1351
|
+
// write it to a fake file in the manager-owned temp dir. Missing/unreadable
|
|
1352
|
+
// entries are skipped (same posture as an unset masked env var).
|
|
1353
|
+
// degradeToDenyPaths carries paths whose extract pattern matched
|
|
1354
|
+
// nothing with onExtractNoMatch: "deny" — merged into denyReadPaths
|
|
1355
|
+
// below so both the read-deny config and the platform builders see
|
|
1356
|
+
// them, and carried separately so they stay literal on the way there.
|
|
1357
|
+
const files = credentials.files ?? [];
|
|
1358
|
+
const { binds: maskedFileBinds, degradeToDenyPaths } = buildMaskedFileBinds(files, defaultInjectHosts, sentinelRegistry, maskedFileStore);
|
|
1359
|
+
return {
|
|
1360
|
+
denyReadPaths: [...new Set([...denyReadPaths, ...degradeToDenyPaths])],
|
|
1361
|
+
unsetEnvVars: [...new Set(unsetEnvVars)],
|
|
1362
|
+
setEnvVars,
|
|
1363
|
+
maskedFileBinds,
|
|
1364
|
+
maskedFileStoreDir: maskedFileStore.dirPath,
|
|
1365
|
+
degradeToDenyPaths,
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* Pure (side-effect-free) chokepoint for credential file-deny
|
|
1370
|
+
* paths — `credentials.files` entries with `mode: 'deny'`. Any
|
|
1371
|
+
* code that needs the credential→denyRead contribution routes
|
|
1372
|
+
* through here so a comparison predicate can read it without
|
|
1373
|
+
* touching {@link sentinelRegistry}.
|
|
1374
|
+
*/
|
|
1375
|
+
function getCredentialDenyReadPaths(credentials) {
|
|
1376
|
+
const files = credentials?.files ?? [];
|
|
1377
|
+
return [...new Set(files.filter(f => f.mode === 'deny').map(f => f.path))];
|
|
1378
|
+
}
|
|
1379
|
+
/**
|
|
1380
|
+
* The default write paths under a filesystem policy's read rules, for
|
|
1381
|
+
* getFsWriteConfig() and wrapWithSandbox() alike. Fed the entries as
|
|
1382
|
+
* configured, through the pure {@link getCredentialDenyReadPaths}: no glob
|
|
1383
|
+
* expansion and no credential masking, because getFsWriteConfig() is a
|
|
1384
|
+
* getter callers reach from permission checks and render paths. A mask entry
|
|
1385
|
+
* that degrades to a deny is a file and cannot cover a directory, so
|
|
1386
|
+
* leaving those out changes nothing. An entry with glob characters that is
|
|
1387
|
+
* also the name of a path counts as that name too. The credential denies are
|
|
1388
|
+
* judged apart, with no `allowRead`: they have no exceptions.
|
|
1389
|
+
*/
|
|
1390
|
+
function defaultWritePathsUnder({ denyRead, allowRead, credentials, }) {
|
|
1391
|
+
const underCredentialDenies = getDefaultWritePaths(readRulesOf([], undefined, getCredentialDenyReadPaths(credentials)));
|
|
1392
|
+
return getDefaultWritePaths(readRulesOf(denyRead, allowRead, [])).filter(p => underCredentialDenies.includes(p));
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* The explicit `filesystem.denyRead` and the credential-derived deny paths,
|
|
1396
|
+
* each through {@link resolveReadPathEntries}. The single source of "what
|
|
1397
|
+
* files does this config want read-denied" on macOS and Linux, so a new
|
|
1398
|
+
* credential kind that contributes deny paths reaches both. The credential
|
|
1399
|
+
* ones are also returned apart, for the precedence the backends give them.
|
|
1400
|
+
*/
|
|
1401
|
+
function* resolveReadDenies(denyRead = [], credentialRestrictions, expandGlob) {
|
|
1402
|
+
const listed = yield* resolveReadPathEntries('deny', denyRead, expandGlob);
|
|
1403
|
+
const credentialDenyOnly = yield* resolveReadPathEntries('deny', credentialRestrictions.denyReadPaths, expandGlob, credentialRestrictions.degradeToDenyPaths);
|
|
1404
|
+
return {
|
|
1405
|
+
denyOnly: [...new Set([...listed, ...credentialDenyOnly])],
|
|
1406
|
+
...(credentialDenyOnly.length > 0 && { credentialDenyOnly }),
|
|
1407
|
+
};
|
|
1408
|
+
}
|
|
1409
|
+
/**
|
|
1410
|
+
* Strip a trailing `/**` from each read-path entry and, on Linux, replace
|
|
1411
|
+
* any remaining glob with what `expandGlob` returns for it (bubblewrap takes
|
|
1412
|
+
* concrete paths only). Other platforms match globs natively.
|
|
1413
|
+
* On Linux the entry's other readings are added (see `withOtherReadings`);
|
|
1414
|
+
* elsewhere the backend decides them. Entries the caller marked literal are
|
|
1415
|
+
* not in the result: they travel in the `literal…` lists.
|
|
1416
|
+
*
|
|
1417
|
+
* `literalPaths` are the ones the library resolved itself (a masked
|
|
1418
|
+
* credential file that degraded to deny) — each names one file on disk, so
|
|
1419
|
+
* it is passed through whatever characters it contains. Expanded as a
|
|
1420
|
+
* pattern, a name holding `[` matches nothing and the deny is lost.
|
|
1421
|
+
*
|
|
1422
|
+
* Each path once, where it first came up: every `**` pattern over one base
|
|
1423
|
+
* returns the directories it could not list, and the Linux wrapper looks at
|
|
1424
|
+
* every entry it is given.
|
|
1425
|
+
*/
|
|
1426
|
+
function* resolveReadPathEntries(kind, paths, expandGlob, literalPaths = []) {
|
|
1427
|
+
const literal = new Set(literalPaths);
|
|
1428
|
+
const resolved = new Set();
|
|
1429
|
+
for (const p of spelledOf(paths)) {
|
|
1430
|
+
const stripped = removeTrailingGlobSuffix(p);
|
|
1431
|
+
if (getPlatform() === 'linux' &&
|
|
1432
|
+
!literal.has(p) &&
|
|
1433
|
+
containsGlobChars(stripped)) {
|
|
1434
|
+
for (const found of yield* withOtherReadings(p, stripped, kind, expandGlob)) {
|
|
1435
|
+
resolved.add(found);
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
else {
|
|
1439
|
+
resolved.add(stripped);
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
return [...resolved];
|
|
1443
|
+
}
|
|
1444
|
+
/**
|
|
1445
|
+
* Strip a trailing `/**` and drop what is still a glob on Linux: bwrap needs
|
|
1446
|
+
* real paths. macOS subpath matching is recursive, so the strip is harmless
|
|
1447
|
+
* there and the filter never fires.
|
|
1448
|
+
* A glob that is also the name of a path that exists is kept, as that name.
|
|
1449
|
+
* Marked entries are not in the result, as in {@link resolveReadPathEntries}.
|
|
1450
|
+
*/
|
|
1451
|
+
function stripWriteGlobs(kind, paths) {
|
|
1452
|
+
return spelledOf(paths)
|
|
1453
|
+
.map(p => removeTrailingGlobSuffix(p))
|
|
1454
|
+
.filter(p => {
|
|
1455
|
+
if (getPlatform() === 'linux' &&
|
|
1456
|
+
containsGlobChars(p) &&
|
|
1457
|
+
!hasNameReading(p, kind)) {
|
|
1458
|
+
logForDebugging(`[Sandbox] Skipping glob write pattern on Linux: ${p}`);
|
|
1459
|
+
return false;
|
|
1460
|
+
}
|
|
1461
|
+
return true;
|
|
1462
|
+
});
|
|
1463
|
+
}
|
|
1464
|
+
function* expandAllowReadGlob(pattern, anchor) {
|
|
1465
|
+
const expanded = (yield* walkGlobPatternSteps(pattern, { anchor })).matches;
|
|
1466
|
+
logForDebugging(`[Sandbox] Expanded allowRead glob pattern "${pattern}" to ${expanded.length} paths on Linux`);
|
|
1467
|
+
return expanded;
|
|
1468
|
+
}
|
|
1469
|
+
/**
|
|
1470
|
+
* The read policy of the initialized config, for inspection and display.
|
|
1471
|
+
* On Linux, denyRead globs are collapsed to covering directory mounts against
|
|
1472
|
+
* this config's allowRead and {@link getFsWriteConfig}'s write roots, so
|
|
1473
|
+
* `denyOnly` is only sound alongside that write config and must not be handed
|
|
1474
|
+
* to wrapCommandWithSandboxLinux with a different one. Marked entries are
|
|
1475
|
+
* in the `literal…` lists, as spelled: pass the object on whole.
|
|
1476
|
+
*/
|
|
1477
|
+
function getFsReadConfig() {
|
|
1478
|
+
if (!config || config.filesystem.disabled) {
|
|
1479
|
+
return { denyOnly: [], allowWithinDeny: [] };
|
|
1480
|
+
}
|
|
1481
|
+
// Credential deny paths are unioned with the caller's denyRead — never
|
|
1482
|
+
// replacing it — so explicit filesystem restrictions always survive.
|
|
1483
|
+
const credentialRestrictions = getCredentialRestrictions(config.credentials, config.network.allowedDomains);
|
|
1484
|
+
// allowRead (re-allow within denied regions) is resolved first: the
|
|
1485
|
+
// denyRead glob expansion collapses against it.
|
|
1486
|
+
const allowPaths = finish(resolveReadPathEntries('allow', config.filesystem.allowRead ?? [], expandAllowReadGlob));
|
|
1487
|
+
const reExposedPaths = reExposedBy(allowPaths, config.filesystem.allowRead, getFsWriteConfig());
|
|
1488
|
+
const unlistableDenyDirs = new Set();
|
|
1489
|
+
const listings = new Map();
|
|
1490
|
+
const denyPaths = finish(resolveReadDenies(config.filesystem.denyRead, credentialRestrictions, (pattern, anchor) => expandReadDenyGlobLinuxSteps(pattern, reExposedPaths, unlistableDenyDirs, { anchor, listings })));
|
|
1491
|
+
return {
|
|
1492
|
+
...denyPaths,
|
|
1493
|
+
allowWithinDeny: allowPaths,
|
|
1494
|
+
unlistableDenyDirs: [...unlistableDenyDirs],
|
|
1495
|
+
...literalReadLists(config.filesystem.denyRead, config.filesystem.allowRead),
|
|
1496
|
+
};
|
|
1497
|
+
}
|
|
1498
|
+
function getFsWriteConfig() {
|
|
1499
|
+
if (!config) {
|
|
1500
|
+
return { allowOnly: getDefaultWritePaths(), denyWithinAllow: [] };
|
|
1501
|
+
}
|
|
1502
|
+
if (config.filesystem.disabled) {
|
|
1503
|
+
return { allowOnly: ['/'], denyWithinAllow: [] };
|
|
1504
|
+
}
|
|
1505
|
+
const allowPaths = stripWriteGlobs('allow', config.filesystem.allowWrite);
|
|
1506
|
+
const denyPaths = stripWriteGlobs('deny', config.filesystem.denyWrite);
|
|
1507
|
+
const allowOnly = [
|
|
1508
|
+
...defaultWritePathsUnder({
|
|
1509
|
+
denyRead: config.filesystem.denyRead,
|
|
1510
|
+
allowRead: config.filesystem.allowRead,
|
|
1511
|
+
credentials: config.credentials,
|
|
1512
|
+
}),
|
|
1513
|
+
...allowPaths,
|
|
1514
|
+
];
|
|
1515
|
+
return {
|
|
1516
|
+
allowOnly,
|
|
1517
|
+
denyWithinAllow: denyPaths,
|
|
1518
|
+
...literalWriteLists(config.filesystem.allowWrite, config.filesystem.denyWrite),
|
|
1519
|
+
// capybara patch: ordered raw regex write rules (macOS)
|
|
1520
|
+
regexRules: config.filesystem.writeRegexRules ?? [],
|
|
1521
|
+
};
|
|
1522
|
+
}
|
|
1523
|
+
/**
|
|
1524
|
+
* Build the Windows file-access set (deny stamps + sandbox-user
|
|
1525
|
+
* grants) from `runtimeConfig`. Globs are expanded to concrete
|
|
1526
|
+
* paths (point-in-time — a path appearing after this returns is NOT
|
|
1527
|
+
* covered). Directory targets are accepted (the `(OI)(CI)` ACEs
|
|
1528
|
+
* cover the subtree).
|
|
1529
|
+
*
|
|
1530
|
+
* The sandbox user has no inherent rights on real-user-owned files,
|
|
1531
|
+
* so `allowWrite` (the working-tree roots) becomes a per-session
|
|
1532
|
+
* `MODIFY_NO_FDC` ALLOW ACE for `<sb-SID>`, `allowRead` a
|
|
1533
|
+
* `READ|EXECUTE` ALLOW ACE, and `denyRead`/`denyWrite` become an
|
|
1534
|
+
* explicit DENY ACE for `<sb-SID>` on the target plus a
|
|
1535
|
+
* `(OI)(CI) FILE_DELETE_CHILD` DENY on its parent.
|
|
1536
|
+
* {@link rankWindowsFsAccess} ranks the lists against each other.
|
|
1537
|
+
*
|
|
1538
|
+
* `maskedFiles`: see {@link windowsMaskedFileDenies}.
|
|
1539
|
+
*/
|
|
1540
|
+
function computeWindowsFsAccessSet(c, maskedFiles) {
|
|
1541
|
+
const fs = c.filesystem;
|
|
1542
|
+
// filesystem.disabled bypasses ALL filesystem rule generation —
|
|
1543
|
+
// same as the macOS/Linux wrapWithSandbox path (readConfig /
|
|
1544
|
+
// writeConfig left undefined). On Windows this means no grant, and
|
|
1545
|
+
// no stamp but a masked file's; credential FILE denies are dropped
|
|
1546
|
+
// along with the rest (credential ENV: mode:'deny' is structural
|
|
1547
|
+
// under the fresh srt-sandbox env; mode:'mask' sentinels are passed
|
|
1548
|
+
// via the --env overlay).
|
|
1549
|
+
if (fs?.disabled) {
|
|
1550
|
+
return {
|
|
1551
|
+
grantRead: [],
|
|
1552
|
+
grantWrite: [],
|
|
1553
|
+
denyRead: [...maskedFiles],
|
|
1554
|
+
denyWrite: [],
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
const expand = expandWindowsFsPaths;
|
|
1558
|
+
// `mode: 'deny'` — non-existent literals reach srt-win, which
|
|
1559
|
+
// creates a placeholder chain and stamps it (deny lands on the
|
|
1560
|
+
// exact target path). `mode: 'grant'` drops them (a grant on
|
|
1561
|
+
// nothing is meaningless).
|
|
1562
|
+
return rankWindowsFsAccess({
|
|
1563
|
+
allowRead: expand(fs?.allowRead ?? [], { mode: 'grant' }),
|
|
1564
|
+
allowWrite: expand(fs?.allowWrite ?? [], { mode: 'grant' }),
|
|
1565
|
+
denyRead: expand(fs?.denyRead ?? [], { mode: 'deny' }),
|
|
1566
|
+
denyWrite: expand(fs?.denyWrite ?? [], { mode: 'deny' }),
|
|
1567
|
+
credentialDeny: [
|
|
1568
|
+
...expand(getCredentialDenyReadPaths(c.credentials), { mode: 'deny' }),
|
|
1569
|
+
...maskedFiles,
|
|
1570
|
+
],
|
|
1571
|
+
});
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* The `mode: "mask"` files, as credential denies: an ACL cannot redirect a
|
|
1575
|
+
* read, so on Windows, as on macOS, a masked file is unreadable. Each is a
|
|
1576
|
+
* file the library opened, so none is expanded, and `filesystem.disabled`
|
|
1577
|
+
* leaves them in force, as it leaves the masks on the other platforms.
|
|
1578
|
+
*/
|
|
1579
|
+
function windowsMaskedFileDenies(credentialRestrictions) {
|
|
1580
|
+
return [
|
|
1581
|
+
...credentialRestrictions.maskedFileBinds.map(b => b.realPath),
|
|
1582
|
+
...credentialRestrictions.degradeToDenyPaths,
|
|
1583
|
+
];
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* Snapshot the raw config fields that feed
|
|
1587
|
+
* {@link computeWindowsFsAccessSet}. Used by updateConfig() to
|
|
1588
|
+
* short-circuit the resolved-set diff (which re-runs glob
|
|
1589
|
+
* expansion) when nothing relevant changed.
|
|
1590
|
+
*/
|
|
1591
|
+
function rawWindowsFsInputs(c) {
|
|
1592
|
+
// Keyed exactly on what {@link computeWindowsFsAccessSet} reads of
|
|
1593
|
+
// the config. The masked files are not session-wide: each wrap
|
|
1594
|
+
// denies the ones the session has not stamped.
|
|
1595
|
+
// `network.allowedDomains` does NOT feed file-deny (only mask
|
|
1596
|
+
// injectHosts), so a network-only updateConfig hits the cache.
|
|
1597
|
+
return {
|
|
1598
|
+
disabled: c.filesystem.disabled ?? false,
|
|
1599
|
+
denyRead: [...c.filesystem.denyRead],
|
|
1600
|
+
denyWrite: [...c.filesystem.denyWrite],
|
|
1601
|
+
allowRead: [...(c.filesystem.allowRead ?? [])],
|
|
1602
|
+
allowWrite: [...c.filesystem.allowWrite],
|
|
1603
|
+
credFiles: getCredentialDenyReadPaths(c.credentials),
|
|
1604
|
+
};
|
|
1605
|
+
}
|
|
1606
|
+
function sameRawWindowsFsInputs(a, b) {
|
|
1607
|
+
return (a.disabled === b.disabled &&
|
|
1608
|
+
samePathEntries(a.denyRead, b.denyRead) &&
|
|
1609
|
+
samePathEntries(a.denyWrite, b.denyWrite) &&
|
|
1610
|
+
samePathEntries(a.allowRead, b.allowRead) &&
|
|
1611
|
+
samePathEntries(a.allowWrite, b.allowWrite) &&
|
|
1612
|
+
samePathEntries(a.credFiles, b.credFiles));
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* True when `newConfig`'s file-deny inputs match what was
|
|
1616
|
+
* stamped at initialize(). Compares raw inputs only (cheap,
|
|
1617
|
+
* order-insensitive); never re-expands globs — updateConfig is
|
|
1618
|
+
* warn-only on Windows and the resolved set wouldn't be used.
|
|
1619
|
+
*/
|
|
1620
|
+
function sameWindowsStampSet(newConfig) {
|
|
1621
|
+
return (windowsFsRawInputs !== undefined &&
|
|
1622
|
+
sameRawWindowsFsInputs(windowsFsRawInputs, rawWindowsFsInputs(newConfig)));
|
|
1623
|
+
}
|
|
1624
|
+
/** Why a loopback mode other than the session's verified one is refused. */
|
|
1625
|
+
function windowsLoopbackModeChanged(wanted, verified) {
|
|
1626
|
+
const mode = (open) => (open ? 'open' : 'closed');
|
|
1627
|
+
return (`network.allowLocalBinding asks for loopback ${mode(wanted)}, but this ` +
|
|
1628
|
+
`session verified the network fence with loopback ${mode(verified)}. ` +
|
|
1629
|
+
`On Windows the loopback mode is fixed by the install and checked at ` +
|
|
1630
|
+
`initialize(): it cannot change for one command or through ` +
|
|
1631
|
+
`updateConfig(). Call reset() then initialize() with the new value; ` +
|
|
1632
|
+
`the installed mode must match it.`);
|
|
1633
|
+
}
|
|
1634
|
+
function getNetworkRestrictionConfig() {
|
|
1635
|
+
if (!config) {
|
|
1636
|
+
return {};
|
|
1637
|
+
}
|
|
1638
|
+
// Preserve an explicitly-empty allowlist: consumers need to distinguish
|
|
1639
|
+
// "no network restriction configured" (absent) from "allowlist configured
|
|
1640
|
+
// with zero entries" (block-all / ask-only). Stripping the empty array
|
|
1641
|
+
// made a host app's restriction-status UI report an airgapped config as
|
|
1642
|
+
// unrestricted. deniedHosts keeps the strip — an empty denylist and an
|
|
1643
|
+
// absent one are semantically identical.
|
|
1644
|
+
const allowedHosts = config.network.allowedDomains;
|
|
1645
|
+
const deniedHosts = config.network.deniedDomains;
|
|
1646
|
+
return {
|
|
1647
|
+
allowedHosts,
|
|
1648
|
+
...(deniedHosts.length > 0 && { deniedHosts }),
|
|
1649
|
+
};
|
|
1650
|
+
}
|
|
1651
|
+
function getAllowUnixSockets() {
|
|
1652
|
+
return config?.network?.allowUnixSockets;
|
|
1653
|
+
}
|
|
1654
|
+
function getAllowAllUnixSockets() {
|
|
1655
|
+
return config?.network?.allowAllUnixSockets;
|
|
1656
|
+
}
|
|
1657
|
+
function getAllowLocalBinding() {
|
|
1658
|
+
return config?.network?.allowLocalBinding;
|
|
1659
|
+
}
|
|
1660
|
+
function getAllowMachLookup() {
|
|
1661
|
+
return config?.network?.allowMachLookup;
|
|
1662
|
+
}
|
|
1663
|
+
function getIgnoreViolations() {
|
|
1664
|
+
return config?.ignoreViolations;
|
|
1665
|
+
}
|
|
1666
|
+
function getEnableWeakerNestedSandbox() {
|
|
1667
|
+
return config?.enableWeakerNestedSandbox;
|
|
1668
|
+
}
|
|
1669
|
+
function getEnableWeakerNetworkIsolation() {
|
|
1670
|
+
return config?.enableWeakerNetworkIsolation;
|
|
1671
|
+
}
|
|
1672
|
+
function getAllowAppleEvents() {
|
|
1673
|
+
return config?.allowAppleEvents;
|
|
1674
|
+
}
|
|
1675
|
+
function getRipgrepConfig() {
|
|
1676
|
+
return config?.ripgrep ?? { command: 'rg' };
|
|
1677
|
+
}
|
|
1678
|
+
function getMandatoryDenySearchDepth() {
|
|
1679
|
+
return config?.mandatoryDenySearchDepth ?? 3;
|
|
1680
|
+
}
|
|
1681
|
+
function getAllowGitConfig() {
|
|
1682
|
+
return config?.filesystem?.allowGitConfig ?? false;
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* Union of session-level and per-call `git.safeDirectories`. Marks
|
|
1686
|
+
* paths as `safe.directory` (dubious-ownership bypass) WITHOUT
|
|
1687
|
+
* touching the write grant — the repo top-level for a subdirectory
|
|
1688
|
+
* launch must NOT go in `filesystem.allowWrite`.
|
|
1689
|
+
*/
|
|
1690
|
+
function getGitSafeDirectories(customConfig) {
|
|
1691
|
+
return [
|
|
1692
|
+
...(config?.git?.safeDirectories ?? []),
|
|
1693
|
+
...(customConfig?.git?.safeDirectories ?? []),
|
|
1694
|
+
];
|
|
1695
|
+
}
|
|
1696
|
+
function getSeccompConfig() {
|
|
1697
|
+
return config?.seccomp;
|
|
1698
|
+
}
|
|
1699
|
+
function getProxyAuthToken() {
|
|
1700
|
+
return proxyAuthToken;
|
|
1701
|
+
}
|
|
1702
|
+
function getProxyPort() {
|
|
1703
|
+
return managerContext?.httpProxyPort;
|
|
1704
|
+
}
|
|
1705
|
+
function getSocksProxyPort() {
|
|
1706
|
+
return managerContext?.socksProxyPort;
|
|
1707
|
+
}
|
|
1708
|
+
function getLinuxHttpSocketPath() {
|
|
1709
|
+
return managerContext?.linuxBridge?.httpSocketPath;
|
|
1710
|
+
}
|
|
1711
|
+
function getLinuxSocksSocketPath() {
|
|
1712
|
+
return managerContext?.linuxBridge?.socksSocketPath;
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
* Wait for network initialization to complete if already in progress
|
|
1716
|
+
* Returns true if initialized successfully, false otherwise
|
|
1717
|
+
*/
|
|
1718
|
+
async function waitForNetworkInitialization() {
|
|
1719
|
+
if (!config) {
|
|
1720
|
+
return false;
|
|
1721
|
+
}
|
|
1722
|
+
if (initializationPromise) {
|
|
1723
|
+
try {
|
|
1724
|
+
await initializationPromise;
|
|
1725
|
+
return true;
|
|
1726
|
+
}
|
|
1727
|
+
catch {
|
|
1728
|
+
return false;
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
return managerContext !== undefined;
|
|
1732
|
+
}
|
|
1733
|
+
/** A wrap that has started over this many times walks without giving the
|
|
1734
|
+
* thread back. */
|
|
1735
|
+
const RESTARTS_IN_TURNS = 2;
|
|
1736
|
+
/** In place of what a walk finds: the configuration was replaced under it. */
|
|
1737
|
+
const REPLACED = Symbol('replaced');
|
|
1738
|
+
/** Whether a wrap is walking, and the ones waiting to, first come first. */
|
|
1739
|
+
let walking = false;
|
|
1740
|
+
const waitingToWalk = [];
|
|
1741
|
+
/**
|
|
1742
|
+
* Resolves once no other wrap is walking, with what says that this one's walk
|
|
1743
|
+
* has ended; only the first call of it counts. Walks that take turns on one
|
|
1744
|
+
* thread end no sooner for it, while each keeps all it has listed until it
|
|
1745
|
+
* ends and has its turn before the event loop gets one: the memory and the
|
|
1746
|
+
* thread held would both grow with the wraps in flight.
|
|
1747
|
+
* Rejects with `signal`'s reason as soon as that is aborted during the wait.
|
|
1748
|
+
* Nothing else takes a wrap out of the line, reset() included.
|
|
1749
|
+
*/
|
|
1750
|
+
async function waitToWalk(signal) {
|
|
1751
|
+
if (walking) {
|
|
1752
|
+
signal?.throwIfAborted();
|
|
1753
|
+
await new Promise((resolve, reject) => {
|
|
1754
|
+
const go = () => {
|
|
1755
|
+
signal?.removeEventListener('abort', leave);
|
|
1756
|
+
resolve();
|
|
1757
|
+
};
|
|
1758
|
+
const leave = () => {
|
|
1759
|
+
waitingToWalk.splice(waitingToWalk.indexOf(go), 1);
|
|
1760
|
+
reject(signal?.reason);
|
|
1761
|
+
};
|
|
1762
|
+
waitingToWalk.push(go);
|
|
1763
|
+
signal?.addEventListener('abort', leave, { once: true });
|
|
1764
|
+
});
|
|
1765
|
+
}
|
|
1766
|
+
walking = true;
|
|
1767
|
+
let ended = false;
|
|
1768
|
+
return () => {
|
|
1769
|
+
if (ended)
|
|
1770
|
+
return;
|
|
1771
|
+
ended = true;
|
|
1772
|
+
// Handed on while `walking` stays set, so that no newcomer gets in first.
|
|
1773
|
+
const next = waitingToWalk.shift();
|
|
1774
|
+
if (next)
|
|
1775
|
+
next();
|
|
1776
|
+
else
|
|
1777
|
+
walking = false;
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1780
|
+
async function wrapWithSandbox(command, binShell, customConfig, abortSignal, options) {
|
|
1781
|
+
return wrapWithSandboxAgain(0, command, binShell, customConfig, abortSignal, options);
|
|
1782
|
+
}
|
|
1783
|
+
/** {@link wrapWithSandbox}, having started over `restarts` times. */
|
|
1784
|
+
async function wrapWithSandboxAgain(restarts, command, binShell, customConfig, abortSignal, options) {
|
|
1785
|
+
// INVARIANT: an attempt waits before it reads anything, so that it goes by
|
|
1786
|
+
// the configuration, the working directory and the disk it finds afterwards.
|
|
1787
|
+
const walkEnded = await waitToWalk(abortSignal);
|
|
1788
|
+
try {
|
|
1789
|
+
return await wrapWithSandboxOnce(walkEnded, restarts, command, binShell, customConfig, abortSignal, options);
|
|
1790
|
+
}
|
|
1791
|
+
finally {
|
|
1792
|
+
walkEnded();
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
/** One attempt of {@link wrapWithSandboxAgain}, which calls `walkEnded` once
|
|
1796
|
+
* it walks no more. */
|
|
1797
|
+
async function wrapWithSandboxOnce(walkEnded, restarts, command, binShell, customConfig, abortSignal, options) {
|
|
1798
|
+
const platform = getPlatform();
|
|
1799
|
+
const commandId = options?.commandId;
|
|
1800
|
+
registerCommandText(command, options);
|
|
1801
|
+
const startedWith = config;
|
|
1802
|
+
const startedAt = configInstalls;
|
|
1803
|
+
const startedIn = workingDirectory();
|
|
1804
|
+
const movedOn = () => config !== startedWith ||
|
|
1805
|
+
configInstalls !== startedAt ||
|
|
1806
|
+
workingDirectory() !== startedIn;
|
|
1807
|
+
const startOver = () => {
|
|
1808
|
+
// The next attempt waits like any other wrap, behind the ones there are.
|
|
1809
|
+
walkEnded();
|
|
1810
|
+
return wrapWithSandboxAgain(restarts + 1, command, binShell, customConfig, abortSignal, options);
|
|
1811
|
+
};
|
|
1812
|
+
/** `steps`, left as soon as the host is seen to have moved on: what they
|
|
1813
|
+
* would go on to find is for a wrap that starts over anyway. */
|
|
1814
|
+
function* whileCurrent(steps) {
|
|
1815
|
+
for (;;) {
|
|
1816
|
+
if (movedOn())
|
|
1817
|
+
return REPLACED;
|
|
1818
|
+
const step = steps.next();
|
|
1819
|
+
if (step.done)
|
|
1820
|
+
return step.value;
|
|
1821
|
+
yield;
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
const walked = (steps) => {
|
|
1825
|
+
if (restarts < RESTARTS_IN_TURNS) {
|
|
1826
|
+
return finishInTurns(whileCurrent(steps), abortSignal);
|
|
1827
|
+
}
|
|
1828
|
+
abortSignal?.throwIfAborted();
|
|
1829
|
+
return finish(steps);
|
|
1830
|
+
};
|
|
1831
|
+
// filesystem.disabled bypasses ALL filesystem rule generation. Both
|
|
1832
|
+
// platform wrappers treat readConfig/writeConfig === undefined as "no
|
|
1833
|
+
// filesystem restrictions" (seatbelt emits `(allow file-write*)`; bwrap
|
|
1834
|
+
// skips the `--ro-bind / /` root and all path binds).
|
|
1835
|
+
//
|
|
1836
|
+
// Precedence: when a caller passes a per-call filesystem override at all,
|
|
1837
|
+
// its `disabled` (defaulting to false) wins outright. A global
|
|
1838
|
+
// disabled=true must not silently discard a per-call tightening that
|
|
1839
|
+
// omits the new key.
|
|
1840
|
+
const fsDisabled = customConfig?.filesystem !== undefined
|
|
1841
|
+
? (customConfig.filesystem.disabled ?? false)
|
|
1842
|
+
: (config?.filesystem.disabled ?? false);
|
|
1843
|
+
// Credential env handling is independent of filesystem policy: unsetEnvVars /
|
|
1844
|
+
// setEnvVars must be applied even when fsDisabled (the credential file
|
|
1845
|
+
// deny-reads are dropped, but env scrubbing still happens).
|
|
1846
|
+
const credentialRestrictions = getCredentialRestrictions(customConfig?.credentials ?? config?.credentials, customConfig?.network?.allowedDomains ?? config?.network?.allowedDomains);
|
|
1847
|
+
// Get configs - use custom if provided, otherwise fall back to main config
|
|
1848
|
+
// If neither exists, defaults to empty arrays (most restrictive)
|
|
1849
|
+
// Always include default system write paths (like /dev/null, /tmp/claude)
|
|
1850
|
+
let writeConfig;
|
|
1851
|
+
let readConfig;
|
|
1852
|
+
if (!fsDisabled) {
|
|
1853
|
+
const userAllowWrite = stripWriteGlobs('allow', customConfig?.filesystem?.allowWrite ??
|
|
1854
|
+
config?.filesystem.allowWrite ??
|
|
1855
|
+
[]);
|
|
1856
|
+
writeConfig = {
|
|
1857
|
+
allowOnly: [
|
|
1858
|
+
...defaultWritePathsUnder({
|
|
1859
|
+
denyRead: customConfig?.filesystem?.denyRead ??
|
|
1860
|
+
config?.filesystem.denyRead ??
|
|
1861
|
+
[],
|
|
1862
|
+
allowRead: customConfig?.filesystem?.allowRead ?? config?.filesystem.allowRead,
|
|
1863
|
+
credentials: customConfig?.credentials ?? config?.credentials,
|
|
1864
|
+
}),
|
|
1865
|
+
...userAllowWrite,
|
|
1866
|
+
],
|
|
1867
|
+
denyWithinAllow: stripWriteGlobs('deny', customConfig?.filesystem?.denyWrite ??
|
|
1868
|
+
config?.filesystem.denyWrite ??
|
|
1869
|
+
[]),
|
|
1870
|
+
...literalWriteLists(customConfig?.filesystem?.allowWrite ?? config?.filesystem.allowWrite, customConfig?.filesystem?.denyWrite ?? config?.filesystem.denyWrite),
|
|
1871
|
+
// capybara patch: ordered raw regex write rules (macOS)
|
|
1872
|
+
regexRules: customConfig?.filesystem?.writeRegexRules ?? config?.filesystem.writeRegexRules ?? [],
|
|
1873
|
+
};
|
|
1874
|
+
// For a caller that never reads checkDependencies(), the CLI among them.
|
|
1875
|
+
if (!ownInstallLogged) {
|
|
1876
|
+
ownInstallLogged = true;
|
|
1877
|
+
try {
|
|
1878
|
+
const ownInstall = ownInstallWarning(writeRootsOf(writeConfig));
|
|
1879
|
+
if (ownInstall !== undefined) {
|
|
1880
|
+
logForDebugging(ownInstall, { level: 'warn' });
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
catch {
|
|
1884
|
+
// It only advises, as in checkDependenciesCommon().
|
|
1885
|
+
}
|
|
1886
|
+
}
|
|
1887
|
+
// Credential deny paths are unioned with the caller's denyRead — never
|
|
1888
|
+
// replacing it — so explicit filesystem restrictions always survive.
|
|
1889
|
+
// allowRead is resolved first: on Linux a denyRead glob's expansion is
|
|
1890
|
+
// collapsed against the paths that re-expose contents under a denied
|
|
1891
|
+
// directory (allowRead + allowWrite), so both must be final here.
|
|
1892
|
+
const expandedAllowRead = await walked(resolveReadPathEntries('allow', customConfig?.filesystem?.allowRead ??
|
|
1893
|
+
config?.filesystem.allowRead ??
|
|
1894
|
+
[], expandAllowReadGlob));
|
|
1895
|
+
if (expandedAllowRead === REPLACED)
|
|
1896
|
+
return startOver();
|
|
1897
|
+
// The TLS-termination CA cert and the trust bundle the env vars point at
|
|
1898
|
+
// (NODE_EXTRA_CA_CERTS etc.) must be readable by the child, even if their
|
|
1899
|
+
// paths fall under a user-configured denyRead or credential entry.
|
|
1900
|
+
const ownAllowWithinDeny = [];
|
|
1901
|
+
if (mitmCA) {
|
|
1902
|
+
ownAllowWithinDeny.push(mitmCA.certPath, mitmCA.trustBundlePath);
|
|
1903
|
+
}
|
|
1904
|
+
// Likewise the JVM proxy agent jar JAVA_TOOL_OPTIONS points at.
|
|
1905
|
+
if (javaAgentJarPath) {
|
|
1906
|
+
ownAllowWithinDeny.push(javaAgentJarPath);
|
|
1907
|
+
}
|
|
1908
|
+
expandedAllowRead.push(...ownAllowWithinDeny);
|
|
1909
|
+
const reExposedPaths = reExposedBy(expandedAllowRead, customConfig?.filesystem?.allowRead ?? config?.filesystem.allowRead, writeConfig);
|
|
1910
|
+
const unlistableDenyDirs = new Set();
|
|
1911
|
+
const listings = new Map();
|
|
1912
|
+
const expandedDenyRead = await walked(resolveReadDenies(customConfig?.filesystem?.denyRead ?? config?.filesystem.denyRead, credentialRestrictions, (pattern, anchor) => expandReadDenyGlobLinuxSteps(pattern, reExposedPaths, unlistableDenyDirs, { anchor, listings })));
|
|
1913
|
+
// Emptied by hand: a runtime may keep what this function has named for as
|
|
1914
|
+
// long as it is suspended, which is until the scan below has ended.
|
|
1915
|
+
listings.clear();
|
|
1916
|
+
if (expandedDenyRead === REPLACED)
|
|
1917
|
+
return startOver();
|
|
1918
|
+
readConfig = {
|
|
1919
|
+
...expandedDenyRead,
|
|
1920
|
+
allowWithinDeny: expandedAllowRead,
|
|
1921
|
+
...(ownAllowWithinDeny.length > 0 && { ownAllowWithinDeny }),
|
|
1922
|
+
unlistableDenyDirs: [...unlistableDenyDirs],
|
|
1923
|
+
...literalReadLists(customConfig?.filesystem?.denyRead ?? config?.filesystem.denyRead, customConfig?.filesystem?.allowRead ?? config?.filesystem.allowRead),
|
|
1924
|
+
};
|
|
1925
|
+
}
|
|
1926
|
+
// Nothing below walks, and what it waits for is not this thread.
|
|
1927
|
+
walkEnded();
|
|
1928
|
+
// Check if network config is specified - this determines if we need network restrictions
|
|
1929
|
+
// Network restriction is needed when:
|
|
1930
|
+
// 1. customConfig has network.allowedDomains defined (even if empty array = block all)
|
|
1931
|
+
// 2. OR config has network.allowedDomains defined (even if empty array = block all)
|
|
1932
|
+
// An empty allowedDomains array means "no domains allowed" = block all network access
|
|
1933
|
+
const hasNetworkConfig = customConfig?.network?.allowedDomains !== undefined ||
|
|
1934
|
+
config?.network?.allowedDomains !== undefined;
|
|
1935
|
+
// Network RESTRICTION is needed whenever network config is specified
|
|
1936
|
+
// This includes empty allowedDomains which means "block all network"
|
|
1937
|
+
const needsNetworkRestriction = hasNetworkConfig;
|
|
1938
|
+
// Network PROXY is needed whenever network config is specified
|
|
1939
|
+
// Even with empty allowedDomains, we route through proxy so that:
|
|
1940
|
+
// 1. updateConfig() can enable network access for already-running processes
|
|
1941
|
+
// 2. The proxy blocks all requests when allowlist is empty
|
|
1942
|
+
const needsNetworkProxy = hasNetworkConfig;
|
|
1943
|
+
// Wait for network initialization only if proxy is actually needed
|
|
1944
|
+
if (needsNetworkProxy) {
|
|
1945
|
+
await waitForNetworkInitialization();
|
|
1946
|
+
}
|
|
1947
|
+
// INVARIANT: one wrap, one configuration. updateConfig() can run in any of
|
|
1948
|
+
// the turns above, and what was read before it must not be put together
|
|
1949
|
+
// with what is read after it: the write list of one configuration with the
|
|
1950
|
+
// allowGitConfig of another is a policy nobody chose. So the wrap starts
|
|
1951
|
+
// over. Nothing from here to the platform's wrapper awaits.
|
|
1952
|
+
//
|
|
1953
|
+
// And one working directory, which a relative entry is resolved against
|
|
1954
|
+
// wherever it is read: a `.` bound back from where the host has gone to,
|
|
1955
|
+
// over denies walked from where it was, uncovers what they matched.
|
|
1956
|
+
//
|
|
1957
|
+
// INVARIANT: what a wrap hands out was read from the disk after its
|
|
1958
|
+
// configuration was installed. A host that writes a file and then installs
|
|
1959
|
+
// a rule that denies it finds it denied by every wrap that goes by that
|
|
1960
|
+
// rule. So a wrap that starts over keeps nothing of what it has listed or
|
|
1961
|
+
// walked, the same rules included. A configuration installed after this
|
|
1962
|
+
// check is the next wrap's.
|
|
1963
|
+
//
|
|
1964
|
+
// An embedder can replace the configuration many times during one walk.
|
|
1965
|
+
// After RESTARTS_IN_TURNS the wrap walks without a turn of the event loop,
|
|
1966
|
+
// so no timer or I/O callback replaces it meanwhile. That holds the thread
|
|
1967
|
+
// for one walk, as every wrap did before the walk took turns. It is not a
|
|
1968
|
+
// proof that the wrap ends: a promise continuation, or anything at all
|
|
1969
|
+
// while the network is still being initialized, can replace it between the
|
|
1970
|
+
// walk and this check, and the wrap then starts over once more.
|
|
1971
|
+
if (movedOn())
|
|
1972
|
+
return startOver();
|
|
1973
|
+
// Check custom config to allow pseudo-terminal (can be applied dynamically)
|
|
1974
|
+
const allowPty = customConfig?.allowPty ?? config?.allowPty;
|
|
1975
|
+
const allowNestedUserNamespaces = customConfig?.allowNestedUserNamespaces ?? config?.allowNestedUserNamespaces;
|
|
1976
|
+
const gitSafeDirectories = getGitSafeDirectories(customConfig);
|
|
1977
|
+
switch (platform) {
|
|
1978
|
+
case 'macos':
|
|
1979
|
+
// macOS sandbox profile supports glob patterns directly, no ripgrep needed
|
|
1980
|
+
return wrapCommandWithSandboxMacOS({
|
|
1981
|
+
command,
|
|
1982
|
+
commandId,
|
|
1983
|
+
needsNetworkRestriction,
|
|
1984
|
+
// Only pass proxy ports if proxy is running (when there are domains to filter)
|
|
1985
|
+
httpProxyPort: needsNetworkProxy ? getProxyPort() : undefined,
|
|
1986
|
+
socksProxyPort: needsNetworkProxy ? getSocksProxyPort() : undefined,
|
|
1987
|
+
proxyAuthToken: needsNetworkProxy ? proxyAuthToken : undefined,
|
|
1988
|
+
caCertPath: mitmCA?.trustBundlePath,
|
|
1989
|
+
javaAgentJarPath: needsNetworkProxy ? javaAgentJarPath : undefined,
|
|
1990
|
+
readConfig,
|
|
1991
|
+
writeConfig,
|
|
1992
|
+
unsetEnvVars: credentialRestrictions.unsetEnvVars,
|
|
1993
|
+
setEnvVars: credentialRestrictions.setEnvVars,
|
|
1994
|
+
maskedFileBinds: credentialRestrictions.maskedFileBinds,
|
|
1995
|
+
degradeToDenyPaths: credentialRestrictions.degradeToDenyPaths,
|
|
1996
|
+
allowUnixSockets: getAllowUnixSockets(),
|
|
1997
|
+
allowAllUnixSockets: getAllowAllUnixSockets(),
|
|
1998
|
+
allowLocalBinding: getAllowLocalBinding(),
|
|
1999
|
+
allowMachLookup: getAllowMachLookup(),
|
|
2000
|
+
ignoreViolations: getIgnoreViolations(),
|
|
2001
|
+
allowPty,
|
|
2002
|
+
allowGitConfig: getAllowGitConfig(),
|
|
2003
|
+
gitSafeDirectories,
|
|
2004
|
+
enableWeakerNetworkIsolation: getEnableWeakerNetworkIsolation(),
|
|
2005
|
+
allowAppleEvents: getAllowAppleEvents(),
|
|
2006
|
+
binShell,
|
|
2007
|
+
});
|
|
2008
|
+
case 'linux':
|
|
2009
|
+
return wrapCommandWithSandboxLinux({
|
|
2010
|
+
command,
|
|
2011
|
+
commandId,
|
|
2012
|
+
needsNetworkRestriction,
|
|
2013
|
+
// Only pass socket paths if proxy is running (when there are domains to filter)
|
|
2014
|
+
httpSocketPath: needsNetworkProxy
|
|
2015
|
+
? getLinuxHttpSocketPath()
|
|
2016
|
+
: undefined,
|
|
2017
|
+
socksSocketPath: needsNetworkProxy
|
|
2018
|
+
? getLinuxSocksSocketPath()
|
|
2019
|
+
: undefined,
|
|
2020
|
+
httpProxyPort: needsNetworkProxy
|
|
2021
|
+
? managerContext?.httpProxyPort
|
|
2022
|
+
: undefined,
|
|
2023
|
+
socksProxyPort: needsNetworkProxy
|
|
2024
|
+
? managerContext?.socksProxyPort
|
|
2025
|
+
: undefined,
|
|
2026
|
+
proxyAuthToken: needsNetworkProxy ? proxyAuthToken : undefined,
|
|
2027
|
+
caCertPath: mitmCA?.trustBundlePath,
|
|
2028
|
+
javaAgentJarPath: needsNetworkProxy ? javaAgentJarPath : undefined,
|
|
2029
|
+
readConfig,
|
|
2030
|
+
writeConfig,
|
|
2031
|
+
unsetEnvVars: credentialRestrictions.unsetEnvVars,
|
|
2032
|
+
setEnvVars: credentialRestrictions.setEnvVars,
|
|
2033
|
+
maskedFileBinds: credentialRestrictions.maskedFileBinds,
|
|
2034
|
+
maskedFileStoreDir: credentialRestrictions.maskedFileStoreDir,
|
|
2035
|
+
enableWeakerNestedSandbox: getEnableWeakerNestedSandbox(),
|
|
2036
|
+
allowNestedUserNamespaces,
|
|
2037
|
+
allowAllUnixSockets: getAllowAllUnixSockets(),
|
|
2038
|
+
binShell,
|
|
2039
|
+
ripgrepConfig: getRipgrepConfig(),
|
|
2040
|
+
mandatoryDenySearchDepth: getMandatoryDenySearchDepth(),
|
|
2041
|
+
allowGitConfig: getAllowGitConfig(),
|
|
2042
|
+
gitSafeDirectories,
|
|
2043
|
+
seccompConfig: getSeccompConfig(),
|
|
2044
|
+
bwrapPath: config?.bwrapPath,
|
|
2045
|
+
socatPath: config?.socatPath,
|
|
2046
|
+
observeSocketPath: linuxMonitor?.observeSocketPath,
|
|
2047
|
+
abortSignal,
|
|
2048
|
+
}).catch((err) => {
|
|
2049
|
+
// It awaits once more, for its scan: see the invariant above.
|
|
2050
|
+
if (err instanceof WorkingDirectoryChanged)
|
|
2051
|
+
return startOver();
|
|
2052
|
+
throw err;
|
|
2053
|
+
});
|
|
2054
|
+
case 'windows':
|
|
2055
|
+
// Windows wraps to an argv array, not a shell string. Forcing
|
|
2056
|
+
// callers through wrapWithSandboxArgv() means they spawn with
|
|
2057
|
+
// {shell:false}, which is the security boundary that keeps the
|
|
2058
|
+
// user's command bytes off the HOST shell.
|
|
2059
|
+
throw new Error('wrapWithSandbox() returns a shell string and is not supported ' +
|
|
2060
|
+
'on Windows. Use SandboxManager.wrapWithSandboxArgv() and ' +
|
|
2061
|
+
'spawn the result with {shell: false}.');
|
|
2062
|
+
default:
|
|
2063
|
+
// Unsupported platform - this should not happen since isSandboxingEnabled() checks platform support
|
|
2064
|
+
throw new Error(`Sandbox configuration is not supported on platform: ${platform}`);
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
/**
|
|
2068
|
+
* Wrap `command` for the sandbox and return a spawn descriptor:
|
|
2069
|
+
* `{ argv, env }`, suitable for
|
|
2070
|
+
* `spawn(argv[0], argv.slice(1), {shell: false, env})`.
|
|
2071
|
+
*
|
|
2072
|
+
* On Windows this is the ONLY supported wrap method (see
|
|
2073
|
+
* {@link wrapWithSandbox}); `env` is the broker process's spawn env
|
|
2074
|
+
* — the sandboxed child gets a fresh `srt-sandbox` profile env with
|
|
2075
|
+
* only the `--env` overlay baked into `argv` (see
|
|
2076
|
+
* {@link wrapCommandWithSandboxWindows}). On
|
|
2077
|
+
* macOS/Linux `argv` is `[binShell, '-c', <wrapWithSandbox result>]`
|
|
2078
|
+
* (proxy env is baked into that command) and `env` is the unchanged
|
|
2079
|
+
* `process.env`, so callers can spawn uniformly across platforms.
|
|
2080
|
+
*
|
|
2081
|
+
* @param cwd the working directory the caller will spawn the result
|
|
2082
|
+
* with. On Windows the child's cwd is whatever the caller passes
|
|
2083
|
+
* as the spawn `{cwd:}` option (there is no `--cwd` flag), and
|
|
2084
|
+
* the `safe.directory` git-config injection derives from this — so
|
|
2085
|
+
* pass the same value here as to `spawn({cwd})`. Defaults to
|
|
2086
|
+
* `process.cwd()`. Currently unused on macOS/Linux.
|
|
2087
|
+
*/
|
|
2088
|
+
async function wrapWithSandboxArgv(command, binShell, customConfig, abortSignal, cwd, options) {
|
|
2089
|
+
const platform = getPlatform();
|
|
2090
|
+
if (platform === 'windows') {
|
|
2091
|
+
const hasNetworkConfig = customConfig?.network?.allowedDomains !== undefined ||
|
|
2092
|
+
config?.network?.allowedDomains !== undefined;
|
|
2093
|
+
if (hasNetworkConfig) {
|
|
2094
|
+
await waitForNetworkInitialization();
|
|
2095
|
+
}
|
|
2096
|
+
const credentialRestrictions = getCredentialRestrictions(customConfig?.credentials ?? config?.credentials, customConfig?.network?.allowedDomains ?? config?.network?.allowedDomains);
|
|
2097
|
+
// Per-exec FILE denies (customConfig only — the session-level
|
|
2098
|
+
// config's denies were already stamped at initialize()).
|
|
2099
|
+
// Paths go through `expandWindowsFsPaths` — the SAME
|
|
2100
|
+
// chokepoint the session-level set uses (point-in-time glob
|
|
2101
|
+
// expand, normalize, missing→drop) — so a per-exec entry
|
|
2102
|
+
// resolves identically to its session-level equivalent.
|
|
2103
|
+
// macOS/Linux per-exec already reuses session-level expansion;
|
|
2104
|
+
// Windows now matches.
|
|
2105
|
+
//
|
|
2106
|
+
// The dedup against `windowsFsStampedSet` is an OPTIMIZATION,
|
|
2107
|
+
// not a correctness gate: re-stamping a session-held path
|
|
2108
|
+
// under the exec's distinct holder is refcount-safe but wastes
|
|
2109
|
+
// a SetSecurityInfo round-trip.
|
|
2110
|
+
//
|
|
2111
|
+
// filesystem.disabled bypasses ALL filesystem rule generation
|
|
2112
|
+
// — including credential-derived file denies — same ordering
|
|
2113
|
+
// as session-level `computeWindowsFsAccessSet` (credential
|
|
2114
|
+
// ENV: mode:'deny' is structural under the fresh srt-sandbox
|
|
2115
|
+
// env; mode:'mask' sentinels are passed via the --env
|
|
2116
|
+
// overlay). The masked files stay denied, as of this wrap: the
|
|
2117
|
+
// session has stamped the ones it found at initialize().
|
|
2118
|
+
// Per-exec allowRead/allowWrite throw — `srt-win exec` only
|
|
2119
|
+
// exposes `--deny-*`; per-exec grants are not implemented.
|
|
2120
|
+
const fsCfg = customConfig?.filesystem;
|
|
2121
|
+
const maskedFiles = windowsMaskedFileDenies(credentialRestrictions);
|
|
2122
|
+
let rawRead = [];
|
|
2123
|
+
let rawWrite = [];
|
|
2124
|
+
let rawCredential = [];
|
|
2125
|
+
if (!fsCfg?.disabled) {
|
|
2126
|
+
if (fsCfg?.allowRead?.length || fsCfg?.allowWrite?.length) {
|
|
2127
|
+
throw new Error(`Per-exec filesystem.allowRead/allowWrite is not supported ` +
|
|
2128
|
+
`on Windows — \`srt-win exec\` only exposes per-exec ` +
|
|
2129
|
+
`denies. Set them at the session level (initialize()).`);
|
|
2130
|
+
}
|
|
2131
|
+
rawRead = fsCfg?.denyRead ?? [];
|
|
2132
|
+
rawWrite = fsCfg?.denyWrite ?? [];
|
|
2133
|
+
rawCredential = getCredentialDenyReadPaths(customConfig?.credentials);
|
|
2134
|
+
}
|
|
2135
|
+
let perExecDenyRead = [];
|
|
2136
|
+
let perExecDenyWrite = [];
|
|
2137
|
+
// Skip on the dominant path (no per-exec fs deny, no credential
|
|
2138
|
+
// file).
|
|
2139
|
+
if (rawRead.length > 0 ||
|
|
2140
|
+
rawWrite.length > 0 ||
|
|
2141
|
+
rawCredential.length > 0 ||
|
|
2142
|
+
maskedFiles.length > 0) {
|
|
2143
|
+
const sessRead = new Set(windowsFsStampedSet?.denyRead ?? []);
|
|
2144
|
+
const sessWrite = new Set(windowsFsStampedSet?.denyWrite ?? []);
|
|
2145
|
+
const expand = expandWindowsFsPaths;
|
|
2146
|
+
const ranked = rankWindowsFsAccess({
|
|
2147
|
+
allowRead: [],
|
|
2148
|
+
allowWrite: [],
|
|
2149
|
+
denyRead: expand(rawRead, { mode: 'deny' }),
|
|
2150
|
+
denyWrite: expand(rawWrite, { mode: 'deny' }),
|
|
2151
|
+
credentialDeny: [
|
|
2152
|
+
...expand(rawCredential, { mode: 'deny' }),
|
|
2153
|
+
...maskedFiles,
|
|
2154
|
+
],
|
|
2155
|
+
held: windowsFsStampedSet,
|
|
2156
|
+
});
|
|
2157
|
+
const denyRead = ranked.denyRead;
|
|
2158
|
+
perExecDenyRead = denyRead.filter(p => !sessRead.has(p));
|
|
2159
|
+
// srt-win expands the deny from the record as it is when the command
|
|
2160
|
+
// runs, so a grant made since initialize() is covered.
|
|
2161
|
+
perExecDenyWrite = ranked.denyWrite.filter(p => !sessRead.has(p) && !sessWrite.has(p));
|
|
2162
|
+
}
|
|
2163
|
+
// Per-exec deny rides on argv (`acl stamp` reads stdin, but
|
|
2164
|
+
// exec's stdin belongs to the child). The CreateProcessW
|
|
2165
|
+
// length check lives in `wrapCommandWithSandboxWindows`
|
|
2166
|
+
// where the full argv (incl. shell + user command) is known.
|
|
2167
|
+
//
|
|
2168
|
+
// The `denyReadPaths` half of the SESSION-level credentials
|
|
2169
|
+
// is already unioned into the stamp set at initialize() time
|
|
2170
|
+
// via `computeWindowsFsAccessSet`.
|
|
2171
|
+
// Asked once per srt-win, so an older one is refused as outdated
|
|
2172
|
+
// instead of failing on a flag it does not know.
|
|
2173
|
+
assertWindowsSrtWinCapable(customConfig?.windows?.srtWin
|
|
2174
|
+
? resolveSrtWin(customConfig.windows.srtWin)
|
|
2175
|
+
: (srtWinSpawn ?? resolveSrtWin(config?.windows?.srtWin)));
|
|
2176
|
+
// The loopback mode is the one initialize() probed the fence with.
|
|
2177
|
+
// A command or an updateConfig() asking for the other is refused here.
|
|
2178
|
+
const wantsLoopback = (customConfig?.network?.allowLocalBinding ?? getAllowLocalBinding()) ===
|
|
2179
|
+
true;
|
|
2180
|
+
if (windowsWfpVerifiedLoopback !== undefined &&
|
|
2181
|
+
wantsLoopback !== windowsWfpVerifiedLoopback) {
|
|
2182
|
+
throw new WindowsSandboxError('wfp_loopback_mismatch', windowsLoopbackModeChanged(wantsLoopback, windowsWfpVerifiedLoopback));
|
|
2183
|
+
}
|
|
2184
|
+
registerCommandText(command, options);
|
|
2185
|
+
return wrapCommandWithSandboxWindows({
|
|
2186
|
+
command,
|
|
2187
|
+
commandId: options?.commandId,
|
|
2188
|
+
httpProxyPort: hasNetworkConfig ? getProxyPort() : undefined,
|
|
2189
|
+
socksProxyPort: hasNetworkConfig ? getSocksProxyPort() : undefined,
|
|
2190
|
+
proxyAuthToken: hasNetworkConfig ? proxyAuthToken : undefined,
|
|
2191
|
+
// `srt-win exec` launches nothing unless this is the loopback mode
|
|
2192
|
+
// the install recorded: a difference is refused, never ignored.
|
|
2193
|
+
allowLoopback: wantsLoopback,
|
|
2194
|
+
// mode:'deny' env vars are structurally absent (fresh
|
|
2195
|
+
// srt-sandbox profile env). mode:'mask' sentinels are
|
|
2196
|
+
// passed via the --env overlay so the sandboxed child sees
|
|
2197
|
+
// the sentinel value, same as macOS/Linux.
|
|
2198
|
+
setEnvVars: credentialRestrictions.setEnvVars,
|
|
2199
|
+
denyRead: perExecDenyRead,
|
|
2200
|
+
// The session's own grants beneath those denies keep their rank.
|
|
2201
|
+
denyReadExcept: windowsGrantsBeneathDenies([
|
|
2202
|
+
...(windowsFsStampedSet?.grantRead ?? []),
|
|
2203
|
+
...(windowsFsStampedSet?.grantWrite ?? []),
|
|
2204
|
+
], perExecDenyRead),
|
|
2205
|
+
denyWrite: perExecDenyWrite,
|
|
2206
|
+
// safe.directory: cwd + the resolved session-level write
|
|
2207
|
+
// grants + explicit git.safeDirectories — the working-tree
|
|
2208
|
+
// roots the sandbox user has MODIFY on plus any repo top-level
|
|
2209
|
+
// the caller marks as safe without granting write.
|
|
2210
|
+
cwd,
|
|
2211
|
+
allowWrite: windowsFsStampedSet?.grantWrite,
|
|
2212
|
+
gitSafeDirectories: getGitSafeDirectories(customConfig),
|
|
2213
|
+
caCertPath: mitmCA?.trustBundlePath,
|
|
2214
|
+
// srt-win verifies the holder and otherwise holds for the command
|
|
2215
|
+
// itself.
|
|
2216
|
+
heldBy: windowsFsSbUserSid !== undefined ? process.pid : undefined,
|
|
2217
|
+
// The roots initialize() granted persistently; their capability
|
|
2218
|
+
// SIDs are what let this command write them.
|
|
2219
|
+
writeRoots: windowsFsStampedSet?.grantWrite,
|
|
2220
|
+
binShell: parseWindowsBinShell(binShell),
|
|
2221
|
+
srtWin: customConfig?.windows?.srtWin
|
|
2222
|
+
? resolveSrtWin(customConfig.windows.srtWin)
|
|
2223
|
+
: (srtWinSpawn ?? resolveSrtWin(config?.windows?.srtWin)),
|
|
2224
|
+
});
|
|
2225
|
+
}
|
|
2226
|
+
// macOS/Linux: delegate to the existing string wrapper, then put
|
|
2227
|
+
// the result behind `<shell> -c` so the caller's argv-spawn works.
|
|
2228
|
+
if (typeof binShell === 'object') {
|
|
2229
|
+
throw new Error('binShell object form is Windows-only; pass a shell path string ' +
|
|
2230
|
+
'on macOS/Linux');
|
|
2231
|
+
}
|
|
2232
|
+
const wrapped = await wrapWithSandbox(command, binShell, customConfig, abortSignal, options);
|
|
2233
|
+
const shell = binShell ?? '/bin/bash';
|
|
2234
|
+
return { argv: [shell, '-c', wrapped], env: process.env };
|
|
2235
|
+
}
|
|
2236
|
+
/**
|
|
2237
|
+
* Get the current sandbox configuration
|
|
2238
|
+
* @returns The current configuration, or undefined if not initialized
|
|
2239
|
+
*/
|
|
2240
|
+
function getConfig() {
|
|
2241
|
+
return config;
|
|
2242
|
+
}
|
|
2243
|
+
/**
|
|
2244
|
+
* Update the sandbox configuration in place.
|
|
2245
|
+
*
|
|
2246
|
+
* **Network/allowlist changes are a live swap**: the running
|
|
2247
|
+
* mux proxy reads `config.network.allowedDomains` /
|
|
2248
|
+
* `deniedDomains` per-request (via `filterNetworkRequest`), so
|
|
2249
|
+
* reassigning `config` here takes effect on the next connection
|
|
2250
|
+
* with no proxy rebind and no port change — on every platform,
|
|
2251
|
+
* including Windows. This is what lets a host enable/deny domains
|
|
2252
|
+
* for already-running sandboxed children.
|
|
2253
|
+
*
|
|
2254
|
+
* Filesystem changes (denyRead/denyWrite) are NOT applied live:
|
|
2255
|
+
* macOS bakes them into the seatbelt profile at wrap time, and
|
|
2256
|
+
* Linux/Windows bake them into the bwrap argv / DENY-ACE set at
|
|
2257
|
+
* wrap time. Call reset() + initialize() to apply a new
|
|
2258
|
+
* filesystem config.
|
|
2259
|
+
*
|
|
2260
|
+
* @param newConfig - The new configuration to use
|
|
2261
|
+
*/
|
|
2262
|
+
function updateConfig(newConfig) {
|
|
2263
|
+
if (getPlatform() === 'windows' &&
|
|
2264
|
+
config &&
|
|
2265
|
+
!sameWindowsStampSet(newConfig)) {
|
|
2266
|
+
logForDebugging(`[Sandbox Windows] updateConfig: the resolved file-access set ` +
|
|
2267
|
+
`(filesystem.* ∪ credentials.files) changed but the ACL ` +
|
|
2268
|
+
`stamp/grant is session-wide — call reset() then initialize() ` +
|
|
2269
|
+
`to apply. The previously-applied set stays in effect.`, { level: 'warn' });
|
|
2270
|
+
}
|
|
2271
|
+
const nextLoopback = newConfig.network?.allowLocalBinding === true;
|
|
2272
|
+
if (getPlatform() === 'windows' &&
|
|
2273
|
+
config &&
|
|
2274
|
+
windowsWfpVerifiedLoopback !== undefined &&
|
|
2275
|
+
nextLoopback !== windowsWfpVerifiedLoopback) {
|
|
2276
|
+
logForDebugging(`[Sandbox Windows] updateConfig: ` +
|
|
2277
|
+
windowsLoopbackModeChanged(nextLoopback, windowsWfpVerifiedLoopback) +
|
|
2278
|
+
` Commands are refused until then.`, { level: 'warn' });
|
|
2279
|
+
}
|
|
2280
|
+
// Built before anything is swapped, so a malformed range leaves the
|
|
2281
|
+
// previous config fully in effect.
|
|
2282
|
+
const nextGuard = createResolvedAddressGuard(newConfig.network);
|
|
2283
|
+
// Deep clone the config to avoid mutations. structuredClone cannot clone
|
|
2284
|
+
// functions, so pull filterRequest out, clone the rest, and put it back —
|
|
2285
|
+
// a function reference is immutable in the sense that matters here.
|
|
2286
|
+
const { filterRequest, ...rest } = newConfig.network;
|
|
2287
|
+
config = structuredClone({ ...newConfig, network: rest });
|
|
2288
|
+
config.network.filterRequest = filterRequest;
|
|
2289
|
+
configInstalls++;
|
|
2290
|
+
resolvedAddressGuard = nextGuard;
|
|
2291
|
+
// Re-resolve parent proxy so hot-reload picks up changes. Note: the proxy
|
|
2292
|
+
// servers capture `parentProxy` by value at creation, so changes here take
|
|
2293
|
+
// effect only on re-initialize. This keeps the state consistent for the
|
|
2294
|
+
// next initialize() call.
|
|
2295
|
+
parentProxy = resolveParentProxy(newConfig.network.parentProxy);
|
|
2296
|
+
logForDebugging('Sandbox configuration updated');
|
|
2297
|
+
}
|
|
2298
|
+
/**
|
|
2299
|
+
* Lightweight cleanup to call after each sandboxed command completes.
|
|
2300
|
+
*
|
|
2301
|
+
* On Linux, bwrap creates empty files on the host filesystem as mount points
|
|
2302
|
+
* when protecting non-existent deny paths (e.g. ~/.bashrc, ~/.gitconfig).
|
|
2303
|
+
* These persist after bwrap exits. This function removes them.
|
|
2304
|
+
*
|
|
2305
|
+
* Safe to call on any platform — it's a no-op on macOS.
|
|
2306
|
+
* Also called automatically by reset() and on process exit as safety nets.
|
|
2307
|
+
*/
|
|
2308
|
+
function cleanupAfterCommand() {
|
|
2309
|
+
cleanupBwrapMountPoints();
|
|
2310
|
+
}
|
|
2311
|
+
/**
|
|
2312
|
+
* How long to wait for a bridge process to exit after SIGTERM before
|
|
2313
|
+
* escalating to SIGKILL.
|
|
2314
|
+
*
|
|
2315
|
+
* socat exits within ~10ms of SIGTERM; this is purely a safety margin.
|
|
2316
|
+
* Keep it well below bun's default 5s test/hook timeout: when a bridge's
|
|
2317
|
+
* `'exit'` event is missed entirely (a Linux-only Bun pidfd notification
|
|
2318
|
+
* bug, oven-sh/bun#30301), this timer is the only thing that lets `reset()`
|
|
2319
|
+
* make progress, and a 5000ms value here loses the race against the hook
|
|
2320
|
+
* timer by a couple of milliseconds — that race was the dominant CI flake.
|
|
2321
|
+
*/
|
|
2322
|
+
const BRIDGE_EXIT_TIMEOUT_MS = 1500;
|
|
2323
|
+
/**
|
|
2324
|
+
* SIGTERM a bridge process and resolve once it has exited.
|
|
2325
|
+
*
|
|
2326
|
+
* Returns immediately if the process has already exited (`.exitCode` /
|
|
2327
|
+
* `.signalCode` set) — registering `.once('exit')` after the event has
|
|
2328
|
+
* already been emitted produces a listener that never fires.
|
|
2329
|
+
*
|
|
2330
|
+
* Falls back to SIGKILL after {@link BRIDGE_EXIT_TIMEOUT_MS}.
|
|
2331
|
+
*/
|
|
2332
|
+
function killBridgeProcess(proc, label) {
|
|
2333
|
+
// Already exited → 'exit' already emitted → a fresh once('exit') would
|
|
2334
|
+
// never fire. Don't wait on it.
|
|
2335
|
+
if (!proc.pid || proc.exitCode !== null || proc.signalCode !== null) {
|
|
2336
|
+
return Promise.resolve();
|
|
2337
|
+
}
|
|
2338
|
+
try {
|
|
2339
|
+
process.kill(proc.pid, 'SIGTERM');
|
|
2340
|
+
logForDebugging(`Sent SIGTERM to ${label} bridge process`);
|
|
2341
|
+
}
|
|
2342
|
+
catch (err) {
|
|
2343
|
+
if (err.code !== 'ESRCH') {
|
|
2344
|
+
logForDebugging(`Error killing ${label} bridge: ${err}`, {
|
|
2345
|
+
level: 'error',
|
|
2346
|
+
});
|
|
2347
|
+
}
|
|
2348
|
+
// ESRCH = process already gone; nothing to wait for either way.
|
|
2349
|
+
return Promise.resolve();
|
|
2350
|
+
}
|
|
2351
|
+
return new Promise(resolve => {
|
|
2352
|
+
let settled = false;
|
|
2353
|
+
const done = () => {
|
|
2354
|
+
if (settled)
|
|
2355
|
+
return;
|
|
2356
|
+
settled = true;
|
|
2357
|
+
clearTimeout(timer);
|
|
2358
|
+
resolve();
|
|
2359
|
+
};
|
|
2360
|
+
proc.once('exit', () => {
|
|
2361
|
+
logForDebugging(`${label} bridge process exited`);
|
|
2362
|
+
done();
|
|
2363
|
+
});
|
|
2364
|
+
const timer = setTimeout(() => {
|
|
2365
|
+
// Re-check liveness — the 'exit' may have raced us.
|
|
2366
|
+
if (proc.exitCode === null && proc.signalCode === null) {
|
|
2367
|
+
logForDebugging(`${label} bridge did not exit, forcing SIGKILL`, {
|
|
2368
|
+
level: 'warn',
|
|
2369
|
+
});
|
|
2370
|
+
try {
|
|
2371
|
+
if (proc.pid)
|
|
2372
|
+
process.kill(proc.pid, 'SIGKILL');
|
|
2373
|
+
}
|
|
2374
|
+
catch {
|
|
2375
|
+
// Process may have already exited
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
done();
|
|
2379
|
+
}, BRIDGE_EXIT_TIMEOUT_MS);
|
|
2380
|
+
// The bridge process is being torn down; this timer must not be the
|
|
2381
|
+
// only thing keeping the event loop alive.
|
|
2382
|
+
timer.unref?.();
|
|
2383
|
+
});
|
|
2384
|
+
}
|
|
2385
|
+
/**
|
|
2386
|
+
* Forcibly close an http.Server, including any in-flight requests.
|
|
2387
|
+
*
|
|
2388
|
+
* Plain `server.close()` waits for every active request to finish.
|
|
2389
|
+
* The proxy may be mid-upstream-request when reset() runs (e.g. a test's
|
|
2390
|
+
* curl was killed by --max-time while the proxy was still dialing the
|
|
2391
|
+
* real example.com / api.github.com), and `dialDirect()` allows up to
|
|
2392
|
+
* 30s before giving up. Combined with a socat fork that hasn't yet seen
|
|
2393
|
+
* its unix-socket EOF, that leaves a fully-open inbound connection and
|
|
2394
|
+
* `server.close()` never calls back. `closeAllConnections()` (Node 18.2+,
|
|
2395
|
+
* also implemented in Bun) tears down those sockets so `close()` resolves
|
|
2396
|
+
* immediately.
|
|
2397
|
+
*/
|
|
2398
|
+
function forceCloseHttpServer(server) {
|
|
2399
|
+
return new Promise(resolve => {
|
|
2400
|
+
// Must run *before* close(): in Bun, close() also detaches the
|
|
2401
|
+
// underlying handle, so a closeAllConnections() called afterwards
|
|
2402
|
+
// becomes a no-op and the close callback waits for the in-flight
|
|
2403
|
+
// request to drain — defeating the purpose. With closeAllConnections()
|
|
2404
|
+
// first, the connections are gone by the time close() runs and its
|
|
2405
|
+
// callback fires immediately (Bun reports "Server is not running.",
|
|
2406
|
+
// Node reports no error). Verified against both orderings.
|
|
2407
|
+
if (typeof server.closeAllConnections === 'function') {
|
|
2408
|
+
server.closeAllConnections();
|
|
2409
|
+
}
|
|
2410
|
+
server.close(error => {
|
|
2411
|
+
if (error && error.message !== 'Server is not running.') {
|
|
2412
|
+
logForDebugging(`Error closing HTTP proxy server: ${error.message}`, {
|
|
2413
|
+
level: 'error',
|
|
2414
|
+
});
|
|
2415
|
+
}
|
|
2416
|
+
resolve();
|
|
2417
|
+
});
|
|
2418
|
+
});
|
|
2419
|
+
}
|
|
2420
|
+
async function reset() {
|
|
2421
|
+
// Windows: release this session's sandbox-user ACEs. Best-effort:
|
|
2422
|
+
// log anomalies rather than throw, so teardown always completes.
|
|
2423
|
+
// Persistent write roots and the denies under them are not released.
|
|
2424
|
+
if (windowsFsStampedSet && windowsFsSbUserSid) {
|
|
2425
|
+
const sb = windowsFsSbUserSid;
|
|
2426
|
+
// Captured at initialize() — the SAME binary the grants/stamps
|
|
2427
|
+
// were applied with, immune to `config` mutation between.
|
|
2428
|
+
const srtWin = srtWinSpawn;
|
|
2429
|
+
// The 'exit'/signal handler lands here too: this part of
|
|
2430
|
+
// reset() runs synchronously.
|
|
2431
|
+
releaseWindowsSessionAcls(sb, srtWin);
|
|
2432
|
+
}
|
|
2433
|
+
windowsFsStampedSet = undefined;
|
|
2434
|
+
windowsFsSbUserSid = undefined;
|
|
2435
|
+
windowsFsRawInputs = undefined;
|
|
2436
|
+
srtWinSpawn = undefined;
|
|
2437
|
+
windowsProfileRead = undefined;
|
|
2438
|
+
windowsProfileReadWarnings = [];
|
|
2439
|
+
windowsCapableSrtWin.clear();
|
|
2440
|
+
// windowsWfpVerifiedFor is NOT cleared — per-process, not per-session.
|
|
2441
|
+
// Clean up any leftover bwrap mount points. Force past the
|
|
2442
|
+
// active-sandbox counter — reset() means the session is over.
|
|
2443
|
+
cleanupBwrapMountPoints({ force: true });
|
|
2444
|
+
// Stop log monitor
|
|
2445
|
+
if (logMonitorShutdown) {
|
|
2446
|
+
logMonitorShutdown();
|
|
2447
|
+
logMonitorShutdown = undefined;
|
|
2448
|
+
}
|
|
2449
|
+
if (linuxMonitor) {
|
|
2450
|
+
linuxMonitor.stop();
|
|
2451
|
+
linuxMonitor = undefined;
|
|
2452
|
+
}
|
|
2453
|
+
if (managerContext?.linuxBridge) {
|
|
2454
|
+
const { httpSocketPath, socksSocketPath, httpBridgeProcess, socksBridgeProcess, } = managerContext.linuxBridge;
|
|
2455
|
+
// Kill both bridges and wait for them to exit
|
|
2456
|
+
await Promise.all([
|
|
2457
|
+
killBridgeProcess(httpBridgeProcess, 'HTTP'),
|
|
2458
|
+
killBridgeProcess(socksBridgeProcess, 'SOCKS'),
|
|
2459
|
+
]);
|
|
2460
|
+
// Clean up sockets
|
|
2461
|
+
if (httpSocketPath) {
|
|
2462
|
+
try {
|
|
2463
|
+
fs.rmSync(httpSocketPath, { force: true });
|
|
2464
|
+
logForDebugging('Cleaned up HTTP socket');
|
|
2465
|
+
}
|
|
2466
|
+
catch (err) {
|
|
2467
|
+
logForDebugging(`HTTP socket cleanup error: ${err}`, {
|
|
2468
|
+
level: 'error',
|
|
2469
|
+
});
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
if (socksSocketPath) {
|
|
2473
|
+
try {
|
|
2474
|
+
fs.rmSync(socksSocketPath, { force: true });
|
|
2475
|
+
logForDebugging('Cleaned up SOCKS socket');
|
|
2476
|
+
}
|
|
2477
|
+
catch (err) {
|
|
2478
|
+
logForDebugging(`SOCKS socket cleanup error: ${err}`, {
|
|
2479
|
+
level: 'error',
|
|
2480
|
+
});
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
// Close servers in parallel (only if they exist, i.e., were started by us)
|
|
2485
|
+
const closePromises = [];
|
|
2486
|
+
if (mitmCA) {
|
|
2487
|
+
closePromises.push(disposeMitmCA(mitmCA));
|
|
2488
|
+
}
|
|
2489
|
+
if (muxProxyServer) {
|
|
2490
|
+
closePromises.push(muxProxyServer.close().catch((error) => {
|
|
2491
|
+
logForDebugging(`Error closing mux proxy server: ${error.message}`, {
|
|
2492
|
+
level: 'error',
|
|
2493
|
+
});
|
|
2494
|
+
}));
|
|
2495
|
+
}
|
|
2496
|
+
if (httpProxyServer) {
|
|
2497
|
+
closePromises.push(forceCloseHttpServer(httpProxyServer));
|
|
2498
|
+
}
|
|
2499
|
+
if (socksProxyServer) {
|
|
2500
|
+
const socksClose = socksProxyServer.close().catch((error) => {
|
|
2501
|
+
logForDebugging(`Error closing SOCKS proxy server: ${error.message}`, {
|
|
2502
|
+
level: 'error',
|
|
2503
|
+
});
|
|
2504
|
+
});
|
|
2505
|
+
closePromises.push(socksClose);
|
|
2506
|
+
}
|
|
2507
|
+
// Wait for all servers to close
|
|
2508
|
+
await Promise.all(closePromises);
|
|
2509
|
+
// Clear references
|
|
2510
|
+
muxProxyServer = undefined;
|
|
2511
|
+
httpProxyServer = undefined;
|
|
2512
|
+
proxyAuthToken = undefined;
|
|
2513
|
+
socksProxyServer = undefined;
|
|
2514
|
+
managerContext = undefined;
|
|
2515
|
+
initializationPromise = undefined;
|
|
2516
|
+
parentProxy = undefined;
|
|
2517
|
+
resolvedAddressGuard = createResolvedAddressGuard();
|
|
2518
|
+
mitmCA = undefined;
|
|
2519
|
+
javaAgentJarPath = undefined;
|
|
2520
|
+
sentinelRegistry.clear();
|
|
2521
|
+
awsPairRegistry.clear();
|
|
2522
|
+
commandTextsByKey.clear();
|
|
2523
|
+
commandNetworkListsByKey.clear();
|
|
2524
|
+
maskedFileStore.dispose();
|
|
2525
|
+
}
|
|
2526
|
+
function getSandboxViolationStore() {
|
|
2527
|
+
return sandboxViolationStore;
|
|
2528
|
+
}
|
|
2529
|
+
function annotateStderrWithSandboxFailures(command, stderr) {
|
|
2530
|
+
if (!config) {
|
|
2531
|
+
return stderr;
|
|
2532
|
+
}
|
|
2533
|
+
const violations = sandboxViolationStore.getViolationsForCommand(command);
|
|
2534
|
+
if (violations.length === 0) {
|
|
2535
|
+
return stderr;
|
|
2536
|
+
}
|
|
2537
|
+
let annotated = stderr;
|
|
2538
|
+
annotated += EOL + '<sandbox_violations>' + EOL;
|
|
2539
|
+
for (const violation of violations) {
|
|
2540
|
+
annotated += violation.line + EOL;
|
|
2541
|
+
}
|
|
2542
|
+
annotated += '</sandbox_violations>';
|
|
2543
|
+
return annotated;
|
|
2544
|
+
}
|
|
2545
|
+
/**
|
|
2546
|
+
* Returns glob patterns from Edit/Read permission rules that are not
|
|
2547
|
+
* fully supported on Linux. Returns empty array on macOS or when
|
|
2548
|
+
* sandboxing is disabled.
|
|
2549
|
+
*
|
|
2550
|
+
* Patterns ending with /** are excluded since they work as subpaths.
|
|
2551
|
+
* So are entries marked literal. An entry that is also the name of a path
|
|
2552
|
+
* that exists is still returned: what is returned must not depend on what
|
|
2553
|
+
* is on the disk, which a sandboxed command can change.
|
|
2554
|
+
*/
|
|
2555
|
+
function getLinuxGlobPatternWarnings() {
|
|
2556
|
+
// Only warn on Linux/WSL (bubblewrap doesn't support globs)
|
|
2557
|
+
// macOS supports glob patterns via regex conversion
|
|
2558
|
+
if (getPlatform() !== 'linux' || !config || config.filesystem.disabled) {
|
|
2559
|
+
return [];
|
|
2560
|
+
}
|
|
2561
|
+
const globPatterns = [];
|
|
2562
|
+
// Write paths take no globs at all on Linux: bubblewrap binds concrete
|
|
2563
|
+
// paths, and nothing expands them.
|
|
2564
|
+
const allPaths = [
|
|
2565
|
+
...config.filesystem.allowWrite,
|
|
2566
|
+
...config.filesystem.denyWrite,
|
|
2567
|
+
];
|
|
2568
|
+
for (const path of allPaths) {
|
|
2569
|
+
if (typeof path !== 'string')
|
|
2570
|
+
continue;
|
|
2571
|
+
// Strip trailing /** since that's just a subpath (directory and everything under it)
|
|
2572
|
+
const pathWithoutTrailingStar = removeTrailingGlobSuffix(path);
|
|
2573
|
+
// Only warn if there are still glob characters after removing trailing /**
|
|
2574
|
+
if (containsGlobChars(pathWithoutTrailingStar)) {
|
|
2575
|
+
globPatterns.push(path);
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
// Read paths are expanded, so a glob there is supported — unless the
|
|
2579
|
+
// pattern has no literal directory below the root for the walk to start
|
|
2580
|
+
// from (a wildcard in its first path component, `/**/*.pem`), which
|
|
2581
|
+
// expands to nothing and leaves the entry unenforced.
|
|
2582
|
+
for (const path of [
|
|
2583
|
+
...new Set([
|
|
2584
|
+
...config.filesystem.denyRead,
|
|
2585
|
+
// Joins the read denies, and is skipped like one of them.
|
|
2586
|
+
...getCredentialDenyReadPaths(config.credentials),
|
|
2587
|
+
]),
|
|
2588
|
+
...(config.filesystem.allowRead ?? []),
|
|
2589
|
+
]) {
|
|
2590
|
+
if (typeof path !== 'string')
|
|
2591
|
+
continue;
|
|
2592
|
+
const baseDir = globPatternBaseDir(normalizePathForSandbox(path));
|
|
2593
|
+
if (containsGlobChars(removeTrailingGlobSuffix(path)) &&
|
|
2594
|
+
globBaseDirIsRoot(baseDir)) {
|
|
2595
|
+
globPatterns.push(path);
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
return globPatterns;
|
|
2599
|
+
}
|
|
2600
|
+
// ============================================================================
|
|
2601
|
+
// Export as Namespace with Interface
|
|
2602
|
+
// ============================================================================
|
|
2603
|
+
/**
|
|
2604
|
+
* Global sandbox manager that handles both network and filesystem restrictions
|
|
2605
|
+
* for this session. This runs outside of the sandbox, on the host machine.
|
|
2606
|
+
*/
|
|
2607
|
+
export const SandboxManager = {
|
|
2608
|
+
initialize,
|
|
2609
|
+
isSupportedPlatform,
|
|
2610
|
+
isSandboxingEnabled,
|
|
2611
|
+
checkDependencies,
|
|
2612
|
+
checkDependenciesAsync,
|
|
2613
|
+
getFsReadConfig,
|
|
2614
|
+
getFsWriteConfig,
|
|
2615
|
+
getNetworkRestrictionConfig,
|
|
2616
|
+
getAllowUnixSockets,
|
|
2617
|
+
getAllowLocalBinding,
|
|
2618
|
+
getAllowMachLookup,
|
|
2619
|
+
getIgnoreViolations,
|
|
2620
|
+
getEnableWeakerNestedSandbox,
|
|
2621
|
+
getProxyPort,
|
|
2622
|
+
getProxyAuthToken,
|
|
2623
|
+
getSocksProxyPort,
|
|
2624
|
+
getLinuxHttpSocketPath,
|
|
2625
|
+
getLinuxSocksSocketPath,
|
|
2626
|
+
waitForNetworkInitialization,
|
|
2627
|
+
wrapWithSandbox,
|
|
2628
|
+
wrapWithSandboxArgv,
|
|
2629
|
+
registerCommandNetworkLists,
|
|
2630
|
+
unregisterCommandNetworkLists,
|
|
2631
|
+
askCallbackDenyReason: true,
|
|
2632
|
+
cleanupAfterCommand,
|
|
2633
|
+
reset,
|
|
2634
|
+
getMitmCA: () => mitmCA,
|
|
2635
|
+
getWindowsProfileRead: () => windowsProfileRead,
|
|
2636
|
+
getWindowsProfileReadWarnings: () => [...windowsProfileReadWarnings],
|
|
2637
|
+
getSentinelRegistry: () => sentinelRegistry,
|
|
2638
|
+
getAwsPairRegistry: () => awsPairRegistry,
|
|
2639
|
+
getMaskedFileStore: () => maskedFileStore,
|
|
2640
|
+
getSandboxViolationStore,
|
|
2641
|
+
annotateStderrWithSandboxFailures,
|
|
2642
|
+
getLinuxGlobPatternWarnings,
|
|
2643
|
+
getConfig,
|
|
2644
|
+
updateConfig,
|
|
2645
|
+
};
|
|
2646
|
+
//# sourceMappingURL=sandbox-manager.js.map
|