@tickernelz/paperclip-pro-adapter-utils 2026.925.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/dist/acpx-engine/cli.d.ts +2 -0
- package/dist/acpx-engine/cli.d.ts.map +1 -0
- package/dist/acpx-engine/cli.js +128 -0
- package/dist/acpx-engine/cli.js.map +1 -0
- package/dist/acpx-engine/composed-run-characterization.test.d.ts +2 -0
- package/dist/acpx-engine/composed-run-characterization.test.d.ts.map +1 -0
- package/dist/acpx-engine/composed-run-characterization.test.js +739 -0
- package/dist/acpx-engine/composed-run-characterization.test.js.map +1 -0
- package/dist/acpx-engine/constants.d.ts +20 -0
- package/dist/acpx-engine/constants.d.ts.map +1 -0
- package/dist/acpx-engine/constants.js +37 -0
- package/dist/acpx-engine/constants.js.map +1 -0
- package/dist/acpx-engine/execute-identity.test.d.ts +2 -0
- package/dist/acpx-engine/execute-identity.test.d.ts.map +1 -0
- package/dist/acpx-engine/execute-identity.test.js +218 -0
- package/dist/acpx-engine/execute-identity.test.js.map +1 -0
- package/dist/acpx-engine/execute.d.ts +325 -0
- package/dist/acpx-engine/execute.d.ts.map +1 -0
- package/dist/acpx-engine/execute.js +4448 -0
- package/dist/acpx-engine/execute.js.map +1 -0
- package/dist/acpx-engine/execute.test.d.ts +2 -0
- package/dist/acpx-engine/execute.test.d.ts.map +1 -0
- package/dist/acpx-engine/execute.test.js +6694 -0
- package/dist/acpx-engine/execute.test.js.map +1 -0
- package/dist/acpx-engine/index.d.ts +6 -0
- package/dist/acpx-engine/index.d.ts.map +1 -0
- package/dist/acpx-engine/index.js +6 -0
- package/dist/acpx-engine/index.js.map +1 -0
- package/dist/acpx-engine/local-process-control.d.ts +5 -0
- package/dist/acpx-engine/local-process-control.d.ts.map +1 -0
- package/dist/acpx-engine/local-process-control.js +39 -0
- package/dist/acpx-engine/local-process-control.js.map +1 -0
- package/dist/acpx-engine/local-process-control.test.d.ts +2 -0
- package/dist/acpx-engine/local-process-control.test.d.ts.map +1 -0
- package/dist/acpx-engine/local-process-control.test.js +38 -0
- package/dist/acpx-engine/local-process-control.test.js.map +1 -0
- package/dist/acpx-engine/operator-stop.test.d.ts +2 -0
- package/dist/acpx-engine/operator-stop.test.d.ts.map +1 -0
- package/dist/acpx-engine/operator-stop.test.js +107 -0
- package/dist/acpx-engine/operator-stop.test.js.map +1 -0
- package/dist/acpx-engine/remote-spawn-smoke.test.d.ts +2 -0
- package/dist/acpx-engine/remote-spawn-smoke.test.d.ts.map +1 -0
- package/dist/acpx-engine/remote-spawn-smoke.test.js +151 -0
- package/dist/acpx-engine/remote-spawn-smoke.test.js.map +1 -0
- package/dist/acpx-engine/run-contracts.d.ts +413 -0
- package/dist/acpx-engine/run-contracts.d.ts.map +1 -0
- package/dist/acpx-engine/run-contracts.js +20 -0
- package/dist/acpx-engine/run-contracts.js.map +1 -0
- package/dist/acpx-engine/run-contracts.test.d.ts +2 -0
- package/dist/acpx-engine/run-contracts.test.d.ts.map +1 -0
- package/dist/acpx-engine/run-contracts.test.js +57 -0
- package/dist/acpx-engine/run-contracts.test.js.map +1 -0
- package/dist/acpx-engine/run-coordinator.d.ts +57 -0
- package/dist/acpx-engine/run-coordinator.d.ts.map +1 -0
- package/dist/acpx-engine/run-coordinator.js +63 -0
- package/dist/acpx-engine/run-coordinator.js.map +1 -0
- package/dist/acpx-engine/run-coordinator.test.d.ts +2 -0
- package/dist/acpx-engine/run-coordinator.test.d.ts.map +1 -0
- package/dist/acpx-engine/run-coordinator.test.js +160 -0
- package/dist/acpx-engine/run-coordinator.test.js.map +1 -0
- package/dist/acpx-engine/run-fault-matrix.test.d.ts +2 -0
- package/dist/acpx-engine/run-fault-matrix.test.d.ts.map +1 -0
- package/dist/acpx-engine/run-fault-matrix.test.js +829 -0
- package/dist/acpx-engine/run-fault-matrix.test.js.map +1 -0
- package/dist/acpx-engine/run-resource-ledger.d.ts +30 -0
- package/dist/acpx-engine/run-resource-ledger.d.ts.map +1 -0
- package/dist/acpx-engine/run-resource-ledger.js +148 -0
- package/dist/acpx-engine/run-resource-ledger.js.map +1 -0
- package/dist/acpx-engine/run-resource-ledger.test.d.ts +2 -0
- package/dist/acpx-engine/run-resource-ledger.test.d.ts.map +1 -0
- package/dist/acpx-engine/run-resource-ledger.test.js +154 -0
- package/dist/acpx-engine/run-resource-ledger.test.js.map +1 -0
- package/dist/acpx-engine/run-site-host.d.ts +73 -0
- package/dist/acpx-engine/run-site-host.d.ts.map +1 -0
- package/dist/acpx-engine/run-site-host.js +65 -0
- package/dist/acpx-engine/run-site-host.js.map +1 -0
- package/dist/acpx-engine/run-site-host.test.d.ts +2 -0
- package/dist/acpx-engine/run-site-host.test.d.ts.map +1 -0
- package/dist/acpx-engine/run-site-host.test.js +98 -0
- package/dist/acpx-engine/run-site-host.test.js.map +1 -0
- package/dist/acpx-engine/run-site-sandbox.d.ts +142 -0
- package/dist/acpx-engine/run-site-sandbox.d.ts.map +1 -0
- package/dist/acpx-engine/run-site-sandbox.js +278 -0
- package/dist/acpx-engine/run-site-sandbox.js.map +1 -0
- package/dist/acpx-engine/run-site-sandbox.test.d.ts +2 -0
- package/dist/acpx-engine/run-site-sandbox.test.d.ts.map +1 -0
- package/dist/acpx-engine/run-site-sandbox.test.js +275 -0
- package/dist/acpx-engine/run-site-sandbox.test.js.map +1 -0
- package/dist/acpx-engine/session-codec.d.ts +3 -0
- package/dist/acpx-engine/session-codec.d.ts.map +1 -0
- package/dist/acpx-engine/session-codec.js +49 -0
- package/dist/acpx-engine/session-codec.js.map +1 -0
- package/dist/acpx-engine/session-reuse-store.d.ts +62 -0
- package/dist/acpx-engine/session-reuse-store.d.ts.map +1 -0
- package/dist/acpx-engine/session-reuse-store.js +134 -0
- package/dist/acpx-engine/session-reuse-store.js.map +1 -0
- package/dist/acpx-engine/session-reuse-store.test.d.ts +2 -0
- package/dist/acpx-engine/session-reuse-store.test.d.ts.map +1 -0
- package/dist/acpx-engine/session-reuse-store.test.js +134 -0
- package/dist/acpx-engine/session-reuse-store.test.js.map +1 -0
- package/dist/acpx-engine/settlement-characterization.test.d.ts +2 -0
- package/dist/acpx-engine/settlement-characterization.test.d.ts.map +1 -0
- package/dist/acpx-engine/settlement-characterization.test.js +880 -0
- package/dist/acpx-engine/settlement-characterization.test.js.map +1 -0
- package/dist/acpx-engine/settlement-sequence.d.ts +77 -0
- package/dist/acpx-engine/settlement-sequence.d.ts.map +1 -0
- package/dist/acpx-engine/settlement-sequence.js +119 -0
- package/dist/acpx-engine/settlement-sequence.js.map +1 -0
- package/dist/acpx-engine/settlement-sequence.test.d.ts +2 -0
- package/dist/acpx-engine/settlement-sequence.test.d.ts.map +1 -0
- package/dist/acpx-engine/settlement-sequence.test.js +272 -0
- package/dist/acpx-engine/settlement-sequence.test.js.map +1 -0
- package/dist/acpx-engine/spawn-smoke.test.d.ts +2 -0
- package/dist/acpx-engine/spawn-smoke.test.d.ts.map +1 -0
- package/dist/acpx-engine/spawn-smoke.test.js +184 -0
- package/dist/acpx-engine/spawn-smoke.test.js.map +1 -0
- package/dist/acpx-engine/startup-cancellation.d.ts +8 -0
- package/dist/acpx-engine/startup-cancellation.d.ts.map +1 -0
- package/dist/acpx-engine/startup-cancellation.js +92 -0
- package/dist/acpx-engine/startup-cancellation.js.map +1 -0
- package/dist/acpx-engine/startup-cancellation.test.d.ts +2 -0
- package/dist/acpx-engine/startup-cancellation.test.d.ts.map +1 -0
- package/dist/acpx-engine/startup-cancellation.test.js +115 -0
- package/dist/acpx-engine/startup-cancellation.test.js.map +1 -0
- package/dist/acpx-engine/startup-characterization.test.d.ts +2 -0
- package/dist/acpx-engine/startup-characterization.test.d.ts.map +1 -0
- package/dist/acpx-engine/startup-characterization.test.js +742 -0
- package/dist/acpx-engine/startup-characterization.test.js.map +1 -0
- package/dist/acpx-engine/startup-timing.d.ts +419 -0
- package/dist/acpx-engine/startup-timing.d.ts.map +1 -0
- package/dist/acpx-engine/startup-timing.js +616 -0
- package/dist/acpx-engine/startup-timing.js.map +1 -0
- package/dist/acpx-engine/startup-timing.test.d.ts +2 -0
- package/dist/acpx-engine/startup-timing.test.d.ts.map +1 -0
- package/dist/acpx-engine/startup-timing.test.js +619 -0
- package/dist/acpx-engine/startup-timing.test.js.map +1 -0
- package/dist/acpx-engine/turn-characterization.test.d.ts +2 -0
- package/dist/acpx-engine/turn-characterization.test.d.ts.map +1 -0
- package/dist/acpx-engine/turn-characterization.test.js +566 -0
- package/dist/acpx-engine/turn-characterization.test.js.map +1 -0
- package/dist/acpx-engine/turn-sequence.d.ts +54 -0
- package/dist/acpx-engine/turn-sequence.d.ts.map +1 -0
- package/dist/acpx-engine/turn-sequence.js +75 -0
- package/dist/acpx-engine/turn-sequence.js.map +1 -0
- package/dist/acpx-engine/turn-sequence.test.d.ts +2 -0
- package/dist/acpx-engine/turn-sequence.test.d.ts.map +1 -0
- package/dist/acpx-engine/turn-sequence.test.js +177 -0
- package/dist/acpx-engine/turn-sequence.test.js.map +1 -0
- package/dist/acpx-engine/ui.d.ts +3 -0
- package/dist/acpx-engine/ui.d.ts.map +1 -0
- package/dist/acpx-engine/ui.js +162 -0
- package/dist/acpx-engine/ui.js.map +1 -0
- package/dist/billing.d.ts +2 -0
- package/dist/billing.d.ts.map +1 -0
- package/dist/billing.js +16 -0
- package/dist/billing.js.map +1 -0
- package/dist/billing.test.d.ts +2 -0
- package/dist/billing.test.d.ts.map +1 -0
- package/dist/billing.test.js +14 -0
- package/dist/billing.test.js.map +1 -0
- package/dist/bridge-transport-contract.d.ts +43 -0
- package/dist/bridge-transport-contract.d.ts.map +1 -0
- package/dist/bridge-transport-contract.js +33 -0
- package/dist/bridge-transport-contract.js.map +1 -0
- package/dist/chat-file-delivery.d.ts +10 -0
- package/dist/chat-file-delivery.d.ts.map +1 -0
- package/dist/chat-file-delivery.js +38 -0
- package/dist/chat-file-delivery.js.map +1 -0
- package/dist/chat-file-delivery.test.d.ts +2 -0
- package/dist/chat-file-delivery.test.d.ts.map +1 -0
- package/dist/chat-file-delivery.test.js +92 -0
- package/dist/chat-file-delivery.test.js.map +1 -0
- package/dist/command-managed-runtime.d.ts +162 -0
- package/dist/command-managed-runtime.d.ts.map +1 -0
- package/dist/command-managed-runtime.js +456 -0
- package/dist/command-managed-runtime.js.map +1 -0
- package/dist/command-managed-runtime.test.d.ts +2 -0
- package/dist/command-managed-runtime.test.d.ts.map +1 -0
- package/dist/command-managed-runtime.test.js +908 -0
- package/dist/command-managed-runtime.test.js.map +1 -0
- package/dist/command-redaction.d.ts +15 -0
- package/dist/command-redaction.d.ts.map +1 -0
- package/dist/command-redaction.js +97 -0
- package/dist/command-redaction.js.map +1 -0
- package/dist/command-redaction.test.d.ts +2 -0
- package/dist/command-redaction.test.d.ts.map +1 -0
- package/dist/command-redaction.test.js +80 -0
- package/dist/command-redaction.test.js.map +1 -0
- package/dist/duplex-frame-codec.d.ts +124 -0
- package/dist/duplex-frame-codec.d.ts.map +1 -0
- package/dist/duplex-frame-codec.js +134 -0
- package/dist/duplex-frame-codec.js.map +1 -0
- package/dist/duplex-frame-codec.test.d.ts +2 -0
- package/dist/duplex-frame-codec.test.d.ts.map +1 -0
- package/dist/duplex-frame-codec.test.js +172 -0
- package/dist/duplex-frame-codec.test.js.map +1 -0
- package/dist/duplex-observability.d.ts +220 -0
- package/dist/duplex-observability.d.ts.map +1 -0
- package/dist/duplex-observability.js +248 -0
- package/dist/duplex-observability.js.map +1 -0
- package/dist/duplex-observability.test.d.ts +2 -0
- package/dist/duplex-observability.test.d.ts.map +1 -0
- package/dist/duplex-observability.test.js +55 -0
- package/dist/duplex-observability.test.js.map +1 -0
- package/dist/env-bindings.d.ts +17 -0
- package/dist/env-bindings.d.ts.map +1 -0
- package/dist/env-bindings.js +98 -0
- package/dist/env-bindings.js.map +1 -0
- package/dist/env-bindings.test.d.ts +2 -0
- package/dist/env-bindings.test.d.ts.map +1 -0
- package/dist/env-bindings.test.js +66 -0
- package/dist/env-bindings.test.js.map +1 -0
- package/dist/exclude-patterns.d.ts +4 -0
- package/dist/exclude-patterns.d.ts.map +1 -0
- package/dist/exclude-patterns.js +26 -0
- package/dist/exclude-patterns.js.map +1 -0
- package/dist/execution-target-sandbox.test.d.ts +2 -0
- package/dist/execution-target-sandbox.test.d.ts.map +1 -0
- package/dist/execution-target-sandbox.test.js +6522 -0
- package/dist/execution-target-sandbox.test.js.map +1 -0
- package/dist/execution-target-stdin-race.test.d.ts +2 -0
- package/dist/execution-target-stdin-race.test.d.ts.map +1 -0
- package/dist/execution-target-stdin-race.test.js +1842 -0
- package/dist/execution-target-stdin-race.test.js.map +1 -0
- package/dist/execution-target.d.ts +537 -0
- package/dist/execution-target.d.ts.map +1 -0
- package/dist/execution-target.js +3877 -0
- package/dist/execution-target.js.map +1 -0
- package/dist/execution-target.test.d.ts +2 -0
- package/dist/execution-target.test.d.ts.map +1 -0
- package/dist/execution-target.test.js +346 -0
- package/dist/execution-target.test.js.map +1 -0
- package/dist/git-workspace-sync.d.ts +193 -0
- package/dist/git-workspace-sync.d.ts.map +1 -0
- package/dist/git-workspace-sync.js +786 -0
- package/dist/git-workspace-sync.js.map +1 -0
- package/dist/git-workspace-sync.test.d.ts +2 -0
- package/dist/git-workspace-sync.test.d.ts.map +1 -0
- package/dist/git-workspace-sync.test.js +830 -0
- package/dist/git-workspace-sync.test.js.map +1 -0
- package/dist/github-launcher-environment.test.d.ts +2 -0
- package/dist/github-launcher-environment.test.d.ts.map +1 -0
- package/dist/github-launcher-environment.test.js +285 -0
- package/dist/github-launcher-environment.test.js.map +1 -0
- package/dist/github-launcher.d.ts +8 -0
- package/dist/github-launcher.d.ts.map +1 -0
- package/dist/github-launcher.js +127 -0
- package/dist/github-launcher.js.map +1 -0
- package/dist/github-launcher.test.d.ts +2 -0
- package/dist/github-launcher.test.d.ts.map +1 -0
- package/dist/github-launcher.test.js +166 -0
- package/dist/github-launcher.test.js.map +1 -0
- package/dist/http2-bridge-server.d.ts +465 -0
- package/dist/http2-bridge-server.d.ts.map +1 -0
- package/dist/http2-bridge-server.js +1087 -0
- package/dist/http2-bridge-server.js.map +1 -0
- package/dist/http2-bridge-server.test.d.ts +2 -0
- package/dist/http2-bridge-server.test.d.ts.map +1 -0
- package/dist/http2-bridge-server.test.js +2129 -0
- package/dist/http2-bridge-server.test.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/local-process-sandbox.d.ts +41 -0
- package/dist/local-process-sandbox.d.ts.map +1 -0
- package/dist/local-process-sandbox.js +432 -0
- package/dist/local-process-sandbox.js.map +1 -0
- package/dist/local-process-sandbox.test.d.ts +2 -0
- package/dist/local-process-sandbox.test.d.ts.map +1 -0
- package/dist/local-process-sandbox.test.js +399 -0
- package/dist/local-process-sandbox.test.js.map +1 -0
- package/dist/log-redaction.d.ts +9 -0
- package/dist/log-redaction.d.ts.map +1 -0
- package/dist/log-redaction.js +88 -0
- package/dist/log-redaction.js.map +1 -0
- package/dist/login-capability.d.ts +88 -0
- package/dist/login-capability.d.ts.map +1 -0
- package/dist/login-capability.js +78 -0
- package/dist/login-capability.js.map +1 -0
- package/dist/login-capability.test.d.ts +2 -0
- package/dist/login-capability.test.d.ts.map +1 -0
- package/dist/login-capability.test.js +78 -0
- package/dist/login-capability.test.js.map +1 -0
- package/dist/login-pty-transport.d.ts +80 -0
- package/dist/login-pty-transport.d.ts.map +1 -0
- package/dist/login-pty-transport.js +75 -0
- package/dist/login-pty-transport.js.map +1 -0
- package/dist/login-pty-transport.test.d.ts +2 -0
- package/dist/login-pty-transport.test.d.ts.map +1 -0
- package/dist/login-pty-transport.test.js +185 -0
- package/dist/login-pty-transport.test.js.map +1 -0
- package/dist/login-runner-lifecycle.d.ts +70 -0
- package/dist/login-runner-lifecycle.d.ts.map +1 -0
- package/dist/login-runner-lifecycle.js +52 -0
- package/dist/login-runner-lifecycle.js.map +1 -0
- package/dist/login-runner-lifecycle.test.d.ts +2 -0
- package/dist/login-runner-lifecycle.test.d.ts.map +1 -0
- package/dist/login-runner-lifecycle.test.js +122 -0
- package/dist/login-runner-lifecycle.test.js.map +1 -0
- package/dist/mcp-isolation.integration.test.d.ts +2 -0
- package/dist/mcp-isolation.integration.test.d.ts.map +1 -0
- package/dist/mcp-isolation.integration.test.js +202 -0
- package/dist/mcp-isolation.integration.test.js.map +1 -0
- package/dist/paperclip-runner-permissions.d.ts +110 -0
- package/dist/paperclip-runner-permissions.d.ts.map +1 -0
- package/dist/paperclip-runner-permissions.js +150 -0
- package/dist/paperclip-runner-permissions.js.map +1 -0
- package/dist/paperclip-runner-permissions.test.d.ts +2 -0
- package/dist/paperclip-runner-permissions.test.d.ts.map +1 -0
- package/dist/paperclip-runner-permissions.test.js +47 -0
- package/dist/paperclip-runner-permissions.test.js.map +1 -0
- package/dist/published-exports.test.d.ts +2 -0
- package/dist/published-exports.test.d.ts.map +1 -0
- package/dist/published-exports.test.js +17 -0
- package/dist/published-exports.test.js.map +1 -0
- package/dist/remote-execution-env.d.ts +2 -0
- package/dist/remote-execution-env.d.ts.map +1 -0
- package/dist/remote-execution-env.js +46 -0
- package/dist/remote-execution-env.js.map +1 -0
- package/dist/remote-managed-runtime.d.ts +45 -0
- package/dist/remote-managed-runtime.d.ts.map +1 -0
- package/dist/remote-managed-runtime.js +183 -0
- package/dist/remote-managed-runtime.js.map +1 -0
- package/dist/remote-managed-runtime.test.d.ts +2 -0
- package/dist/remote-managed-runtime.test.d.ts.map +1 -0
- package/dist/remote-managed-runtime.test.js +294 -0
- package/dist/remote-managed-runtime.test.js.map +1 -0
- package/dist/runner-connectivity.d.ts +61 -0
- package/dist/runner-connectivity.d.ts.map +1 -0
- package/dist/runner-connectivity.js +81 -0
- package/dist/runner-connectivity.js.map +1 -0
- package/dist/runner-connectivity.test.d.ts +2 -0
- package/dist/runner-connectivity.test.d.ts.map +1 -0
- package/dist/runner-connectivity.test.js +183 -0
- package/dist/runner-connectivity.test.js.map +1 -0
- package/dist/runtime-progress.d.ts +48 -0
- package/dist/runtime-progress.d.ts.map +1 -0
- package/dist/runtime-progress.js +99 -0
- package/dist/runtime-progress.js.map +1 -0
- package/dist/runtime-progress.test.d.ts +2 -0
- package/dist/runtime-progress.test.d.ts.map +1 -0
- package/dist/runtime-progress.test.js +240 -0
- package/dist/runtime-progress.test.js.map +1 -0
- package/dist/sandbox-callback-bridge-body.d.ts +12 -0
- package/dist/sandbox-callback-bridge-body.d.ts.map +1 -0
- package/dist/sandbox-callback-bridge-body.js +39 -0
- package/dist/sandbox-callback-bridge-body.js.map +1 -0
- package/dist/sandbox-callback-bridge-body.test.d.ts +2 -0
- package/dist/sandbox-callback-bridge-body.test.d.ts.map +1 -0
- package/dist/sandbox-callback-bridge-body.test.js +31 -0
- package/dist/sandbox-callback-bridge-body.test.js.map +1 -0
- package/dist/sandbox-callback-bridge.d.ts +268 -0
- package/dist/sandbox-callback-bridge.d.ts.map +1 -0
- package/dist/sandbox-callback-bridge.js +2357 -0
- package/dist/sandbox-callback-bridge.js.map +1 -0
- package/dist/sandbox-callback-bridge.test.d.ts +2 -0
- package/dist/sandbox-callback-bridge.test.d.ts.map +1 -0
- package/dist/sandbox-callback-bridge.test.js +3253 -0
- package/dist/sandbox-callback-bridge.test.js.map +1 -0
- package/dist/sandbox-file-sync.test.d.ts +2 -0
- package/dist/sandbox-file-sync.test.d.ts.map +1 -0
- package/dist/sandbox-file-sync.test.js +419 -0
- package/dist/sandbox-file-sync.test.js.map +1 -0
- package/dist/sandbox-install-command.d.ts +2 -0
- package/dist/sandbox-install-command.d.ts.map +1 -0
- package/dist/sandbox-install-command.js +47 -0
- package/dist/sandbox-install-command.js.map +1 -0
- package/dist/sandbox-install-command.test.d.ts +2 -0
- package/dist/sandbox-install-command.test.d.ts.map +1 -0
- package/dist/sandbox-install-command.test.js +22 -0
- package/dist/sandbox-install-command.test.js.map +1 -0
- package/dist/sandbox-managed-runtime.d.ts +417 -0
- package/dist/sandbox-managed-runtime.d.ts.map +1 -0
- package/dist/sandbox-managed-runtime.js +1337 -0
- package/dist/sandbox-managed-runtime.js.map +1 -0
- package/dist/sandbox-managed-runtime.test.d.ts +2 -0
- package/dist/sandbox-managed-runtime.test.d.ts.map +1 -0
- package/dist/sandbox-managed-runtime.test.js +3746 -0
- package/dist/sandbox-managed-runtime.test.js.map +1 -0
- package/dist/sandbox-run-log-stream.d.ts +44 -0
- package/dist/sandbox-run-log-stream.d.ts.map +1 -0
- package/dist/sandbox-run-log-stream.js +203 -0
- package/dist/sandbox-run-log-stream.js.map +1 -0
- package/dist/sandbox-shell.d.ts +3 -0
- package/dist/sandbox-shell.d.ts.map +1 -0
- package/dist/sandbox-shell.js +7 -0
- package/dist/sandbox-shell.js.map +1 -0
- package/dist/server-utils-env.test.d.ts +2 -0
- package/dist/server-utils-env.test.d.ts.map +1 -0
- package/dist/server-utils-env.test.js +15 -0
- package/dist/server-utils-env.test.js.map +1 -0
- package/dist/server-utils.d.ts +617 -0
- package/dist/server-utils.d.ts.map +1 -0
- package/dist/server-utils.js +3258 -0
- package/dist/server-utils.js.map +1 -0
- package/dist/server-utils.test.d.ts +2 -0
- package/dist/server-utils.test.d.ts.map +1 -0
- package/dist/server-utils.test.js +3047 -0
- package/dist/server-utils.test.js.map +1 -0
- package/dist/session-compaction.d.ts +25 -0
- package/dist/session-compaction.d.ts.map +1 -0
- package/dist/session-compaction.js +165 -0
- package/dist/session-compaction.js.map +1 -0
- package/dist/skill-library-manifest.d.ts +6 -0
- package/dist/skill-library-manifest.d.ts.map +1 -0
- package/dist/skill-library-manifest.js +53 -0
- package/dist/skill-library-manifest.js.map +1 -0
- package/dist/skill-library-manifest.test.d.ts +2 -0
- package/dist/skill-library-manifest.test.d.ts.map +1 -0
- package/dist/skill-library-manifest.test.js +84 -0
- package/dist/skill-library-manifest.test.js.map +1 -0
- package/dist/skills-staging-follow-symlinks.test.d.ts +2 -0
- package/dist/skills-staging-follow-symlinks.test.d.ts.map +1 -0
- package/dist/skills-staging-follow-symlinks.test.js +126 -0
- package/dist/skills-staging-follow-symlinks.test.js.map +1 -0
- package/dist/ssh-fixture.test.d.ts +2 -0
- package/dist/ssh-fixture.test.d.ts.map +1 -0
- package/dist/ssh-fixture.test.js +832 -0
- package/dist/ssh-fixture.test.js.map +1 -0
- package/dist/ssh.d.ts +124 -0
- package/dist/ssh.d.ts.map +1 -0
- package/dist/ssh.js +1667 -0
- package/dist/ssh.js.map +1 -0
- package/dist/sync-operation-schedule.d.ts +17 -0
- package/dist/sync-operation-schedule.d.ts.map +1 -0
- package/dist/sync-operation-schedule.js +66 -0
- package/dist/sync-operation-schedule.js.map +1 -0
- package/dist/sync-operation-schedule.test.d.ts +2 -0
- package/dist/sync-operation-schedule.test.d.ts.map +1 -0
- package/dist/sync-operation-schedule.test.js +130 -0
- package/dist/sync-operation-schedule.test.js.map +1 -0
- package/dist/test-support/mcp-isolation-harness.d.ts +23 -0
- package/dist/test-support/mcp-isolation-harness.d.ts.map +1 -0
- package/dist/test-support/mcp-isolation-harness.js +67 -0
- package/dist/test-support/mcp-isolation-harness.js.map +1 -0
- package/dist/types.d.ts +780 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/dist/workspace-restore-merge.d.ts +77 -0
- package/dist/workspace-restore-merge.d.ts.map +1 -0
- package/dist/workspace-restore-merge.js +396 -0
- package/dist/workspace-restore-merge.js.map +1 -0
- package/dist/workspace-restore-merge.test.d.ts +2 -0
- package/dist/workspace-restore-merge.test.d.ts.map +1 -0
- package/dist/workspace-restore-merge.test.js +438 -0
- package/dist/workspace-restore-merge.test.js.map +1 -0
- package/dist/workspace-restore-teardown.d.ts +29 -0
- package/dist/workspace-restore-teardown.d.ts.map +1 -0
- package/dist/workspace-restore-teardown.js +34 -0
- package/dist/workspace-restore-teardown.js.map +1 -0
- package/dist/workspace-restore-teardown.test.d.ts +2 -0
- package/dist/workspace-restore-teardown.test.d.ts.map +1 -0
- package/dist/workspace-restore-teardown.test.js +71 -0
- package/dist/workspace-restore-teardown.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/LICENSE +191 -0
- package/node_modules/@agentclientprotocol/sdk/README.md +70 -0
- package/node_modules/@agentclientprotocol/sdk/dist/acp.d.ts +1803 -0
- package/node_modules/@agentclientprotocol/sdk/dist/acp.js +1869 -0
- package/node_modules/@agentclientprotocol/sdk/dist/acp.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/acp.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js +5036 -0
- package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/connection.d.ts +89 -0
- package/node_modules/@agentclientprotocol/sdk/dist/connection.js +490 -0
- package/node_modules/@agentclientprotocol/sdk/dist/connection.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/connection.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/connection.test.js +507 -0
- package/node_modules/@agentclientprotocol/sdk/dist/connection.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.d.ts +26 -0
- package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.js +96 -0
- package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js +77 -0
- package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.d.ts +2 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.js +232 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/client.d.ts +2 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/client.js +132 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/client.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.d.ts +9 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js +221 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.d.ts +2 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.js +86 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.d.ts +2 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.js +112 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.d.ts +2 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.js +88 -0
- package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/http-stream.d.ts +33 -0
- package/node_modules/@agentclientprotocol/sdk/dist/http-stream.js +435 -0
- package/node_modules/@agentclientprotocol/sdk/dist/http-stream.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js +1380 -0
- package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.d.ts +603 -0
- package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js +1076 -0
- package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js +917 -0
- package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.d.ts +22 -0
- package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.js +64 -0
- package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js +45 -0
- package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.d.ts +17 -0
- package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.js +426 -0
- package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js +499 -0
- package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.d.ts +37 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js +474 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js +535 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol.d.ts +11 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol.js +69 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js +82 -0
- package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.d.ts +183 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js +207 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.d.ts +51 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js +52 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.d.ts +6219 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.js +3 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.d.ts +15215 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +3084 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.d.ts +30 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js +98 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js +93 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js +261 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js +536 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-sse.d.ts +2 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-sse.js +88 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-sse.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js +53 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js +992 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server.d.ts +81 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server.js +386 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server.test.js +1116 -0
- package/node_modules/@agentclientprotocol/sdk/dist/server.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/sse.d.ts +4 -0
- package/node_modules/@agentclientprotocol/sdk/dist/sse.js +91 -0
- package/node_modules/@agentclientprotocol/sdk/dist/sse.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/sse.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/sse.test.js +126 -0
- package/node_modules/@agentclientprotocol/sdk/dist/sse.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/stream.d.ts +35 -0
- package/node_modules/@agentclientprotocol/sdk/dist/stream.js +115 -0
- package/node_modules/@agentclientprotocol/sdk/dist/stream.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/stream.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/stream.test.js +195 -0
- package/node_modules/@agentclientprotocol/sdk/dist/stream.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.d.ts +8 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.js +51 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.d.ts +24 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.js +163 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.d.ts +9 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.js +74 -0
- package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.d.ts +957 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +1484 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js +1287 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +946 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +1046 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.d.ts +42 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js +43 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +6208 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js +3 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.d.ts +33267 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +3199 -0
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-server.d.ts +14 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-server.js +357 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-server.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.d.ts +54 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.js +253 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js +836 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.d.ts +13 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.js +78 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.d.ts +1 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js +42 -0
- package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js.map +1 -0
- package/node_modules/@agentclientprotocol/sdk/package.json +104 -0
- package/node_modules/@agentclientprotocol/sdk/schema/schema.json +8967 -0
- package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +10242 -0
- package/node_modules/@clack/core/LICENSE +9 -0
- package/node_modules/@clack/core/README.md +22 -0
- package/node_modules/@clack/core/dist/index.d.mts +503 -0
- package/node_modules/@clack/core/dist/index.mjs +1003 -0
- package/node_modules/@clack/core/package.json +63 -0
- package/node_modules/@clack/prompts/LICENSE +9 -0
- package/node_modules/@clack/prompts/README.md +396 -0
- package/node_modules/@clack/prompts/dist/index.d.mts +949 -0
- package/node_modules/@clack/prompts/dist/index.mjs +1423 -0
- package/node_modules/@clack/prompts/package.json +67 -0
- package/node_modules/@esbuild/linux-x64/README.md +3 -0
- package/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
- package/node_modules/@esbuild/linux-x64/package.json +20 -0
- package/node_modules/acpx/LICENSE +21 -0
- package/node_modules/acpx/README.md +424 -0
- package/node_modules/acpx/dist/cli-CxsS1XQp.js +197 -0
- package/node_modules/acpx/dist/cli-CxsS1XQp.js.map +1 -0
- package/node_modules/acpx/dist/cli.d.ts +14 -0
- package/node_modules/acpx/dist/cli.d.ts.map +1 -0
- package/node_modules/acpx/dist/cli.js +2683 -0
- package/node_modules/acpx/dist/cli.js.map +1 -0
- package/node_modules/acpx/dist/client-DwNyFauq.d.ts +192 -0
- package/node_modules/acpx/dist/client-DwNyFauq.d.ts.map +1 -0
- package/node_modules/acpx/dist/flags-Bjq_XQ4-.js +260 -0
- package/node_modules/acpx/dist/flags-Bjq_XQ4-.js.map +1 -0
- package/node_modules/acpx/dist/flows-Db_LZKu9.js +1920 -0
- package/node_modules/acpx/dist/flows-Db_LZKu9.js.map +1 -0
- package/node_modules/acpx/dist/flows.d.ts +318 -0
- package/node_modules/acpx/dist/flows.d.ts.map +1 -0
- package/node_modules/acpx/dist/flows.js +2 -0
- package/node_modules/acpx/dist/live-checkpoint-ClPCSdrW.js +6210 -0
- package/node_modules/acpx/dist/live-checkpoint-ClPCSdrW.js.map +1 -0
- package/node_modules/acpx/dist/output-CjdF5rHk.js +4593 -0
- package/node_modules/acpx/dist/output-CjdF5rHk.js.map +1 -0
- package/node_modules/acpx/dist/runtime.d.ts +472 -0
- package/node_modules/acpx/dist/runtime.d.ts.map +1 -0
- package/node_modules/acpx/dist/runtime.js +1711 -0
- package/node_modules/acpx/dist/runtime.js.map +1 -0
- package/node_modules/acpx/dist/session-options-jkYbBxGE.d.ts +278 -0
- package/node_modules/acpx/dist/session-options-jkYbBxGE.d.ts.map +1 -0
- package/node_modules/acpx/package.json +129 -0
- package/node_modules/acpx/skills/acpx/SKILL.md +617 -0
- package/node_modules/b4a/LICENSE +201 -0
- package/node_modules/b4a/README.md +153 -0
- package/node_modules/b4a/browser.js +546 -0
- package/node_modules/b4a/index.d.ts +144 -0
- package/node_modules/b4a/index.js +193 -0
- package/node_modules/b4a/lib/ascii.js +31 -0
- package/node_modules/b4a/lib/base64.js +64 -0
- package/node_modules/b4a/lib/hex.js +51 -0
- package/node_modules/b4a/lib/latin1.js +31 -0
- package/node_modules/b4a/lib/utf16le.js +40 -0
- package/node_modules/b4a/lib/utf8.js +144 -0
- package/node_modules/b4a/package.json +54 -0
- package/node_modules/b4a/react-native.js +5 -0
- package/node_modules/b4a/runtime.d.ts +14 -0
- package/node_modules/bare-events/LICENSE +201 -0
- package/node_modules/bare-events/README.md +25 -0
- package/node_modules/bare-events/global.d.ts +15 -0
- package/node_modules/bare-events/global.js +5 -0
- package/node_modules/bare-events/index.d.ts +89 -0
- package/node_modules/bare-events/index.js +397 -0
- package/node_modules/bare-events/lib/errors.js +23 -0
- package/node_modules/bare-events/package.json +63 -0
- package/node_modules/bare-events/web.d.ts +79 -0
- package/node_modules/bare-events/web.js +417 -0
- package/node_modules/bare-fs/CMakeLists.txt +13 -0
- package/node_modules/bare-fs/LICENSE +201 -0
- package/node_modules/bare-fs/README.md +33 -0
- package/node_modules/bare-fs/binding.c +2913 -0
- package/node_modules/bare-fs/binding.js +1 -0
- package/node_modules/bare-fs/index.d.ts +1502 -0
- package/node_modules/bare-fs/index.js +2855 -0
- package/node_modules/bare-fs/lib/constants.d.ts +50 -0
- package/node_modules/bare-fs/lib/constants.js +49 -0
- package/node_modules/bare-fs/lib/errors.d.ts +13 -0
- package/node_modules/bare-fs/lib/errors.js +55 -0
- package/node_modules/bare-fs/package.json +74 -0
- package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/promises.d.ts +480 -0
- package/node_modules/bare-fs/promises.js +119 -0
- package/node_modules/bare-path/CMakeLists.txt +13 -0
- package/node_modules/bare-path/LICENSE +201 -0
- package/node_modules/bare-path/NOTICE +28 -0
- package/node_modules/bare-path/README.md +19 -0
- package/node_modules/bare-path/binding.c +106 -0
- package/node_modules/bare-path/binding.js +1 -0
- package/node_modules/bare-path/index.d.ts +27 -0
- package/node_modules/bare-path/index.js +9 -0
- package/node_modules/bare-path/lib/constants.js +11 -0
- package/node_modules/bare-path/lib/posix.js +263 -0
- package/node_modules/bare-path/lib/shared.js +81 -0
- package/node_modules/bare-path/lib/win32.js +564 -0
- package/node_modules/bare-path/package.json +47 -0
- package/node_modules/bare-path/prebuilds/android-arm/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/android-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/android-ia32/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/android-x64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/darwin-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/darwin-x64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/ios-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/ios-arm64-simulator/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/ios-x64-simulator/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/linux-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/linux-x64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/win32-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/win32-x64/bare-path.bare +0 -0
- package/node_modules/bare-stream/LICENSE +201 -0
- package/node_modules/bare-stream/README.md +354 -0
- package/node_modules/bare-stream/global.d.ts +31 -0
- package/node_modules/bare-stream/global.js +15 -0
- package/node_modules/bare-stream/index.d.ts +235 -0
- package/node_modules/bare-stream/index.js +493 -0
- package/node_modules/bare-stream/package.json +75 -0
- package/node_modules/bare-stream/promises.js +3 -0
- package/node_modules/bare-stream/web.d.ts +152 -0
- package/node_modules/bare-stream/web.js +607 -0
- package/node_modules/bare-url/CMakeLists.txt +36 -0
- package/node_modules/bare-url/LICENSE +201 -0
- package/node_modules/bare-url/README.md +33 -0
- package/node_modules/bare-url/binding.c +422 -0
- package/node_modules/bare-url/binding.js +1 -0
- package/node_modules/bare-url/global.d.ts +24 -0
- package/node_modules/bare-url/global.js +2 -0
- package/node_modules/bare-url/index.d.ts +96 -0
- package/node_modules/bare-url/index.js +676 -0
- package/node_modules/bare-url/lib/errors.d.ts +10 -0
- package/node_modules/bare-url/lib/errors.js +33 -0
- package/node_modules/bare-url/lib/url-search-params.d.ts +66 -0
- package/node_modules/bare-url/lib/url-search-params.js +276 -0
- package/node_modules/bare-url/package.json +54 -0
- package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
- package/node_modules/commander/LICENSE +22 -0
- package/node_modules/commander/Readme.md +1172 -0
- package/node_modules/commander/index.js +21 -0
- package/node_modules/commander/lib/argument.js +147 -0
- package/node_modules/commander/lib/command.js +2790 -0
- package/node_modules/commander/lib/error.js +36 -0
- package/node_modules/commander/lib/help.js +731 -0
- package/node_modules/commander/lib/option.js +377 -0
- package/node_modules/commander/lib/suggestSimilar.js +99 -0
- package/node_modules/commander/package-support.json +19 -0
- package/node_modules/commander/package.json +64 -0
- package/node_modules/commander/typings/index.d.ts +1113 -0
- package/node_modules/esbuild/LICENSE.md +21 -0
- package/node_modules/esbuild/README.md +3 -0
- package/node_modules/esbuild/bin/esbuild +223 -0
- package/node_modules/esbuild/install.js +300 -0
- package/node_modules/esbuild/lib/main.d.ts +720 -0
- package/node_modules/esbuild/lib/main.js +2536 -0
- package/node_modules/esbuild/package.json +74 -0
- package/node_modules/events-universal/LICENSE +201 -0
- package/node_modules/events-universal/README.md +17 -0
- package/node_modules/events-universal/bare.js +1 -0
- package/node_modules/events-universal/default.js +1 -0
- package/node_modules/events-universal/index.js +1 -0
- package/node_modules/events-universal/package.json +39 -0
- package/node_modules/events-universal/react-native.js +1 -0
- package/node_modules/fast-fifo/LICENSE +21 -0
- package/node_modules/fast-fifo/README.md +78 -0
- package/node_modules/fast-fifo/fixed-size.js +39 -0
- package/node_modules/fast-fifo/index.js +48 -0
- package/node_modules/fast-fifo/package.json +28 -0
- package/node_modules/fast-string-truncated-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/index.js +111 -0
- package/node_modules/fast-string-truncated-width/dist/types.d.ts +19 -0
- package/node_modules/fast-string-truncated-width/dist/types.js +2 -0
- package/node_modules/fast-string-truncated-width/dist/utils.d.ts +4 -0
- package/node_modules/fast-string-truncated-width/dist/utils.js +20 -0
- package/node_modules/fast-string-truncated-width/license +21 -0
- package/node_modules/fast-string-truncated-width/package.json +35 -0
- package/node_modules/fast-string-truncated-width/readme.md +59 -0
- package/node_modules/fast-string-width/dist/index.d.ts +4 -0
- package/node_modules/fast-string-width/dist/index.js +14 -0
- package/node_modules/fast-string-width/license +21 -0
- package/node_modules/fast-string-width/package.json +34 -0
- package/node_modules/fast-string-width/readme.md +42 -0
- package/node_modules/fast-wrap-ansi/LICENSE +23 -0
- package/node_modules/fast-wrap-ansi/README.md +26 -0
- package/node_modules/fast-wrap-ansi/lib/main.d.ts +6 -0
- package/node_modules/fast-wrap-ansi/lib/main.js +218 -0
- package/node_modules/fast-wrap-ansi/package.json +51 -0
- package/node_modules/sisteransi/license +21 -0
- package/node_modules/sisteransi/package.json +34 -0
- package/node_modules/sisteransi/readme.md +113 -0
- package/node_modules/sisteransi/src/index.js +58 -0
- package/node_modules/sisteransi/src/sisteransi.d.ts +35 -0
- package/node_modules/skillflag/LICENSE +21 -0
- package/node_modules/skillflag/README.md +44 -0
- package/node_modules/skillflag/dist/bin/skill-install.d.ts +3 -0
- package/node_modules/skillflag/dist/bin/skill-install.d.ts.map +1 -0
- package/node_modules/skillflag/dist/bin/skill-install.js +6 -0
- package/node_modules/skillflag/dist/bin/skill-install.js.map +1 -0
- package/node_modules/skillflag/dist/bin/skillflag.d.ts +3 -0
- package/node_modules/skillflag/dist/bin/skillflag.d.ts.map +1 -0
- package/node_modules/skillflag/dist/bin/skillflag.js +25 -0
- package/node_modules/skillflag/dist/bin/skillflag.js.map +1 -0
- package/node_modules/skillflag/dist/core/digest.d.ts +2 -0
- package/node_modules/skillflag/dist/core/digest.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/digest.js +15 -0
- package/node_modules/skillflag/dist/core/digest.js.map +1 -0
- package/node_modules/skillflag/dist/core/errors.d.ts +6 -0
- package/node_modules/skillflag/dist/core/errors.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/errors.js +13 -0
- package/node_modules/skillflag/dist/core/errors.js.map +1 -0
- package/node_modules/skillflag/dist/core/export.d.ts +2 -0
- package/node_modules/skillflag/dist/core/export.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/export.js +28 -0
- package/node_modules/skillflag/dist/core/export.js.map +1 -0
- package/node_modules/skillflag/dist/core/list.d.ts +21 -0
- package/node_modules/skillflag/dist/core/list.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/list.js +71 -0
- package/node_modules/skillflag/dist/core/list.js.map +1 -0
- package/node_modules/skillflag/dist/core/paths.d.ts +15 -0
- package/node_modules/skillflag/dist/core/paths.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/paths.js +149 -0
- package/node_modules/skillflag/dist/core/paths.js.map +1 -0
- package/node_modules/skillflag/dist/core/show.d.ts +2 -0
- package/node_modules/skillflag/dist/core/show.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/show.js +8 -0
- package/node_modules/skillflag/dist/core/show.js.map +1 -0
- package/node_modules/skillflag/dist/core/skillflag.d.ts +3 -0
- package/node_modules/skillflag/dist/core/skillflag.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/skillflag.js +2 -0
- package/node_modules/skillflag/dist/core/skillflag.js.map +1 -0
- package/node_modules/skillflag/dist/core/tar.d.ts +16 -0
- package/node_modules/skillflag/dist/core/tar.d.ts.map +1 -0
- package/node_modules/skillflag/dist/core/tar.js +140 -0
- package/node_modules/skillflag/dist/core/tar.js.map +1 -0
- package/node_modules/skillflag/dist/index.d.ts +5 -0
- package/node_modules/skillflag/dist/index.d.ts.map +1 -0
- package/node_modules/skillflag/dist/index.js +3 -0
- package/node_modules/skillflag/dist/index.js.map +1 -0
- package/node_modules/skillflag/dist/install/cli.d.ts +57 -0
- package/node_modules/skillflag/dist/install/cli.d.ts.map +1 -0
- package/node_modules/skillflag/dist/install/cli.js +653 -0
- package/node_modules/skillflag/dist/install/cli.js.map +1 -0
- package/node_modules/skillflag/dist/install/copy.d.ts +2 -0
- package/node_modules/skillflag/dist/install/copy.d.ts.map +1 -0
- package/node_modules/skillflag/dist/install/copy.js +19 -0
- package/node_modules/skillflag/dist/install/copy.js.map +1 -0
- package/node_modules/skillflag/dist/install/errors.d.ts +6 -0
- package/node_modules/skillflag/dist/install/errors.d.ts.map +1 -0
- package/node_modules/skillflag/dist/install/errors.js +13 -0
- package/node_modules/skillflag/dist/install/errors.js.map +1 -0
- package/node_modules/skillflag/dist/install/extract.d.ts +3 -0
- package/node_modules/skillflag/dist/install/extract.d.ts.map +1 -0
- package/node_modules/skillflag/dist/install/extract.js +76 -0
- package/node_modules/skillflag/dist/install/extract.js.map +1 -0
- package/node_modules/skillflag/dist/install/install.d.ts +21 -0
- package/node_modules/skillflag/dist/install/install.d.ts.map +1 -0
- package/node_modules/skillflag/dist/install/install.js +35 -0
- package/node_modules/skillflag/dist/install/install.js.map +1 -0
- package/node_modules/skillflag/dist/install/resolve.d.ts +12 -0
- package/node_modules/skillflag/dist/install/resolve.d.ts.map +1 -0
- package/node_modules/skillflag/dist/install/resolve.js +119 -0
- package/node_modules/skillflag/dist/install/resolve.js.map +1 -0
- package/node_modules/skillflag/dist/install/validate.d.ts +7 -0
- package/node_modules/skillflag/dist/install/validate.d.ts.map +1 -0
- package/node_modules/skillflag/dist/install/validate.js +28 -0
- package/node_modules/skillflag/dist/install/validate.js.map +1 -0
- package/node_modules/skillflag/dist/shared/frontmatter.d.ts +2 -0
- package/node_modules/skillflag/dist/shared/frontmatter.d.ts.map +1 -0
- package/node_modules/skillflag/dist/shared/frontmatter.js +28 -0
- package/node_modules/skillflag/dist/shared/frontmatter.js.map +1 -0
- package/node_modules/skillflag/dist/skillflag.d.ts +29 -0
- package/node_modules/skillflag/dist/skillflag.d.ts.map +1 -0
- package/node_modules/skillflag/dist/skillflag.js +230 -0
- package/node_modules/skillflag/dist/skillflag.js.map +1 -0
- package/node_modules/skillflag/dist/utils/collections.d.ts +3 -0
- package/node_modules/skillflag/dist/utils/collections.d.ts.map +1 -0
- package/node_modules/skillflag/dist/utils/collections.js +18 -0
- package/node_modules/skillflag/dist/utils/collections.js.map +1 -0
- package/node_modules/skillflag/package.json +78 -0
- package/node_modules/skillflag/skills/skillflag/SKILL.md +144 -0
- package/node_modules/streamx/LICENSE +21 -0
- package/node_modules/streamx/README.md +550 -0
- package/node_modules/streamx/index.d.ts +198 -0
- package/node_modules/streamx/index.js +1314 -0
- package/node_modules/streamx/lib/errors.d.ts +13 -0
- package/node_modules/streamx/lib/errors.js +47 -0
- package/node_modules/streamx/package.json +51 -0
- package/node_modules/streamx/runtime.d.ts +55 -0
- package/node_modules/tar-stream/LICENSE +21 -0
- package/node_modules/tar-stream/README.md +183 -0
- package/node_modules/tar-stream/constants.js +14 -0
- package/node_modules/tar-stream/extract.js +418 -0
- package/node_modules/tar-stream/headers.js +322 -0
- package/node_modules/tar-stream/index.d.ts +60 -0
- package/node_modules/tar-stream/index.js +2 -0
- package/node_modules/tar-stream/pack.js +287 -0
- package/node_modules/tar-stream/package.json +50 -0
- package/node_modules/teex/LICENSE +21 -0
- package/node_modules/teex/README.md +31 -0
- package/node_modules/teex/example.js +16 -0
- package/node_modules/teex/index.js +52 -0
- package/node_modules/teex/package.json +26 -0
- package/node_modules/teex/test.js +68 -0
- package/node_modules/text-decoder/LICENSE +201 -0
- package/node_modules/text-decoder/README.md +36 -0
- package/node_modules/text-decoder/index.js +64 -0
- package/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
- package/node_modules/text-decoder/lib/utf8-decoder.js +185 -0
- package/node_modules/text-decoder/package.json +39 -0
- package/node_modules/tsx/LICENSE +21 -0
- package/node_modules/tsx/README.md +32 -0
- package/node_modules/tsx/dist/cjs/api/index.cjs +2 -0
- package/node_modules/tsx/dist/cjs/api/index.d.cts +35 -0
- package/node_modules/tsx/dist/cjs/api/index.d.mts +35 -0
- package/node_modules/tsx/dist/cjs/api/index.mjs +2 -0
- package/node_modules/tsx/dist/cjs/index.cjs +1 -0
- package/node_modules/tsx/dist/cli.mjs +55 -0
- package/node_modules/tsx/dist/client-XItNFmsq.cjs +1 -0
- package/node_modules/tsx/dist/esm/api/index.cjs +2 -0
- package/node_modules/tsx/dist/esm/api/index.d.cts +37 -0
- package/node_modules/tsx/dist/esm/api/index.d.mts +37 -0
- package/node_modules/tsx/dist/esm/api/index.mjs +2 -0
- package/node_modules/tsx/dist/esm/index.mjs +2 -0
- package/node_modules/tsx/dist/index-Bqjv9TxC.mjs +1 -0
- package/node_modules/tsx/dist/index-DE3OBZuV.mjs +14 -0
- package/node_modules/tsx/dist/lexer-CGfpMDSb.cjs +3 -0
- package/node_modules/tsx/dist/lexer-CanA6ArK.mjs +3 -0
- package/node_modules/tsx/dist/loader.mjs +2 -0
- package/node_modules/tsx/dist/package-Dj0mHsMt.mjs +1 -0
- package/node_modules/tsx/dist/patch-repl.cjs +1 -0
- package/node_modules/tsx/dist/preflight.cjs +1 -0
- package/node_modules/tsx/dist/register-B1c7OH6V.cjs +23 -0
- package/node_modules/tsx/dist/register-nyXW-TH3.mjs +2 -0
- package/node_modules/tsx/dist/repl.mjs +4 -0
- package/node_modules/tsx/dist/require-CBjy4Foe.mjs +10 -0
- package/node_modules/tsx/dist/require-CVaYn9z3.cjs +1 -0
- package/node_modules/tsx/dist/suppress-warnings.cjs +1 -0
- package/node_modules/tsx/dist/temporary-directory-Du7LpLp9.mjs +1 -0
- package/node_modules/tsx/package.json +70 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +52 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +36 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +51 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +147 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/node_modules/zod/src/v4/core/compile.ts +2313 -0
- package/node_modules/zod/src/v4/core/core.ts +230 -0
- package/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5192 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/node_modules/zod/src/v4/core/util.ts +1280 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +167 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +36 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +41 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +52 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3798 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +97 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +52 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/node_modules/zod/v4/core/api.cjs +1269 -0
- package/node_modules/zod/v4/core/api.d.cts +335 -0
- package/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/zod/v4/core/api.js +1107 -0
- package/node_modules/zod/v4/core/checks.cjs +561 -0
- package/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/zod/v4/core/checks.js +516 -0
- package/node_modules/zod/v4/core/compile.cjs +1908 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1858 -0
- package/node_modules/zod/v4/core/core.cjs +167 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +61 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +38 -0
- package/node_modules/zod/v4/core/errors.cjs +317 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +267 -0
- package/node_modules/zod/v4/core/index.cjs +70 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +233 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +175 -0
- package/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/zod/v4/core/regexes.js +156 -0
- package/node_modules/zod/v4/core/registries.cjs +75 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2669 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1273 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1273 -0
- package/node_modules/zod/v4/core/schemas.js +2606 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/node_modules/zod/v4/core/util.cjs +949 -0
- package/node_modules/zod/v4/core/util.d.cts +278 -0
- package/node_modules/zod/v4/core/util.d.ts +278 -0
- package/node_modules/zod/v4/core/util.js +859 -0
- package/node_modules/zod/v4/core/versions.cjs +27 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +51 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +111 -0
- package/node_modules/zod/v4/locales/az.cjs +137 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +110 -0
- package/node_modules/zod/v4/locales/be.cjs +195 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +168 -0
- package/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +125 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +112 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +116 -0
- package/node_modules/zod/v4/locales/da.cjs +147 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +120 -0
- package/node_modules/zod/v4/locales/de.cjs +140 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +113 -0
- package/node_modules/zod/v4/locales/el.cjs +139 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +112 -0
- package/node_modules/zod/v4/locales/en.cjs +152 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +125 -0
- package/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +114 -0
- package/node_modules/zod/v4/locales/es.cjs +163 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +136 -0
- package/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +119 -0
- package/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +117 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +129 -0
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +248 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +221 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +126 -0
- package/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +113 -0
- package/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +158 -0
- package/node_modules/zod/v4/locales/id.cjs +138 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +111 -0
- package/node_modules/zod/v4/locales/index.cjs +152 -0
- package/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/zod/v4/locales/index.js +63 -0
- package/node_modules/zod/v4/locales/is.cjs +141 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +114 -0
- package/node_modules/zod/v4/locales/it.cjs +140 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +113 -0
- package/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +112 -0
- package/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +117 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +142 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +115 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +116 -0
- package/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +207 -0
- package/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +114 -0
- package/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +112 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +115 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +140 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +113 -0
- package/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +114 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +114 -0
- package/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +119 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +142 -0
- package/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +122 -0
- package/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +168 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +114 -0
- package/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +115 -0
- package/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +115 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +142 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +115 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +110 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +113 -0
- package/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +115 -0
- package/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +113 -0
- package/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +113 -0
- package/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +112 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +95 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +51 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +51 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +50 -0
|
@@ -0,0 +1,1046 @@
|
|
|
1
|
+
// This file is auto-generated by scripts/generate.js
|
|
2
|
+
import * as z from "zod/v4";
|
|
3
|
+
import * as validate from "./zod.gen.js";
|
|
4
|
+
function tagOf(value, key) {
|
|
5
|
+
return typeof value === "object" && value !== null
|
|
6
|
+
? value[key]
|
|
7
|
+
: undefined;
|
|
8
|
+
}
|
|
9
|
+
const zGuardRequestPermissionSubjectToolCall = validate.zToolCallPermissionSubject.and(z.object({ type: z.literal("tool_call") }));
|
|
10
|
+
const zGuardRequestPermissionSubjectCommand = validate.zCommandPermissionSubject.and(z.object({ type: z.literal("command") }));
|
|
11
|
+
const zGuardToolCallContentContent = validate.zContent.and(z.object({ type: z.literal("content") }));
|
|
12
|
+
const zGuardToolCallContentDiff = validate.zDiff.and(z.object({ type: z.literal("diff") }));
|
|
13
|
+
const zGuardToolCallContentTerminal = validate.zTerminal.and(z.object({ type: z.literal("terminal") }));
|
|
14
|
+
const zGuardContentBlockText = validate.zTextContent.and(z.object({ type: z.literal("text") }));
|
|
15
|
+
const zGuardContentBlockImage = validate.zImageContent.and(z.object({ type: z.literal("image") }));
|
|
16
|
+
const zGuardContentBlockAudio = validate.zAudioContent.and(z.object({ type: z.literal("audio") }));
|
|
17
|
+
const zGuardContentBlockResourceLink = validate.zResourceLink.and(z.object({ type: z.literal("resource_link") }));
|
|
18
|
+
const zGuardContentBlockResource = validate.zEmbeddedResource.and(z.object({ type: z.literal("resource") }));
|
|
19
|
+
const zGuardDiffChangeAdd = validate.zDiffPathChange.and(z.object({ operation: z.literal("add") }));
|
|
20
|
+
const zGuardDiffChangeDelete = validate.zDiffPathChange.and(z.object({ operation: z.literal("delete") }));
|
|
21
|
+
const zGuardDiffChangeModify = validate.zDiffPathChange.and(z.object({ operation: z.literal("modify") }));
|
|
22
|
+
const zGuardDiffChangeMove = validate.zDiffPathPairChange.and(z.object({ operation: z.literal("move") }));
|
|
23
|
+
const zGuardDiffChangeCopy = validate.zDiffPathPairChange.and(z.object({ operation: z.literal("copy") }));
|
|
24
|
+
const zGuardCreateElicitationRequestForm = validate.zElicitationFormMode
|
|
25
|
+
.and(z.object({ mode: z.literal("form") }))
|
|
26
|
+
.and(z.object({ message: z.string() }));
|
|
27
|
+
const zGuardCreateElicitationRequestUrl = validate.zElicitationUrlMode
|
|
28
|
+
.and(z.object({ mode: z.literal("url") }))
|
|
29
|
+
.and(z.object({ message: z.string() }));
|
|
30
|
+
const zGuardCreateElicitationRequestCustom = z
|
|
31
|
+
.union([validate.zElicitationSessionScope, validate.zElicitationRequestScope])
|
|
32
|
+
.and(z.object({ message: z.string() }));
|
|
33
|
+
const zGuardElicitationPropertySchemaString = validate.zStringPropertySchema.and(z.object({ type: z.literal("string") }));
|
|
34
|
+
const zGuardElicitationPropertySchemaNumber = validate.zNumberPropertySchema.and(z.object({ type: z.literal("number") }));
|
|
35
|
+
const zGuardElicitationPropertySchemaInteger = validate.zIntegerPropertySchema.and(z.object({ type: z.literal("integer") }));
|
|
36
|
+
const zGuardElicitationPropertySchemaBoolean = validate.zBooleanPropertySchema.and(z.object({ type: z.literal("boolean") }));
|
|
37
|
+
const zGuardElicitationPropertySchemaArray = validate.zMultiSelectPropertySchema.and(z.object({ type: z.literal("array") }));
|
|
38
|
+
const zGuardMultiSelectItemsString = validate.zStringMultiSelectItems.and(z.object({ type: z.literal("string") }));
|
|
39
|
+
const zGuardMultiSelectItemsTitled = validate.zTitledMultiSelectItems;
|
|
40
|
+
const zGuardAuthMethodTerminal = validate.zAuthMethodTerminal.and(z.object({ type: z.literal("terminal") }));
|
|
41
|
+
const zGuardAuthMethodAgent = validate.zAuthMethodAgent.and(z.object({ type: z.literal("agent") }));
|
|
42
|
+
const zGuardAuthMethodCustom = z.object({
|
|
43
|
+
methodId: validate.zAuthMethodId,
|
|
44
|
+
name: z.string(),
|
|
45
|
+
});
|
|
46
|
+
const zGuardSessionConfigOptionSelect = validate.zSessionConfigSelect
|
|
47
|
+
.and(z.object({ type: z.literal("select") }))
|
|
48
|
+
.and(z.object({ configId: validate.zSessionConfigId, name: z.string() }));
|
|
49
|
+
const zGuardSessionConfigOptionBoolean = validate.zSessionConfigBoolean
|
|
50
|
+
.and(z.object({ type: z.literal("boolean") }))
|
|
51
|
+
.and(z.object({ configId: validate.zSessionConfigId, name: z.string() }));
|
|
52
|
+
const zGuardSessionConfigOptionCustom = z.object({
|
|
53
|
+
configId: validate.zSessionConfigId,
|
|
54
|
+
name: z.string(),
|
|
55
|
+
});
|
|
56
|
+
const zGuardNesSuggestionEdit = validate.zNesEditSuggestion.and(z.object({ kind: z.literal("edit") }));
|
|
57
|
+
const zGuardNesSuggestionJump = validate.zNesJumpSuggestion.and(z.object({ kind: z.literal("jump") }));
|
|
58
|
+
const zGuardNesSuggestionRename = validate.zNesRenameSuggestion.and(z.object({ kind: z.literal("rename") }));
|
|
59
|
+
const zGuardNesSuggestionSearchAndReplace = validate.zNesSearchAndReplaceSuggestion.and(z.object({ kind: z.literal("searchAndReplace") }));
|
|
60
|
+
const zGuardNesSuggestionCustom = z.object({
|
|
61
|
+
suggestionId: validate.zNesSuggestionId,
|
|
62
|
+
});
|
|
63
|
+
const zGuardSessionUpdateUserMessageChunk = validate.zContentChunk.and(z.object({ sessionUpdate: z.literal("user_message_chunk") }));
|
|
64
|
+
const zGuardSessionUpdateUserMessage = validate.zUserMessage.and(z.object({ sessionUpdate: z.literal("user_message") }));
|
|
65
|
+
const zGuardSessionUpdateAgentMessageChunk = validate.zContentChunk.and(z.object({ sessionUpdate: z.literal("agent_message_chunk") }));
|
|
66
|
+
const zGuardSessionUpdateAgentMessage = validate.zAgentMessage.and(z.object({ sessionUpdate: z.literal("agent_message") }));
|
|
67
|
+
const zGuardSessionUpdateAgentThoughtChunk = validate.zContentChunk.and(z.object({ sessionUpdate: z.literal("agent_thought_chunk") }));
|
|
68
|
+
const zGuardSessionUpdateAgentThought = validate.zAgentThought.and(z.object({ sessionUpdate: z.literal("agent_thought") }));
|
|
69
|
+
const zGuardSessionUpdateStateUpdate = validate.zStateUpdate.and(z.object({ sessionUpdate: z.literal("state_update") }));
|
|
70
|
+
const zGuardSessionUpdateToolCallContentChunk = validate.zToolCallContentChunk.and(z.object({ sessionUpdate: z.literal("tool_call_content_chunk") }));
|
|
71
|
+
const zGuardSessionUpdateToolCallUpdate = validate.zToolCallUpdate.and(z.object({ sessionUpdate: z.literal("tool_call_update") }));
|
|
72
|
+
const zGuardSessionUpdateTerminalUpdate = validate.zTerminalUpdate.and(z.object({ sessionUpdate: z.literal("terminal_update") }));
|
|
73
|
+
const zGuardSessionUpdateTerminalOutputChunk = validate.zTerminalOutputChunk.and(z.object({ sessionUpdate: z.literal("terminal_output_chunk") }));
|
|
74
|
+
const zGuardSessionUpdatePlanUpdate = validate.zPlanUpdate.and(z.object({ sessionUpdate: z.literal("plan_update") }));
|
|
75
|
+
const zGuardSessionUpdatePlanRemoved = validate.zPlanRemoved.and(z.object({ sessionUpdate: z.literal("plan_removed") }));
|
|
76
|
+
const zGuardSessionUpdateAvailableCommandsUpdate = validate.zAvailableCommandsUpdate.and(z.object({ sessionUpdate: z.literal("available_commands_update") }));
|
|
77
|
+
const zGuardSessionUpdateConfigOptionUpdate = validate.zConfigOptionUpdate.and(z.object({ sessionUpdate: z.literal("config_option_update") }));
|
|
78
|
+
const zGuardSessionUpdateSessionInfoUpdate = validate.zSessionInfoUpdate.and(z.object({ sessionUpdate: z.literal("session_info_update") }));
|
|
79
|
+
const zGuardSessionUpdateUsageUpdate = validate.zUsageUpdate.and(z.object({ sessionUpdate: z.literal("usage_update") }));
|
|
80
|
+
const zGuardSessionUpdateNotice = validate.zNotice.and(z.object({ sessionUpdate: z.literal("notice") }));
|
|
81
|
+
const zGuardSessionUpdateCompactionUpdate = validate.zCompactionUpdate.and(z.object({ sessionUpdate: z.literal("compaction_update") }));
|
|
82
|
+
const zGuardSessionUpdateCompactionSummaryChunk = validate.zCompactionSummaryChunk.and(z.object({ sessionUpdate: z.literal("compaction_summary_chunk") }));
|
|
83
|
+
const zGuardStateUpdateRunning = validate.zRunningStateUpdate.and(z.object({ state: z.literal("running") }));
|
|
84
|
+
const zGuardStateUpdateIdle = validate.zIdleStateUpdate.and(z.object({ state: z.literal("idle") }));
|
|
85
|
+
const zGuardStateUpdateRequiresAction = validate.zRequiresActionStateUpdate.and(z.object({ state: z.literal("requires_action") }));
|
|
86
|
+
const zGuardPlanUpdateContentItems = validate.zPlanItems.and(z.object({ type: z.literal("items") }));
|
|
87
|
+
const zGuardPlanUpdateContentFile = validate.zPlanFile.and(z.object({ type: z.literal("file") }));
|
|
88
|
+
const zGuardPlanUpdateContentMarkdown = validate.zPlanMarkdown.and(z.object({ type: z.literal("markdown") }));
|
|
89
|
+
const zGuardPlanUpdateContentCustom = z.object({ planId: validate.zPlanId });
|
|
90
|
+
const zGuardAvailableCommandInputText = validate.zTextCommandInput.and(z.object({ type: z.literal("text") }));
|
|
91
|
+
const zGuardMcpServerHttp = validate.zMcpServerHttp.and(z.object({ type: z.literal("http") }));
|
|
92
|
+
const zGuardMcpServerAcp = validate.zMcpServerAcp.and(z.object({ type: z.literal("acp") }));
|
|
93
|
+
const zGuardMcpServerStdio = validate.zMcpServerStdio.and(z.object({ type: z.literal("stdio") }));
|
|
94
|
+
const zGuardReplayFromStart = validate.zReplayFromStart.and(z.object({ type: z.literal("start") }));
|
|
95
|
+
const zGuardSetSessionConfigOptionRequestId = z
|
|
96
|
+
.object({ type: z.literal("id") })
|
|
97
|
+
.and(z.object({ value: validate.zSessionConfigValueId }))
|
|
98
|
+
.and(z.object({
|
|
99
|
+
sessionId: validate.zSessionId,
|
|
100
|
+
configId: validate.zSessionConfigId,
|
|
101
|
+
}));
|
|
102
|
+
const zGuardSetSessionConfigOptionRequestBoolean = z
|
|
103
|
+
.object({ type: z.literal("boolean") })
|
|
104
|
+
.and(z.object({ value: z.boolean() }))
|
|
105
|
+
.and(z.object({
|
|
106
|
+
sessionId: validate.zSessionId,
|
|
107
|
+
configId: validate.zSessionConfigId,
|
|
108
|
+
}));
|
|
109
|
+
const zGuardSetSessionConfigOptionRequestCustom = z
|
|
110
|
+
.object({ value: z.unknown() })
|
|
111
|
+
.and(z.object({
|
|
112
|
+
sessionId: validate.zSessionId,
|
|
113
|
+
configId: validate.zSessionConfigId,
|
|
114
|
+
}));
|
|
115
|
+
const zGuardRequestPermissionOutcomeCancelled = z.object({
|
|
116
|
+
outcome: z.literal("cancelled"),
|
|
117
|
+
});
|
|
118
|
+
const zGuardRequestPermissionOutcomeSelected = validate.zSelectedPermissionOutcome.and(z.object({ outcome: z.literal("selected") }));
|
|
119
|
+
const zGuardCreateElicitationResponseAccept = validate.zElicitationAcceptAction.and(z.object({ action: z.literal("accept") }));
|
|
120
|
+
const zGuardCreateElicitationResponseDecline = z.object({
|
|
121
|
+
action: z.literal("decline"),
|
|
122
|
+
});
|
|
123
|
+
const zGuardCreateElicitationResponseCancel = z.object({
|
|
124
|
+
action: z.literal("cancel"),
|
|
125
|
+
});
|
|
126
|
+
/**
|
|
127
|
+
* Validated type guards for `RequestPermissionSubject`'s known variants.
|
|
128
|
+
*
|
|
129
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
130
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
131
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
132
|
+
* of classifying them as custom.
|
|
133
|
+
*
|
|
134
|
+
* Guards check the value as given: fields that wire deserialization
|
|
135
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
136
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
137
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
138
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
139
|
+
* parity matters.
|
|
140
|
+
*/
|
|
141
|
+
export const RequestPermissionSubject = {
|
|
142
|
+
/** Narrow to the `tool_call` variant, validating its payload. */
|
|
143
|
+
isToolCall(value) {
|
|
144
|
+
return (tagOf(value, "type") === "tool_call" &&
|
|
145
|
+
zGuardRequestPermissionSubjectToolCall.safeParse(value).success);
|
|
146
|
+
},
|
|
147
|
+
/** Narrow to the `command` variant, validating its payload. */
|
|
148
|
+
isCommand(value) {
|
|
149
|
+
return (tagOf(value, "type") === "command" &&
|
|
150
|
+
zGuardRequestPermissionSubjectCommand.safeParse(value).success);
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
154
|
+
*
|
|
155
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
156
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
157
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
158
|
+
*/
|
|
159
|
+
isCustom(value) {
|
|
160
|
+
const tag = tagOf(value, "type");
|
|
161
|
+
return typeof tag === "string" && !["command", "tool_call"].includes(tag);
|
|
162
|
+
},
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Validated type guards for `ToolCallContent`'s known variants.
|
|
166
|
+
*
|
|
167
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
168
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
169
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
170
|
+
* of classifying them as custom.
|
|
171
|
+
*
|
|
172
|
+
* Guards check the value as given: fields that wire deserialization
|
|
173
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
174
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
175
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
176
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
177
|
+
* parity matters.
|
|
178
|
+
*/
|
|
179
|
+
export const ToolCallContent = {
|
|
180
|
+
/** Narrow to the `content` variant, validating its payload. */
|
|
181
|
+
isContent(value) {
|
|
182
|
+
return (tagOf(value, "type") === "content" &&
|
|
183
|
+
zGuardToolCallContentContent.safeParse(value).success);
|
|
184
|
+
},
|
|
185
|
+
/** Narrow to the `diff` variant, validating its payload. */
|
|
186
|
+
isDiff(value) {
|
|
187
|
+
return (tagOf(value, "type") === "diff" &&
|
|
188
|
+
zGuardToolCallContentDiff.safeParse(value).success);
|
|
189
|
+
},
|
|
190
|
+
/** Narrow to the `terminal` variant, validating its payload. */
|
|
191
|
+
isTerminal(value) {
|
|
192
|
+
return (tagOf(value, "type") === "terminal" &&
|
|
193
|
+
zGuardToolCallContentTerminal.safeParse(value).success);
|
|
194
|
+
},
|
|
195
|
+
/**
|
|
196
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
197
|
+
*
|
|
198
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
199
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
200
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
201
|
+
*/
|
|
202
|
+
isCustom(value) {
|
|
203
|
+
const tag = tagOf(value, "type");
|
|
204
|
+
return (typeof tag === "string" && !["content", "diff", "terminal"].includes(tag));
|
|
205
|
+
},
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* Validated type guards for `ContentBlock`'s known variants.
|
|
209
|
+
*
|
|
210
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
211
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
212
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
213
|
+
* of classifying them as custom.
|
|
214
|
+
*
|
|
215
|
+
* Guards check the value as given: fields that wire deserialization
|
|
216
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
217
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
218
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
219
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
220
|
+
* parity matters.
|
|
221
|
+
*/
|
|
222
|
+
export const ContentBlock = {
|
|
223
|
+
/** Narrow to the `text` variant, validating its payload. */
|
|
224
|
+
isText(value) {
|
|
225
|
+
return (tagOf(value, "type") === "text" &&
|
|
226
|
+
zGuardContentBlockText.safeParse(value).success);
|
|
227
|
+
},
|
|
228
|
+
/** Narrow to the `image` variant, validating its payload. */
|
|
229
|
+
isImage(value) {
|
|
230
|
+
return (tagOf(value, "type") === "image" &&
|
|
231
|
+
zGuardContentBlockImage.safeParse(value).success);
|
|
232
|
+
},
|
|
233
|
+
/** Narrow to the `audio` variant, validating its payload. */
|
|
234
|
+
isAudio(value) {
|
|
235
|
+
return (tagOf(value, "type") === "audio" &&
|
|
236
|
+
zGuardContentBlockAudio.safeParse(value).success);
|
|
237
|
+
},
|
|
238
|
+
/** Narrow to the `resource_link` variant, validating its payload. */
|
|
239
|
+
isResourceLink(value) {
|
|
240
|
+
return (tagOf(value, "type") === "resource_link" &&
|
|
241
|
+
zGuardContentBlockResourceLink.safeParse(value).success);
|
|
242
|
+
},
|
|
243
|
+
/** Narrow to the `resource` variant, validating its payload. */
|
|
244
|
+
isResource(value) {
|
|
245
|
+
return (tagOf(value, "type") === "resource" &&
|
|
246
|
+
zGuardContentBlockResource.safeParse(value).success);
|
|
247
|
+
},
|
|
248
|
+
/**
|
|
249
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
250
|
+
*
|
|
251
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
252
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
253
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
254
|
+
*/
|
|
255
|
+
isCustom(value) {
|
|
256
|
+
const tag = tagOf(value, "type");
|
|
257
|
+
return (typeof tag === "string" &&
|
|
258
|
+
!["audio", "image", "resource", "resource_link", "text"].includes(tag));
|
|
259
|
+
},
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Validated type guards for `DiffChange`'s known variants.
|
|
263
|
+
*
|
|
264
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
265
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
266
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
267
|
+
* of classifying them as custom.
|
|
268
|
+
*
|
|
269
|
+
* Guards check the value as given: fields that wire deserialization
|
|
270
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
271
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
272
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
273
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
274
|
+
* parity matters.
|
|
275
|
+
*/
|
|
276
|
+
export const DiffChange = {
|
|
277
|
+
/** Narrow to the `add` variant, validating its payload. */
|
|
278
|
+
isAdd(value) {
|
|
279
|
+
return (tagOf(value, "operation") === "add" &&
|
|
280
|
+
zGuardDiffChangeAdd.safeParse(value).success);
|
|
281
|
+
},
|
|
282
|
+
/** Narrow to the `delete` variant, validating its payload. */
|
|
283
|
+
isDelete(value) {
|
|
284
|
+
return (tagOf(value, "operation") === "delete" &&
|
|
285
|
+
zGuardDiffChangeDelete.safeParse(value).success);
|
|
286
|
+
},
|
|
287
|
+
/** Narrow to the `modify` variant, validating its payload. */
|
|
288
|
+
isModify(value) {
|
|
289
|
+
return (tagOf(value, "operation") === "modify" &&
|
|
290
|
+
zGuardDiffChangeModify.safeParse(value).success);
|
|
291
|
+
},
|
|
292
|
+
/** Narrow to the `move` variant, validating its payload. */
|
|
293
|
+
isMove(value) {
|
|
294
|
+
return (tagOf(value, "operation") === "move" &&
|
|
295
|
+
zGuardDiffChangeMove.safeParse(value).success);
|
|
296
|
+
},
|
|
297
|
+
/** Narrow to the `copy` variant, validating its payload. */
|
|
298
|
+
isCopy(value) {
|
|
299
|
+
return (tagOf(value, "operation") === "copy" &&
|
|
300
|
+
zGuardDiffChangeCopy.safeParse(value).success);
|
|
301
|
+
},
|
|
302
|
+
/**
|
|
303
|
+
* Narrow to a custom or future variant: the `operation` tag matches no known variant.
|
|
304
|
+
*
|
|
305
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
306
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
307
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
308
|
+
*/
|
|
309
|
+
isCustom(value) {
|
|
310
|
+
const tag = tagOf(value, "operation");
|
|
311
|
+
return (typeof tag === "string" &&
|
|
312
|
+
!["add", "copy", "delete", "modify", "move"].includes(tag));
|
|
313
|
+
},
|
|
314
|
+
};
|
|
315
|
+
/**
|
|
316
|
+
* Validated type guards for `CreateElicitationRequest`'s known variants.
|
|
317
|
+
*
|
|
318
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
319
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
320
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
321
|
+
* of classifying them as custom.
|
|
322
|
+
*
|
|
323
|
+
* Guards check the value as given: fields that wire deserialization
|
|
324
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
325
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
326
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
327
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
328
|
+
* parity matters.
|
|
329
|
+
*/
|
|
330
|
+
export const CreateElicitationRequest = {
|
|
331
|
+
/** Narrow to the `form` variant, validating its payload. */
|
|
332
|
+
isForm(value) {
|
|
333
|
+
return (tagOf(value, "mode") === "form" &&
|
|
334
|
+
zGuardCreateElicitationRequestForm.safeParse(value).success);
|
|
335
|
+
},
|
|
336
|
+
/** Narrow to the `url` variant, validating its payload. */
|
|
337
|
+
isUrl(value) {
|
|
338
|
+
return (tagOf(value, "mode") === "url" &&
|
|
339
|
+
zGuardCreateElicitationRequestUrl.safeParse(value).success);
|
|
340
|
+
},
|
|
341
|
+
/**
|
|
342
|
+
* Narrow to a custom or future variant: the `mode` tag matches no known variant, with a valid payload.
|
|
343
|
+
*
|
|
344
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
345
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
346
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
347
|
+
*/
|
|
348
|
+
isCustom(value) {
|
|
349
|
+
const tag = tagOf(value, "mode");
|
|
350
|
+
return (typeof tag === "string" &&
|
|
351
|
+
!["form", "url"].includes(tag) &&
|
|
352
|
+
zGuardCreateElicitationRequestCustom.safeParse(value).success);
|
|
353
|
+
},
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* Validated type guards for `ElicitationPropertySchema`'s known variants.
|
|
357
|
+
*
|
|
358
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
359
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
360
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
361
|
+
* of classifying them as custom.
|
|
362
|
+
*
|
|
363
|
+
* Guards check the value as given: fields that wire deserialization
|
|
364
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
365
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
366
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
367
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
368
|
+
* parity matters.
|
|
369
|
+
*/
|
|
370
|
+
export const ElicitationPropertySchema = {
|
|
371
|
+
/** Narrow to the `string` variant, validating its payload. */
|
|
372
|
+
isString(value) {
|
|
373
|
+
return (tagOf(value, "type") === "string" &&
|
|
374
|
+
zGuardElicitationPropertySchemaString.safeParse(value).success);
|
|
375
|
+
},
|
|
376
|
+
/** Narrow to the `number` variant, validating its payload. */
|
|
377
|
+
isNumber(value) {
|
|
378
|
+
return (tagOf(value, "type") === "number" &&
|
|
379
|
+
zGuardElicitationPropertySchemaNumber.safeParse(value).success);
|
|
380
|
+
},
|
|
381
|
+
/** Narrow to the `integer` variant, validating its payload. */
|
|
382
|
+
isInteger(value) {
|
|
383
|
+
return (tagOf(value, "type") === "integer" &&
|
|
384
|
+
zGuardElicitationPropertySchemaInteger.safeParse(value).success);
|
|
385
|
+
},
|
|
386
|
+
/** Narrow to the `boolean` variant, validating its payload. */
|
|
387
|
+
isBoolean(value) {
|
|
388
|
+
return (tagOf(value, "type") === "boolean" &&
|
|
389
|
+
zGuardElicitationPropertySchemaBoolean.safeParse(value).success);
|
|
390
|
+
},
|
|
391
|
+
/** Narrow to the `array` variant, validating its payload. */
|
|
392
|
+
isArray(value) {
|
|
393
|
+
return (tagOf(value, "type") === "array" &&
|
|
394
|
+
zGuardElicitationPropertySchemaArray.safeParse(value).success);
|
|
395
|
+
},
|
|
396
|
+
/**
|
|
397
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
398
|
+
*
|
|
399
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
400
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
401
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
402
|
+
*/
|
|
403
|
+
isCustom(value) {
|
|
404
|
+
const tag = tagOf(value, "type");
|
|
405
|
+
return (typeof tag === "string" &&
|
|
406
|
+
!["array", "boolean", "integer", "number", "string"].includes(tag));
|
|
407
|
+
},
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* Validated type guards for `MultiSelectItems`'s known variants.
|
|
411
|
+
*
|
|
412
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
413
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
414
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
415
|
+
* of classifying them as custom.
|
|
416
|
+
*
|
|
417
|
+
* Guards check the value as given: fields that wire deserialization
|
|
418
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
419
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
420
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
421
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
422
|
+
* parity matters.
|
|
423
|
+
*/
|
|
424
|
+
export const MultiSelectItems = {
|
|
425
|
+
/** Narrow to the `string` variant, validating its payload. */
|
|
426
|
+
isString(value) {
|
|
427
|
+
return (tagOf(value, "type") === "string" &&
|
|
428
|
+
zGuardMultiSelectItemsString.safeParse(value).success);
|
|
429
|
+
},
|
|
430
|
+
/** Narrow to the `titled` variant, validating its payload. */
|
|
431
|
+
isTitled(value) {
|
|
432
|
+
return (tagOf(value, "type") === undefined &&
|
|
433
|
+
zGuardMultiSelectItemsTitled.safeParse(value).success);
|
|
434
|
+
},
|
|
435
|
+
/**
|
|
436
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
437
|
+
*
|
|
438
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
439
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
440
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
441
|
+
*/
|
|
442
|
+
isCustom(value) {
|
|
443
|
+
const tag = tagOf(value, "type");
|
|
444
|
+
return typeof tag === "string" && !["string"].includes(tag);
|
|
445
|
+
},
|
|
446
|
+
};
|
|
447
|
+
/**
|
|
448
|
+
* Validated type guards for `AuthMethod`'s known variants.
|
|
449
|
+
*
|
|
450
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
451
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
452
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
453
|
+
* of classifying them as custom.
|
|
454
|
+
*
|
|
455
|
+
* Guards check the value as given: fields that wire deserialization
|
|
456
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
457
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
458
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
459
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
460
|
+
* parity matters.
|
|
461
|
+
*/
|
|
462
|
+
export const AuthMethod = {
|
|
463
|
+
/** Narrow to the `terminal` variant, validating its payload. */
|
|
464
|
+
isTerminal(value) {
|
|
465
|
+
return (tagOf(value, "type") === "terminal" &&
|
|
466
|
+
zGuardAuthMethodTerminal.safeParse(value).success);
|
|
467
|
+
},
|
|
468
|
+
/** Narrow to the `agent` variant, validating its payload. */
|
|
469
|
+
isAgent(value) {
|
|
470
|
+
return (tagOf(value, "type") === "agent" &&
|
|
471
|
+
zGuardAuthMethodAgent.safeParse(value).success);
|
|
472
|
+
},
|
|
473
|
+
/**
|
|
474
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant, with a valid payload.
|
|
475
|
+
*
|
|
476
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
477
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
478
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
479
|
+
*/
|
|
480
|
+
isCustom(value) {
|
|
481
|
+
const tag = tagOf(value, "type");
|
|
482
|
+
return (typeof tag === "string" &&
|
|
483
|
+
!["agent", "terminal"].includes(tag) &&
|
|
484
|
+
zGuardAuthMethodCustom.safeParse(value).success);
|
|
485
|
+
},
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* Validated type guards for `SessionConfigOption`'s known variants.
|
|
489
|
+
*
|
|
490
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
491
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
492
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
493
|
+
* of classifying them as custom.
|
|
494
|
+
*
|
|
495
|
+
* Guards check the value as given: fields that wire deserialization
|
|
496
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
497
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
498
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
499
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
500
|
+
* parity matters.
|
|
501
|
+
*/
|
|
502
|
+
export const SessionConfigOption = {
|
|
503
|
+
/** Narrow to the `select` variant, validating its payload. */
|
|
504
|
+
isSelect(value) {
|
|
505
|
+
return (tagOf(value, "type") === "select" &&
|
|
506
|
+
zGuardSessionConfigOptionSelect.safeParse(value).success);
|
|
507
|
+
},
|
|
508
|
+
/** Narrow to the `boolean` variant, validating its payload. */
|
|
509
|
+
isBoolean(value) {
|
|
510
|
+
return (tagOf(value, "type") === "boolean" &&
|
|
511
|
+
zGuardSessionConfigOptionBoolean.safeParse(value).success);
|
|
512
|
+
},
|
|
513
|
+
/**
|
|
514
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant, with a valid payload.
|
|
515
|
+
*
|
|
516
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
517
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
518
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
519
|
+
*/
|
|
520
|
+
isCustom(value) {
|
|
521
|
+
const tag = tagOf(value, "type");
|
|
522
|
+
return (typeof tag === "string" &&
|
|
523
|
+
!["boolean", "select"].includes(tag) &&
|
|
524
|
+
zGuardSessionConfigOptionCustom.safeParse(value).success);
|
|
525
|
+
},
|
|
526
|
+
};
|
|
527
|
+
/**
|
|
528
|
+
* Validated type guards for `NesSuggestion`'s known variants.
|
|
529
|
+
*
|
|
530
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
531
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
532
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
533
|
+
* of classifying them as custom.
|
|
534
|
+
*
|
|
535
|
+
* Guards check the value as given: fields that wire deserialization
|
|
536
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
537
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
538
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
539
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
540
|
+
* parity matters.
|
|
541
|
+
*/
|
|
542
|
+
export const NesSuggestion = {
|
|
543
|
+
/** Narrow to the `edit` variant, validating its payload. */
|
|
544
|
+
isEdit(value) {
|
|
545
|
+
return (tagOf(value, "kind") === "edit" &&
|
|
546
|
+
zGuardNesSuggestionEdit.safeParse(value).success);
|
|
547
|
+
},
|
|
548
|
+
/** Narrow to the `jump` variant, validating its payload. */
|
|
549
|
+
isJump(value) {
|
|
550
|
+
return (tagOf(value, "kind") === "jump" &&
|
|
551
|
+
zGuardNesSuggestionJump.safeParse(value).success);
|
|
552
|
+
},
|
|
553
|
+
/** Narrow to the `rename` variant, validating its payload. */
|
|
554
|
+
isRename(value) {
|
|
555
|
+
return (tagOf(value, "kind") === "rename" &&
|
|
556
|
+
zGuardNesSuggestionRename.safeParse(value).success);
|
|
557
|
+
},
|
|
558
|
+
/** Narrow to the `searchAndReplace` variant, validating its payload. */
|
|
559
|
+
isSearchAndReplace(value) {
|
|
560
|
+
return (tagOf(value, "kind") === "searchAndReplace" &&
|
|
561
|
+
zGuardNesSuggestionSearchAndReplace.safeParse(value).success);
|
|
562
|
+
},
|
|
563
|
+
/**
|
|
564
|
+
* Narrow to a custom or future variant: the `kind` tag matches no known variant, with a valid payload.
|
|
565
|
+
*
|
|
566
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
567
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
568
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
569
|
+
*/
|
|
570
|
+
isCustom(value) {
|
|
571
|
+
const tag = tagOf(value, "kind");
|
|
572
|
+
return (typeof tag === "string" &&
|
|
573
|
+
!["edit", "jump", "rename", "searchAndReplace"].includes(tag) &&
|
|
574
|
+
zGuardNesSuggestionCustom.safeParse(value).success);
|
|
575
|
+
},
|
|
576
|
+
};
|
|
577
|
+
/**
|
|
578
|
+
* Validated type guards for `SessionUpdate`'s known variants.
|
|
579
|
+
*
|
|
580
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
581
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
582
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
583
|
+
* of classifying them as custom.
|
|
584
|
+
*
|
|
585
|
+
* Guards check the value as given: fields that wire deserialization
|
|
586
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
587
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
588
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
589
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
590
|
+
* parity matters.
|
|
591
|
+
*/
|
|
592
|
+
export const SessionUpdate = {
|
|
593
|
+
/** Narrow to the `user_message_chunk` variant, validating its payload. */
|
|
594
|
+
isUserMessageChunk(value) {
|
|
595
|
+
return (tagOf(value, "sessionUpdate") === "user_message_chunk" &&
|
|
596
|
+
zGuardSessionUpdateUserMessageChunk.safeParse(value).success);
|
|
597
|
+
},
|
|
598
|
+
/** Narrow to the `user_message` variant, validating its payload. */
|
|
599
|
+
isUserMessage(value) {
|
|
600
|
+
return (tagOf(value, "sessionUpdate") === "user_message" &&
|
|
601
|
+
zGuardSessionUpdateUserMessage.safeParse(value).success);
|
|
602
|
+
},
|
|
603
|
+
/** Narrow to the `agent_message_chunk` variant, validating its payload. */
|
|
604
|
+
isAgentMessageChunk(value) {
|
|
605
|
+
return (tagOf(value, "sessionUpdate") === "agent_message_chunk" &&
|
|
606
|
+
zGuardSessionUpdateAgentMessageChunk.safeParse(value).success);
|
|
607
|
+
},
|
|
608
|
+
/** Narrow to the `agent_message` variant, validating its payload. */
|
|
609
|
+
isAgentMessage(value) {
|
|
610
|
+
return (tagOf(value, "sessionUpdate") === "agent_message" &&
|
|
611
|
+
zGuardSessionUpdateAgentMessage.safeParse(value).success);
|
|
612
|
+
},
|
|
613
|
+
/** Narrow to the `agent_thought_chunk` variant, validating its payload. */
|
|
614
|
+
isAgentThoughtChunk(value) {
|
|
615
|
+
return (tagOf(value, "sessionUpdate") === "agent_thought_chunk" &&
|
|
616
|
+
zGuardSessionUpdateAgentThoughtChunk.safeParse(value).success);
|
|
617
|
+
},
|
|
618
|
+
/** Narrow to the `agent_thought` variant, validating its payload. */
|
|
619
|
+
isAgentThought(value) {
|
|
620
|
+
return (tagOf(value, "sessionUpdate") === "agent_thought" &&
|
|
621
|
+
zGuardSessionUpdateAgentThought.safeParse(value).success);
|
|
622
|
+
},
|
|
623
|
+
/** Narrow to the `state_update` variant, validating its payload. */
|
|
624
|
+
isStateUpdate(value) {
|
|
625
|
+
return (tagOf(value, "sessionUpdate") === "state_update" &&
|
|
626
|
+
zGuardSessionUpdateStateUpdate.safeParse(value).success);
|
|
627
|
+
},
|
|
628
|
+
/** Narrow to the `tool_call_content_chunk` variant, validating its payload. */
|
|
629
|
+
isToolCallContentChunk(value) {
|
|
630
|
+
return (tagOf(value, "sessionUpdate") === "tool_call_content_chunk" &&
|
|
631
|
+
zGuardSessionUpdateToolCallContentChunk.safeParse(value).success);
|
|
632
|
+
},
|
|
633
|
+
/** Narrow to the `tool_call_update` variant, validating its payload. */
|
|
634
|
+
isToolCallUpdate(value) {
|
|
635
|
+
return (tagOf(value, "sessionUpdate") === "tool_call_update" &&
|
|
636
|
+
zGuardSessionUpdateToolCallUpdate.safeParse(value).success);
|
|
637
|
+
},
|
|
638
|
+
/** Narrow to the `terminal_update` variant, validating its payload. */
|
|
639
|
+
isTerminalUpdate(value) {
|
|
640
|
+
return (tagOf(value, "sessionUpdate") === "terminal_update" &&
|
|
641
|
+
zGuardSessionUpdateTerminalUpdate.safeParse(value).success);
|
|
642
|
+
},
|
|
643
|
+
/** Narrow to the `terminal_output_chunk` variant, validating its payload. */
|
|
644
|
+
isTerminalOutputChunk(value) {
|
|
645
|
+
return (tagOf(value, "sessionUpdate") === "terminal_output_chunk" &&
|
|
646
|
+
zGuardSessionUpdateTerminalOutputChunk.safeParse(value).success);
|
|
647
|
+
},
|
|
648
|
+
/** Narrow to the `plan_update` variant, validating its payload. */
|
|
649
|
+
isPlanUpdate(value) {
|
|
650
|
+
return (tagOf(value, "sessionUpdate") === "plan_update" &&
|
|
651
|
+
zGuardSessionUpdatePlanUpdate.safeParse(value).success);
|
|
652
|
+
},
|
|
653
|
+
/** Narrow to the `plan_removed` variant, validating its payload. */
|
|
654
|
+
isPlanRemoved(value) {
|
|
655
|
+
return (tagOf(value, "sessionUpdate") === "plan_removed" &&
|
|
656
|
+
zGuardSessionUpdatePlanRemoved.safeParse(value).success);
|
|
657
|
+
},
|
|
658
|
+
/** Narrow to the `available_commands_update` variant, validating its payload. */
|
|
659
|
+
isAvailableCommandsUpdate(value) {
|
|
660
|
+
return (tagOf(value, "sessionUpdate") === "available_commands_update" &&
|
|
661
|
+
zGuardSessionUpdateAvailableCommandsUpdate.safeParse(value).success);
|
|
662
|
+
},
|
|
663
|
+
/** Narrow to the `config_option_update` variant, validating its payload. */
|
|
664
|
+
isConfigOptionUpdate(value) {
|
|
665
|
+
return (tagOf(value, "sessionUpdate") === "config_option_update" &&
|
|
666
|
+
zGuardSessionUpdateConfigOptionUpdate.safeParse(value).success);
|
|
667
|
+
},
|
|
668
|
+
/** Narrow to the `session_info_update` variant, validating its payload. */
|
|
669
|
+
isSessionInfoUpdate(value) {
|
|
670
|
+
return (tagOf(value, "sessionUpdate") === "session_info_update" &&
|
|
671
|
+
zGuardSessionUpdateSessionInfoUpdate.safeParse(value).success);
|
|
672
|
+
},
|
|
673
|
+
/** Narrow to the `usage_update` variant, validating its payload. */
|
|
674
|
+
isUsageUpdate(value) {
|
|
675
|
+
return (tagOf(value, "sessionUpdate") === "usage_update" &&
|
|
676
|
+
zGuardSessionUpdateUsageUpdate.safeParse(value).success);
|
|
677
|
+
},
|
|
678
|
+
/** Narrow to the `notice` variant, validating its payload. */
|
|
679
|
+
isNotice(value) {
|
|
680
|
+
return (tagOf(value, "sessionUpdate") === "notice" &&
|
|
681
|
+
zGuardSessionUpdateNotice.safeParse(value).success);
|
|
682
|
+
},
|
|
683
|
+
/** Narrow to the `compaction_update` variant, validating its payload. */
|
|
684
|
+
isCompactionUpdate(value) {
|
|
685
|
+
return (tagOf(value, "sessionUpdate") === "compaction_update" &&
|
|
686
|
+
zGuardSessionUpdateCompactionUpdate.safeParse(value).success);
|
|
687
|
+
},
|
|
688
|
+
/** Narrow to the `compaction_summary_chunk` variant, validating its payload. */
|
|
689
|
+
isCompactionSummaryChunk(value) {
|
|
690
|
+
return (tagOf(value, "sessionUpdate") === "compaction_summary_chunk" &&
|
|
691
|
+
zGuardSessionUpdateCompactionSummaryChunk.safeParse(value).success);
|
|
692
|
+
},
|
|
693
|
+
/**
|
|
694
|
+
* Narrow to a custom or future variant: the `sessionUpdate` tag matches no known variant.
|
|
695
|
+
*
|
|
696
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
697
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
698
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
699
|
+
*/
|
|
700
|
+
isCustom(value) {
|
|
701
|
+
const tag = tagOf(value, "sessionUpdate");
|
|
702
|
+
return (typeof tag === "string" &&
|
|
703
|
+
![
|
|
704
|
+
"agent_message",
|
|
705
|
+
"agent_message_chunk",
|
|
706
|
+
"agent_thought",
|
|
707
|
+
"agent_thought_chunk",
|
|
708
|
+
"available_commands_update",
|
|
709
|
+
"compaction_summary_chunk",
|
|
710
|
+
"compaction_update",
|
|
711
|
+
"config_option_update",
|
|
712
|
+
"notice",
|
|
713
|
+
"plan_removed",
|
|
714
|
+
"plan_update",
|
|
715
|
+
"session_info_update",
|
|
716
|
+
"state_update",
|
|
717
|
+
"terminal_output_chunk",
|
|
718
|
+
"terminal_update",
|
|
719
|
+
"tool_call_content_chunk",
|
|
720
|
+
"tool_call_update",
|
|
721
|
+
"usage_update",
|
|
722
|
+
"user_message",
|
|
723
|
+
"user_message_chunk",
|
|
724
|
+
].includes(tag));
|
|
725
|
+
},
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* Validated type guards for `StateUpdate`'s known variants.
|
|
729
|
+
*
|
|
730
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
731
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
732
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
733
|
+
* of classifying them as custom.
|
|
734
|
+
*
|
|
735
|
+
* Guards check the value as given: fields that wire deserialization
|
|
736
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
737
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
738
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
739
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
740
|
+
* parity matters.
|
|
741
|
+
*/
|
|
742
|
+
export const StateUpdate = {
|
|
743
|
+
/** Narrow to the `running` variant, validating its payload. */
|
|
744
|
+
isRunning(value) {
|
|
745
|
+
return (tagOf(value, "state") === "running" &&
|
|
746
|
+
zGuardStateUpdateRunning.safeParse(value).success);
|
|
747
|
+
},
|
|
748
|
+
/** Narrow to the `idle` variant, validating its payload. */
|
|
749
|
+
isIdle(value) {
|
|
750
|
+
return (tagOf(value, "state") === "idle" &&
|
|
751
|
+
zGuardStateUpdateIdle.safeParse(value).success);
|
|
752
|
+
},
|
|
753
|
+
/** Narrow to the `requires_action` variant, validating its payload. */
|
|
754
|
+
isRequiresAction(value) {
|
|
755
|
+
return (tagOf(value, "state") === "requires_action" &&
|
|
756
|
+
zGuardStateUpdateRequiresAction.safeParse(value).success);
|
|
757
|
+
},
|
|
758
|
+
/**
|
|
759
|
+
* Narrow to a custom or future variant: the `state` tag matches no known variant.
|
|
760
|
+
*
|
|
761
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
762
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
763
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
764
|
+
*/
|
|
765
|
+
isCustom(value) {
|
|
766
|
+
const tag = tagOf(value, "state");
|
|
767
|
+
return (typeof tag === "string" &&
|
|
768
|
+
!["idle", "requires_action", "running"].includes(tag));
|
|
769
|
+
},
|
|
770
|
+
};
|
|
771
|
+
/**
|
|
772
|
+
* Validated type guards for `PlanUpdateContent`'s known variants.
|
|
773
|
+
*
|
|
774
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
775
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
776
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
777
|
+
* of classifying them as custom.
|
|
778
|
+
*
|
|
779
|
+
* Guards check the value as given: fields that wire deserialization
|
|
780
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
781
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
782
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
783
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
784
|
+
* parity matters.
|
|
785
|
+
*/
|
|
786
|
+
export const PlanUpdateContent = {
|
|
787
|
+
/** Narrow to the `items` variant, validating its payload. */
|
|
788
|
+
isItems(value) {
|
|
789
|
+
return (tagOf(value, "type") === "items" &&
|
|
790
|
+
zGuardPlanUpdateContentItems.safeParse(value).success);
|
|
791
|
+
},
|
|
792
|
+
/** Narrow to the `file` variant, validating its payload. */
|
|
793
|
+
isFile(value) {
|
|
794
|
+
return (tagOf(value, "type") === "file" &&
|
|
795
|
+
zGuardPlanUpdateContentFile.safeParse(value).success);
|
|
796
|
+
},
|
|
797
|
+
/** Narrow to the `markdown` variant, validating its payload. */
|
|
798
|
+
isMarkdown(value) {
|
|
799
|
+
return (tagOf(value, "type") === "markdown" &&
|
|
800
|
+
zGuardPlanUpdateContentMarkdown.safeParse(value).success);
|
|
801
|
+
},
|
|
802
|
+
/**
|
|
803
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant, with a valid payload.
|
|
804
|
+
*
|
|
805
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
806
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
807
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
808
|
+
*/
|
|
809
|
+
isCustom(value) {
|
|
810
|
+
const tag = tagOf(value, "type");
|
|
811
|
+
return (typeof tag === "string" &&
|
|
812
|
+
!["file", "items", "markdown"].includes(tag) &&
|
|
813
|
+
zGuardPlanUpdateContentCustom.safeParse(value).success);
|
|
814
|
+
},
|
|
815
|
+
};
|
|
816
|
+
/**
|
|
817
|
+
* Validated type guards for `AvailableCommandInput`'s known variants.
|
|
818
|
+
*
|
|
819
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
820
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
821
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
822
|
+
* of classifying them as custom.
|
|
823
|
+
*
|
|
824
|
+
* Guards check the value as given: fields that wire deserialization
|
|
825
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
826
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
827
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
828
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
829
|
+
* parity matters.
|
|
830
|
+
*/
|
|
831
|
+
export const AvailableCommandInput = {
|
|
832
|
+
/** Narrow to the `text` variant, validating its payload. */
|
|
833
|
+
isText(value) {
|
|
834
|
+
return (tagOf(value, "type") === "text" &&
|
|
835
|
+
zGuardAvailableCommandInputText.safeParse(value).success);
|
|
836
|
+
},
|
|
837
|
+
/**
|
|
838
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
839
|
+
*
|
|
840
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
841
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
842
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
843
|
+
*/
|
|
844
|
+
isCustom(value) {
|
|
845
|
+
const tag = tagOf(value, "type");
|
|
846
|
+
return typeof tag === "string" && !["text"].includes(tag);
|
|
847
|
+
},
|
|
848
|
+
};
|
|
849
|
+
/**
|
|
850
|
+
* Validated type guards for `McpServer`'s known variants.
|
|
851
|
+
*
|
|
852
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
853
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
854
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
855
|
+
* of classifying them as custom.
|
|
856
|
+
*
|
|
857
|
+
* Guards check the value as given: fields that wire deserialization
|
|
858
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
859
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
860
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
861
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
862
|
+
* parity matters.
|
|
863
|
+
*/
|
|
864
|
+
export const McpServer = {
|
|
865
|
+
/** Narrow to the `http` variant, validating its payload. */
|
|
866
|
+
isHttp(value) {
|
|
867
|
+
return (tagOf(value, "type") === "http" &&
|
|
868
|
+
zGuardMcpServerHttp.safeParse(value).success);
|
|
869
|
+
},
|
|
870
|
+
/** Narrow to the `acp` variant, validating its payload. */
|
|
871
|
+
isAcp(value) {
|
|
872
|
+
return (tagOf(value, "type") === "acp" &&
|
|
873
|
+
zGuardMcpServerAcp.safeParse(value).success);
|
|
874
|
+
},
|
|
875
|
+
/** Narrow to the `stdio` variant, validating its payload. */
|
|
876
|
+
isStdio(value) {
|
|
877
|
+
return (tagOf(value, "type") === "stdio" &&
|
|
878
|
+
zGuardMcpServerStdio.safeParse(value).success);
|
|
879
|
+
},
|
|
880
|
+
/**
|
|
881
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
882
|
+
*
|
|
883
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
884
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
885
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
886
|
+
*/
|
|
887
|
+
isCustom(value) {
|
|
888
|
+
const tag = tagOf(value, "type");
|
|
889
|
+
return typeof tag === "string" && !["acp", "http", "stdio"].includes(tag);
|
|
890
|
+
},
|
|
891
|
+
};
|
|
892
|
+
/**
|
|
893
|
+
* Validated type guards for `ReplayFrom`'s known variants.
|
|
894
|
+
*
|
|
895
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
896
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
897
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
898
|
+
* of classifying them as custom.
|
|
899
|
+
*
|
|
900
|
+
* Guards check the value as given: fields that wire deserialization
|
|
901
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
902
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
903
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
904
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
905
|
+
* parity matters.
|
|
906
|
+
*/
|
|
907
|
+
export const ReplayFrom = {
|
|
908
|
+
/** Narrow to the `start` variant, validating its payload. */
|
|
909
|
+
isStart(value) {
|
|
910
|
+
return (tagOf(value, "type") === "start" &&
|
|
911
|
+
zGuardReplayFromStart.safeParse(value).success);
|
|
912
|
+
},
|
|
913
|
+
/**
|
|
914
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant.
|
|
915
|
+
*
|
|
916
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
917
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
918
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
919
|
+
*/
|
|
920
|
+
isCustom(value) {
|
|
921
|
+
const tag = tagOf(value, "type");
|
|
922
|
+
return typeof tag === "string" && !["start"].includes(tag);
|
|
923
|
+
},
|
|
924
|
+
};
|
|
925
|
+
/**
|
|
926
|
+
* Validated type guards for `SetSessionConfigOptionRequest`'s known variants.
|
|
927
|
+
*
|
|
928
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
929
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
930
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
931
|
+
* of classifying them as custom.
|
|
932
|
+
*
|
|
933
|
+
* Guards check the value as given: fields that wire deserialization
|
|
934
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
935
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
936
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
937
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
938
|
+
* parity matters.
|
|
939
|
+
*/
|
|
940
|
+
export const SetSessionConfigOptionRequest = {
|
|
941
|
+
/** Narrow to the `id` variant, validating its payload. */
|
|
942
|
+
isId(value) {
|
|
943
|
+
return (tagOf(value, "type") === "id" &&
|
|
944
|
+
zGuardSetSessionConfigOptionRequestId.safeParse(value).success);
|
|
945
|
+
},
|
|
946
|
+
/** Narrow to the `boolean` variant, validating its payload. */
|
|
947
|
+
isBoolean(value) {
|
|
948
|
+
return (tagOf(value, "type") === "boolean" &&
|
|
949
|
+
zGuardSetSessionConfigOptionRequestBoolean.safeParse(value).success);
|
|
950
|
+
},
|
|
951
|
+
/**
|
|
952
|
+
* Narrow to a custom or future variant: the `type` tag matches no known variant, with a valid payload.
|
|
953
|
+
*
|
|
954
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
955
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
956
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
957
|
+
*/
|
|
958
|
+
isCustom(value) {
|
|
959
|
+
const tag = tagOf(value, "type");
|
|
960
|
+
return (typeof tag === "string" &&
|
|
961
|
+
!["boolean", "id"].includes(tag) &&
|
|
962
|
+
zGuardSetSessionConfigOptionRequestCustom.safeParse(value).success);
|
|
963
|
+
},
|
|
964
|
+
};
|
|
965
|
+
/**
|
|
966
|
+
* Validated type guards for `RequestPermissionOutcome`'s known variants.
|
|
967
|
+
*
|
|
968
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
969
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
970
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
971
|
+
* of classifying them as custom.
|
|
972
|
+
*
|
|
973
|
+
* Guards check the value as given: fields that wire deserialization
|
|
974
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
975
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
976
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
977
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
978
|
+
* parity matters.
|
|
979
|
+
*/
|
|
980
|
+
export const RequestPermissionOutcome = {
|
|
981
|
+
/** Narrow to the `cancelled` variant, validating its payload. */
|
|
982
|
+
isCancelled(value) {
|
|
983
|
+
return (tagOf(value, "outcome") === "cancelled" &&
|
|
984
|
+
zGuardRequestPermissionOutcomeCancelled.safeParse(value).success);
|
|
985
|
+
},
|
|
986
|
+
/** Narrow to the `selected` variant, validating its payload. */
|
|
987
|
+
isSelected(value) {
|
|
988
|
+
return (tagOf(value, "outcome") === "selected" &&
|
|
989
|
+
zGuardRequestPermissionOutcomeSelected.safeParse(value).success);
|
|
990
|
+
},
|
|
991
|
+
/**
|
|
992
|
+
* Narrow to a custom or future variant: the `outcome` tag matches no known variant.
|
|
993
|
+
*
|
|
994
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
995
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
996
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
997
|
+
*/
|
|
998
|
+
isCustom(value) {
|
|
999
|
+
const tag = tagOf(value, "outcome");
|
|
1000
|
+
return typeof tag === "string" && !["cancelled", "selected"].includes(tag);
|
|
1001
|
+
},
|
|
1002
|
+
};
|
|
1003
|
+
/**
|
|
1004
|
+
* Validated type guards for `CreateElicitationResponse`'s known variants.
|
|
1005
|
+
*
|
|
1006
|
+
* Each guard validates the variant's payload, not just its discriminant
|
|
1007
|
+
* tag: a malformed known variant (right tag, wrong payload) matches no
|
|
1008
|
+
* guard — mirroring wire validation, which rejects such values instead
|
|
1009
|
+
* of classifying them as custom.
|
|
1010
|
+
*
|
|
1011
|
+
* Guards check the value as given: fields that wire deserialization
|
|
1012
|
+
* salvages to a default (e.g. a malformed `_meta`) are only normalized
|
|
1013
|
+
* by parsing, and for ambiguous raw shapes (a known tag combined with
|
|
1014
|
+
* another variant's payload) guards are conservative where wire parsing
|
|
1015
|
+
* may still accept the value — narrow wire-parsed values when exact
|
|
1016
|
+
* parity matters.
|
|
1017
|
+
*/
|
|
1018
|
+
export const CreateElicitationResponse = {
|
|
1019
|
+
/** Narrow to the `accept` variant, validating its payload. */
|
|
1020
|
+
isAccept(value) {
|
|
1021
|
+
return (tagOf(value, "action") === "accept" &&
|
|
1022
|
+
zGuardCreateElicitationResponseAccept.safeParse(value).success);
|
|
1023
|
+
},
|
|
1024
|
+
/** Narrow to the `decline` variant, validating its payload. */
|
|
1025
|
+
isDecline(value) {
|
|
1026
|
+
return (tagOf(value, "action") === "decline" &&
|
|
1027
|
+
zGuardCreateElicitationResponseDecline.safeParse(value).success);
|
|
1028
|
+
},
|
|
1029
|
+
/** Narrow to the `cancel` variant, validating its payload. */
|
|
1030
|
+
isCancel(value) {
|
|
1031
|
+
return (tagOf(value, "action") === "cancel" &&
|
|
1032
|
+
zGuardCreateElicitationResponseCancel.safeParse(value).success);
|
|
1033
|
+
},
|
|
1034
|
+
/**
|
|
1035
|
+
* Narrow to a custom or future variant: the `action` tag matches no known variant.
|
|
1036
|
+
*
|
|
1037
|
+
* TypeScript keeps the known variants in the narrowed union (they are
|
|
1038
|
+
* structural subtypes of the catch-all), so read vendor payload keys
|
|
1039
|
+
* via a widening cast: `(value as Record<string, unknown>).someKey`.
|
|
1040
|
+
*/
|
|
1041
|
+
isCustom(value) {
|
|
1042
|
+
const tag = tagOf(value, "action");
|
|
1043
|
+
return (typeof tag === "string" && !["accept", "cancel", "decline"].includes(tag));
|
|
1044
|
+
},
|
|
1045
|
+
};
|
|
1046
|
+
//# sourceMappingURL=guards.gen.js.map
|