deadbyte-mcp 0.8.7
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/DEADBYTE-MCP-R27-FINAL/R27-ADMIN-CLOSURE.json +22 -0
- package/DEADBYTE-MCP-R27-FINAL/R27-CLEANUP-FINAL-RECEIPT.json +24 -0
- package/DEADBYTE-MCP-R27-FINAL/R27-FINAL-CLOSURE.json +188 -0
- package/DEADBYTE-MCP-R27-FINAL/R27-SLOT-UPDATE-RECEIPT.json +109 -0
- package/DEADBYTE-MCP.cmd +4 -0
- package/MANIFEST.SHA256 +1389 -0
- package/README.txt +260 -0
- package/bin/WORKER-REGISTRY.txt +12 -0
- package/bin/appcontainer-stage.exe +0 -0
- package/bin/appcontainer-stage.obj +0 -0
- package/bin/bootstrap-advapi32.exe +0 -0
- package/bin/bootstrap-advapi32.obj +0 -0
- package/bin/bootstrap-exitcode.exe +0 -0
- package/bin/bootstrap-exitcode.obj +0 -0
- package/bin/bootstrap-kernel32.exe +0 -0
- package/bin/bootstrap-kernel32.obj +0 -0
- package/bin/child-control-probe.exe +0 -0
- package/bin/child-control-probe.obj +0 -0
- package/bin/child-control-stage.exe +0 -0
- package/bin/child-control-stage.obj +0 -0
- package/bin/contained-reverse-worker.exe +0 -0
- package/bin/contained-reverse-worker.obj +0 -0
- package/bin/contained-transform-worker.exe +0 -0
- package/bin/contained-transform-worker.obj +0 -0
- package/bin/containment-probe.exe +0 -0
- package/bin/containment-probe.obj +0 -0
- package/bin/deadbyte-contain.exe +0 -0
- package/bin/deadbyte-contain.obj +0 -0
- package/bin/deadbyte-exec.exe +0 -0
- package/bin/deadbyte-exec.obj +0 -0
- package/bin/deadbyte-process-host.exe +0 -0
- package/bin/deadbyte-process-host.obj +0 -0
- package/bin/deadbyte-tunnel-host.exe +0 -0
- package/bin/deadbyte-tunnel-host.obj +0 -0
- package/conpty-input-observer.obj +0 -0
- package/controller/DEADBYTE-MCP.cmd +5 -0
- package/controller/README.TXT +127 -0
- package/controller/deadbyte-controller.config.psd1.example +60 -0
- package/controller/deadbyte-controller.ps1 +1090 -0
- package/controller/deadbyte-host-policy.json.example +33 -0
- package/controller/deadbyte-process-policy.json +47 -0
- package/docs/ARCHITECTURE.md +168 -0
- package/docs/AUTHORITY.md +56 -0
- package/docs/CHILD-CONTROL.md +31 -0
- package/docs/CONSTRUCTION-LADDER.md +84 -0
- package/docs/CONTAINMENT.md +92 -0
- package/docs/EXECUTION.md +330 -0
- package/docs/NETWORK.md +64 -0
- package/docs/R221-STRICT-OUTPUT-CONTRACT.md +24 -0
- package/docs/REFERENCES.txt +117 -0
- package/docs/TRUST.md +46 -0
- package/docs/V070-HARDENING.md +48 -0
- package/docs/V071-HOST-PLANE.md +113 -0
- package/docs/V073-TUNNEL-STDIO-COMPAT.md +37 -0
- package/docs/V080-AGENT-RUNTIME.md +101 -0
- package/docs/V080-R23-CODING-AGENT.md +50 -0
- package/docs/V080-R24-AUTONOMOUS-PRODUCTION.md +74 -0
- package/docs/V081-R25-MANUS-CONTROL-SEMANTICS.md +145 -0
- package/docs/V082-R26-RUNTIME-SELF-UPDATE.md +86 -0
- package/docs/V083-R27-IMMUTABLE-RELEASE-SLOTS.md +55 -0
- package/docs/V084-R28-PERSISTENT-NAMED-TUNNEL.md +57 -0
- package/docs/V085-R29-MACHINE-IDENTITY.md +99 -0
- package/docs/superpowers/plans/2026-09-14-r30-process-plane.md +178 -0
- package/docs/superpowers/plans/2026-09-14-r31-process-prerequisite.md +132 -0
- package/docs/superpowers/plans/2026-09-15-r33-audit-chain-npx.md +132 -0
- package/docs/superpowers/specs/2026-09-14-r30-r33-machine-control-design.md +214 -0
- package/docs/superpowers/specs/2026-09-14-r31-r33-final-baseline-successor-design.md +133 -0
- package/docs/superpowers/specs/2026-09-15-r33-audit-chain-npx-design.md +145 -0
- package/mcp-server.mjs +1 -0
- package/miniconpty.obj +0 -0
- package/native/appcontainer-stage.cpp +353 -0
- package/native/bootstrap-advapi32.cpp +70 -0
- package/native/bootstrap-exitcode.cpp +6 -0
- package/native/bootstrap-kernel32.cpp +47 -0
- package/native/child-control-probe.cpp +67 -0
- package/native/child-control-stage.cpp +347 -0
- package/native/contained-network-proof.h +118 -0
- package/native/contained-reverse-worker.cpp +299 -0
- package/native/contained-transform-worker.cpp +312 -0
- package/native/containment-probe.cpp +269 -0
- package/native/deadbyte-contain.cpp +625 -0
- package/native/deadbyte-exec.cpp +966 -0
- package/native/deadbyte-process-host.cpp +340 -0
- package/native/deadbyte-tunnel-host.cpp +109 -0
- package/node_modules/@modelcontextprotocol/client/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/client/README.md +26 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-1b6pVpkg.cjs +7531 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-1b6pVpkg.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-97rDpkRx.mjs +7514 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-97rDpkRx.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-INpkxUi1.d.mts +1071 -0
- package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-INpkxUi1.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3ZJEoRM.d.mts +74 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3ZJEoRM.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3dvjU3F.cjs +986 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-B3dvjU3F.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-BylNJ1R5.mjs +981 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-BylNJ1R5.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
- package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/chunk-Bnu9O96Y.cjs +60 -0
- package/node_modules/@modelcontextprotocol/client/dist/chunk-Br0eD_fh.mjs +42 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BGO_ZrYF.cjs +46 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BGO_ZrYF.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BOhdv1Fc.mjs +34 -0
- package/node_modules/@modelcontextprotocol/client/dist/dialects-BOhdv1Fc.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts +2526 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-CHhhk6PQ.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts +2523 -0
- package/node_modules/@modelcontextprotocol/client/dist/index-D4xIIEF6.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs +5690 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.cts +3252 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.mts +3252 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs +5481 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs +14 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs +14 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +21 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts +13 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +20 -0
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs +7063 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs +7431 -0
- package/node_modules/@modelcontextprotocol/client/dist/src-NAgB4Mp8.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +217 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts +96 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts +96 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +212 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts +1099 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-mS0yxCL0.d.mts +1099 -0
- package/node_modules/@modelcontextprotocol/client/dist/types-mS0yxCL0.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.cjs +5 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.mjs +3 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.cjs +3 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.mjs +3 -0
- package/node_modules/@modelcontextprotocol/client/package.json +166 -0
- package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/core/README.md +40 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts +8501 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BWdKR39I.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs +1678 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CUe6YdwF.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs +2899 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-CfDMXiII.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts +8501 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-hYtaIUZm.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/package.json +85 -0
- package/node_modules/@modelcontextprotocol/server/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/server/README.md +30 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs +7514 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs +7531 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs +986 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs +981 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Bnu9O96Y.cjs +60 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs +42 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts +4043 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CLhGwQTn.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts +4045 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-dBHMsxwf.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs +46 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs +34 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs +2055 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +739 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +739 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs +1870 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs +2022 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-D7GmuPnv.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs +1931 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DXXb3Vv3.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs +23 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs +22 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.cjs +12 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.cts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.mts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs +4 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +30 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +29 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs +7606 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-CX2iR2pK.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs +8104 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-STyD_Vvf.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +564 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +107 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +107 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +562 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.cjs +5 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.cjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/package.json +160 -0
- package/node_modules/cross-spawn/LICENSE +21 -0
- package/node_modules/cross-spawn/README.md +89 -0
- package/node_modules/cross-spawn/index.js +39 -0
- package/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/node_modules/cross-spawn/lib/parse.js +91 -0
- package/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/node_modules/cross-spawn/package.json +73 -0
- package/node_modules/eventsource/LICENSE +22 -0
- package/node_modules/eventsource/README.md +167 -0
- package/node_modules/eventsource/dist/index.cjs +273 -0
- package/node_modules/eventsource/dist/index.cjs.map +1 -0
- package/node_modules/eventsource/dist/index.d.cts +332 -0
- package/node_modules/eventsource/dist/index.d.ts +332 -0
- package/node_modules/eventsource/dist/index.js +273 -0
- package/node_modules/eventsource/dist/index.js.map +1 -0
- package/node_modules/eventsource/package.json +130 -0
- package/node_modules/eventsource/src/EventSource.ts +596 -0
- package/node_modules/eventsource/src/errors.ts +141 -0
- package/node_modules/eventsource/src/index.ts +3 -0
- package/node_modules/eventsource/src/types.ts +152 -0
- package/node_modules/eventsource-parser/LICENSE +21 -0
- package/node_modules/eventsource-parser/README.md +157 -0
- package/node_modules/eventsource-parser/dist/index.cjs +177 -0
- package/node_modules/eventsource-parser/dist/index.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/index.d.cts +169 -0
- package/node_modules/eventsource-parser/dist/index.d.ts +169 -0
- package/node_modules/eventsource-parser/dist/index.js +177 -0
- package/node_modules/eventsource-parser/dist/index.js.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.cjs +29 -0
- package/node_modules/eventsource-parser/dist/stream.cjs.map +1 -0
- package/node_modules/eventsource-parser/dist/stream.d.cts +134 -0
- package/node_modules/eventsource-parser/dist/stream.d.ts +134 -0
- package/node_modules/eventsource-parser/dist/stream.js +30 -0
- package/node_modules/eventsource-parser/dist/stream.js.map +1 -0
- package/node_modules/eventsource-parser/package.json +92 -0
- package/node_modules/eventsource-parser/src/errors.ts +44 -0
- package/node_modules/eventsource-parser/src/index.ts +8 -0
- package/node_modules/eventsource-parser/src/parse.ts +439 -0
- package/node_modules/eventsource-parser/src/stream.ts +107 -0
- package/node_modules/eventsource-parser/src/types.ts +122 -0
- package/node_modules/eventsource-parser/stream.js +2 -0
- package/node_modules/isexe/.npmignore +2 -0
- package/node_modules/isexe/LICENSE +15 -0
- package/node_modules/isexe/README.md +51 -0
- package/node_modules/isexe/index.js +57 -0
- package/node_modules/isexe/mode.js +41 -0
- package/node_modules/isexe/package.json +31 -0
- package/node_modules/isexe/test/basic.js +221 -0
- package/node_modules/isexe/windows.js +42 -0
- package/node_modules/jose/LICENSE.md +21 -0
- package/node_modules/jose/README.md +150 -0
- package/node_modules/jose/dist/types/index.d.ts +56 -0
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +37 -0
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +54 -0
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +37 -0
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +72 -0
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +43 -0
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +74 -0
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +13 -0
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +17 -0
- package/node_modules/jose/dist/types/jwks/local.d.ts +20 -0
- package/node_modules/jose/dist/types/jwks/remote.d.ts +106 -0
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +25 -0
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +37 -0
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +31 -0
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +37 -0
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +52 -0
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +44 -0
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +41 -0
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +62 -0
- package/node_modules/jose/dist/types/jwt/sign.d.ts +26 -0
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +28 -0
- package/node_modules/jose/dist/types/jwt/verify.d.ts +38 -0
- package/node_modules/jose/dist/types/key/export.d.ts +19 -0
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +40 -0
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +37 -0
- package/node_modules/jose/dist/types/key/import.d.ts +73 -0
- package/node_modules/jose/dist/types/types.d.ts +871 -0
- package/node_modules/jose/dist/types/util/base64url.d.ts +16 -0
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +10 -0
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +9 -0
- package/node_modules/jose/dist/types/util/errors.d.ts +220 -0
- package/node_modules/jose/dist/webapi/index.js +32 -0
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +9 -0
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +49 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +15 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +65 -0
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +51 -0
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +177 -0
- package/node_modules/jose/dist/webapi/jwk/embedded.js +33 -0
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +74 -0
- package/node_modules/jose/dist/webapi/jwks/local.js +70 -0
- package/node_modules/jose/dist/webapi/jwks/remote.js +149 -0
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +22 -0
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +9 -0
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +32 -0
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +25 -0
- package/node_modules/jose/dist/webapi/jws/general/sign.js +76 -0
- package/node_modules/jose/dist/webapi/jws/general/verify.js +74 -0
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +21 -0
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +72 -0
- package/node_modules/jose/dist/webapi/jwt/sign.js +18 -0
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +43 -0
- package/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
- package/node_modules/jose/dist/webapi/key/export.js +44 -0
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +52 -0
- package/node_modules/jose/dist/webapi/key/generate_secret.js +41 -0
- package/node_modules/jose/dist/webapi/key/import.js +61 -0
- package/node_modules/jose/dist/webapi/lib/asn1.js +179 -0
- package/node_modules/jose/dist/webapi/lib/base64.js +22 -0
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +44 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +134 -0
- package/node_modules/jose/dist/webapi/lib/crypto_key.js +28 -0
- package/node_modules/jose/dist/webapi/lib/deflate.js +52 -0
- package/node_modules/jose/dist/webapi/lib/helpers.js +42 -0
- package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +26 -0
- package/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +107 -0
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +243 -0
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +142 -0
- package/node_modules/jose/dist/webapi/lib/jwk_metadata.js +20 -0
- package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +17 -0
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +73 -0
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +85 -0
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +139 -0
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +232 -0
- package/node_modules/jose/dist/webapi/lib/key.js +147 -0
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +10 -0
- package/node_modules/jose/dist/webapi/lib/key_descriptor.js +7 -0
- package/node_modules/jose/dist/webapi/lib/key_management.js +262 -0
- package/node_modules/jose/dist/webapi/lib/key_options.js +6 -0
- package/node_modules/jose/dist/webapi/lib/options.js +74 -0
- package/node_modules/jose/dist/webapi/lib/signing.js +26 -0
- package/node_modules/jose/dist/webapi/lib/type_checks.js +33 -0
- package/node_modules/jose/dist/webapi/util/base64url.js +39 -0
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +24 -0
- package/node_modules/jose/dist/webapi/util/errors.js +99 -0
- package/node_modules/jose/package.json +198 -0
- package/node_modules/path-key/index.d.ts +40 -0
- package/node_modules/path-key/index.js +16 -0
- package/node_modules/path-key/license +9 -0
- package/node_modules/path-key/package.json +39 -0
- package/node_modules/path-key/readme.md +61 -0
- package/node_modules/pkce-challenge/CHANGELOG.md +114 -0
- package/node_modules/pkce-challenge/LICENSE +21 -0
- package/node_modules/pkce-challenge/README.md +55 -0
- package/node_modules/pkce-challenge/dist/index.browser.d.ts +19 -0
- package/node_modules/pkce-challenge/dist/index.browser.js +75 -0
- package/node_modules/pkce-challenge/dist/index.node.cjs +83 -0
- package/node_modules/pkce-challenge/dist/index.node.d.cts +19 -0
- package/node_modules/pkce-challenge/dist/index.node.d.ts +19 -0
- package/node_modules/pkce-challenge/dist/index.node.js +78 -0
- package/node_modules/pkce-challenge/package.json +59 -0
- package/node_modules/shebang-command/index.js +19 -0
- package/node_modules/shebang-command/license +9 -0
- package/node_modules/shebang-command/package.json +34 -0
- package/node_modules/shebang-command/readme.md +34 -0
- package/node_modules/shebang-regex/index.d.ts +22 -0
- package/node_modules/shebang-regex/index.js +2 -0
- package/node_modules/shebang-regex/license +9 -0
- package/node_modules/shebang-regex/package.json +35 -0
- package/node_modules/shebang-regex/readme.md +33 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +54 -0
- package/node_modules/which/bin/node-which +52 -0
- package/node_modules/which/package.json +43 -0
- package/node_modules/which/which.js +125 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/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 +551 -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 +110 -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 +207 -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 +434 -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 +194 -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 +916 -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 +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -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 +59 -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 +216 -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 +54 -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 +326 -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 +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -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/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -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 +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -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 +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -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 +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -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 +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -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 +330 -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 +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -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 +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -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/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -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 +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -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 +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -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 +3125 -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 +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -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 +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -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 +215 -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 +181 -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/ru.test.ts +128 -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/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/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -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 +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -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 +325 -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 +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -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 +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -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 +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -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 +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -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 +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -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 +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -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 +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -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 +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +68 -0
- package/proof/CONTAINMENT-BUILD.txt +163 -0
- package/proof/MCP-SMOKE-STATUS.txt +9 -0
- package/proof/NODE-SYNTAX.txt +4 -0
- package/proof/PROOF.txt +6 -0
- package/proof/SECRET-SCAN.txt +4 -0
- package/proof/SOURCE-GATES.txt +16 -0
- package/proof/STATUS.txt +11 -0
- package/proof/TARGET-V0313-CONTAINMENT-PASS.sha256 +1 -0
- package/proof/TARGET-V0313-CONTAINMENT-PASS.txt +215 -0
- package/proof/TARGET-V040-CONTAINED-IPC-FAIL.sha256 +1 -0
- package/proof/TARGET-V040-CONTAINED-IPC-FAIL.txt +299 -0
- package/proof/TARGET-V041-CONTAINED-CREATEPROCESS-203.sha256 +1 -0
- package/proof/TARGET-V041-CONTAINED-CREATEPROCESS-203.txt +311 -0
- package/proof/TARGET-V042-CONTAINED-CREATEPROCESS-203.sha256 +1 -0
- package/proof/TARGET-V042-CONTAINED-CREATEPROCESS-203.txt +313 -0
- package/proof/TARGET-V043-CONTAINED-CREATEPROCESS-203.sha256 +1 -0
- package/proof/TARGET-V043-CONTAINED-CREATEPROCESS-203.txt +308 -0
- package/proof/TARGET-V044-CONTAINED-PASS.sha256 +1 -0
- package/proof/TARGET-V044-CONTAINED-PASS.txt +432 -0
- package/proof/TARGET-V045-DUAL-OPERATION-PASS.sha256 +1 -0
- package/proof/TARGET-V045-DUAL-OPERATION-PASS.txt +481 -0
- package/proof/TARGET-V046-FIXED-EXECUTABLE-REGISTRY-PASS.sha256 +1 -0
- package/proof/TARGET-V046-FIXED-EXECUTABLE-REGISTRY-PASS.txt +610 -0
- package/proof/TARGET-V047-RUNTIME-MANIFEST-PASS.sha256 +1 -0
- package/proof/TARGET-V047-RUNTIME-MANIFEST-PASS.txt +642 -0
- package/proof/TARGET-V050-BATCH-GATE-PASS.sha256 +1 -0
- package/proof/TARGET-V050-BATCH-GATE-PASS.txt +713 -0
- package/proof/TESTS.txt +686 -0
- package/proof/TRUST-EPHEMERAL.txt +4 -0
- package/proof/V03-FREEZE.txt +27 -0
- package/proof/V041-IPC-HOTFIX.txt +16 -0
- package/proof/V042-ENV-HOTFIX.txt +15 -0
- package/proof/V043-DRIVE-CWD-HOTFIX.txt +14 -0
- package/proof/V044-LOCALAPPDATA-HOTFIX.txt +18 -0
- package/proof/V045-OPERATION-REGISTRY.txt +7 -0
- package/proof/V046-WORKER-REGISTRY.txt +12 -0
- package/proof/V047-WORKER-MANIFEST.txt +18 -0
- package/proof/V050-BATCH-TRUST-CLOSURE.txt +21 -0
- package/proof/V060-ACTIVE-NETWORK-AUTHORITY.txt +29 -0
- package/proof/V070-NODE-SYNTAX.txt +36 -0
- package/proof/V070-NODE-TESTS.txt +752 -0
- package/proof/V070-PACK-DRY-RUN.txt +126 -0
- package/proof/V070-SOURCE-GATE.txt +30 -0
- package/proof/V070-STATIC-SCAN.txt +4 -0
- package/proof/V070-WINDOWS-GATE-PENDING.txt +25 -0
- package/proof/V071-NODE-SYNTAX.txt +1 -0
- package/proof/V071-NODE-TESTS.txt +796 -0
- package/proof/V071-PACK-DRY-RUN.json +656 -0
- package/proof/V071-SOURCE-GATE.txt +16 -0
- package/proof/V071-WINDOWS-GATE-PENDING.txt +24 -0
- package/proof/V073-NODE-SYNTAX.txt +4 -0
- package/proof/V073-SOURCE-GATE.txt +21 -0
- package/proof/V073-STATIC-SCAN.txt +10 -0
- package/proof/V073-WINDOWS-GATE-PENDING.txt +5 -0
- package/proof/VERIFY.txt +7 -0
- package/proof/WINDOWS-CONTAINED-STATUS.txt +5 -0
- package/proof/WINDOWS-CONTAINMENT-STATUS.txt +3 -0
- package/scripts/autonomous-benchmark.mjs +12 -0
- package/scripts/autonomous-build.ps1 +20 -0
- package/scripts/autonomous-tests.ps1 +9 -0
- package/scripts/build-containment.ps1 +279 -0
- package/scripts/coding-live-smoke.mjs +5 -0
- package/scripts/deferred-slot-operation.mjs +84 -0
- package/scripts/final-closure-verify.mjs +159 -0
- package/scripts/final-closure.mjs +106 -0
- package/scripts/gate-windows.ps1 +42 -0
- package/scripts/init-host-policy.ps1 +121 -0
- package/scripts/refresh-process-policy.mjs +68 -0
- package/scripts/release-manifest.mjs +187 -0
- package/scripts/release-parity.mjs +190 -0
- package/scripts/runtime-self-update.mjs +15 -0
- package/scripts/windows-gate-evidence.mjs +52 -0
- package/src/agent-mcp-tools.mjs +158 -0
- package/src/agent-runtime.mjs +874 -0
- package/src/audit-context.mjs +73 -0
- package/src/audit-verify.mjs +93 -0
- package/src/authority-smoke.mjs +117 -0
- package/src/autonomous-mcp-tools.mjs +118 -0
- package/src/autonomous-output-contracts.mjs +125 -0
- package/src/autonomous-planner-contracts.mjs +73 -0
- package/src/autonomous-planner.mjs +290 -0
- package/src/autonomous-policy.mjs +146 -0
- package/src/autonomous-runtime.mjs +993 -0
- package/src/autonomous-supervisor.mjs +86 -0
- package/src/canonical-json.mjs +17 -0
- package/src/coding-mcp-tools.mjs +143 -0
- package/src/coding-output-contracts.mjs +189 -0
- package/src/coding-plane.mjs +657 -0
- package/src/coding-search.mjs +55 -0
- package/src/coding-task-runtime.mjs +725 -0
- package/src/contained-cli.mjs +30 -0
- package/src/contained-executor.mjs +276 -0
- package/src/contained-result.mjs +149 -0
- package/src/contained-smoke.mjs +101 -0
- package/src/containment-bootstrap.mjs +94 -0
- package/src/containment-child-control.mjs +109 -0
- package/src/containment-construction.mjs +107 -0
- package/src/containment-result.mjs +87 -0
- package/src/containment-smoke.mjs +71 -0
- package/src/deadbyte-cli.mjs +55 -0
- package/src/executor.mjs +158 -0
- package/src/hash.mjs +17 -0
- package/src/host-plane.mjs +423 -0
- package/src/ingress-mode.mjs +22 -0
- package/src/invocation.mjs +34 -0
- package/src/machine-fs-mcp-tools.mjs +80 -0
- package/src/machine-fs-output-contracts.mjs +67 -0
- package/src/machine-fs-smoke-client.mjs +134 -0
- package/src/machine-fs.mjs +475 -0
- package/src/machine-identity.mjs +275 -0
- package/src/machine-mcp-tools.mjs +43 -0
- package/src/machine-output-contracts.mjs +58 -0
- package/src/mcp-contained-smoke-client.mjs +139 -0
- package/src/mcp-host-smoke-client.mjs +136 -0
- package/src/mcp-server.mjs +419 -0
- package/src/mcp-smoke-client.mjs +136 -0
- package/src/native-diff.mjs +403 -0
- package/src/observation-mcp-tools.mjs +44 -0
- package/src/observation-output-contracts.mjs +50 -0
- package/src/observation-runtime.mjs +257 -0
- package/src/observation-smoke-client.mjs +97 -0
- package/src/operation-policy.mjs +19 -0
- package/src/output-contracts.mjs +252 -0
- package/src/path-policy.mjs +91 -0
- package/src/process-mcp-tools.mjs +72 -0
- package/src/process-output-contracts.mjs +79 -0
- package/src/process-policy.mjs +150 -0
- package/src/process-runtime.mjs +297 -0
- package/src/process-smoke-client.mjs +124 -0
- package/src/proof-cli.mjs +23 -0
- package/src/proof-worker.mjs +11 -0
- package/src/receipt.mjs +111 -0
- package/src/release-generation.mjs +233 -0
- package/src/release-slot.mjs +293 -0
- package/src/remote-mcp-autonomous-smoke-client.mjs +138 -0
- package/src/remote-mcp-coding-smoke-client.mjs +111 -0
- package/src/remote-mcp-host-smoke-client.mjs +84 -0
- package/src/remote-mcp-machine-smoke-client.mjs +66 -0
- package/src/remote-mcp-r24-disarmed-smoke-client.mjs +38 -0
- package/src/remote-mcp-r33-parity-client.mjs +177 -0
- package/src/remote-mcp-smoke-client.mjs +162 -0
- package/src/request-identity.mjs +63 -0
- package/src/runtime-identity.mjs +33 -0
- package/src/runtime-update.mjs +961 -0
- package/src/text-policy.mjs +9 -0
- package/src/tool-audit.mjs +261 -0
- package/src/trust-init.mjs +21 -0
- package/src/trust.mjs +82 -0
- package/src/tunnel-stdio-compat-smoke.mjs +142 -0
- package/src/tunnel-stdio-compat.mjs +126 -0
- package/src/verifier-cli.mjs +13 -0
- package/src/verifier.mjs +333 -0
- package/src/version.mjs +6 -0
- package/src/worker-registry.mjs +108 -0
- package/test/DEADBYTE-MCP-WRITE-PROBE.txt +5 -0
- package/test/agent-crash-child.mjs +25 -0
- package/test/agent-crash-worker.mjs +19 -0
- package/test/agent-runtime-adversarial.test.mjs +228 -0
- package/test/agent-runtime-crash.test.mjs +76 -0
- package/test/agent-runtime.test.mjs +124 -0
- package/test/agent-task-receipt.test.mjs +73 -0
- package/test/audit-context.test.mjs +50 -0
- package/test/audit-server-integration.test.mjs +30 -0
- package/test/audit-verify.test.mjs +32 -0
- package/test/autonomous-adversarial.test.mjs +329 -0
- package/test/autonomous-live-fixture.test.mjs +10 -0
- package/test/autonomous-loop.test.mjs +188 -0
- package/test/autonomous-output-contract.test.mjs +24 -0
- package/test/autonomous-runtime.test.mjs +93 -0
- package/test/autonomous-supervisor-integration.test.mjs +106 -0
- package/test/cli-entrypoint.test.mjs +34 -0
- package/test/coding-crash.test.mjs +74 -0
- package/test/coding-observation.test.mjs +62 -0
- package/test/coding-plane-adversarial.test.mjs +130 -0
- package/test/coding-plane.test.mjs +93 -0
- package/test/coding-runtime.test.mjs +165 -0
- package/test/contained.test.mjs +931 -0
- package/test/containment.test.mjs +557 -0
- package/test/controller-r21.test.mjs +28 -0
- package/test/controller-r211.test.mjs +21 -0
- package/test/controller-r212.test.mjs +31 -0
- package/test/controller-r24-dns.test.mjs +14 -0
- package/test/controller-r24.test.mjs +32 -0
- package/test/controller-r27.test.mjs +56 -0
- package/test/controller-r29.test.mjs +25 -0
- package/test/controller-r30.test.mjs +30 -0
- package/test/controller.test.mjs +165 -0
- package/test/core.test.mjs +305 -0
- package/test/deferred-slot-operation-behavior.test.mjs +29 -0
- package/test/deferred-slot-operation.test.mjs +18 -0
- package/test/helpers/coding-crash-child.mjs +22 -0
- package/test/host-plane.test.mjs +129 -0
- package/test/machine-fs-mcp-tools.test.mjs +46 -0
- package/test/machine-fs-runtime.test.mjs +105 -0
- package/test/machine-identity.test.mjs +131 -0
- package/test/machine-mcp-integration.test.mjs +88 -0
- package/test/machine-mcp-tools.test.mjs +77 -0
- package/test/mcp-contained-smoke-isolation.test.mjs +14 -0
- package/test/named-tunnel-host.test.mjs +27 -0
- package/test/native-diff.test.mjs +102 -0
- package/test/observation-integration.test.mjs +56 -0
- package/test/observation-mcp-tools.test.mjs +40 -0
- package/test/observation-runtime.test.mjs +123 -0
- package/test/output-schema.test.mjs +86 -0
- package/test/package-boundary.test.mjs +38 -0
- package/test/process-mcp-tools.test.mjs +71 -0
- package/test/process-native.test.mjs +78 -0
- package/test/process-policy-refresh.test.mjs +64 -0
- package/test/process-policy.test.mjs +118 -0
- package/test/process-release-gate.test.mjs +41 -0
- package/test/process-runtime.test.mjs +184 -0
- package/test/process-supervision.test.mjs +24 -0
- package/test/r33-closeout-regression.test.mjs +109 -0
- package/test/r33-finalization.test.mjs +67 -0
- package/test/release-generation.test.mjs +116 -0
- package/test/release-manifest-windows.test.mjs +89 -0
- package/test/release-slot.test.mjs +122 -0
- package/test/release-smoke-isolation.test.mjs +22 -0
- package/test/release-version.test.mjs +35 -0
- package/test/remote-r24-catalog.test.mjs +75 -0
- package/test/runtime-self-update.test.mjs +280 -0
- package/test/standing-grants.test.mjs +77 -0
- package/test/tool-audit.test.mjs +134 -0
- package/test/tunnel-stdio-compat.test.mjs +163 -0
- package/workspaces/autonomous-live/fixture.txt +1 -0
- package/workspaces/demo/input.txt +1 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# DEADBYTE MCP V0.8.4 / R28 — Persistent Named Tunnel
|
|
2
|
+
|
|
3
|
+
R28 changes the production transport binding, not MCP capability semantics. Quick Tunnel hostnames are not production identity because they are ephemeral and force the ChatGPT MCP registration to drift. R28 binds the public endpoint to a Cloudflare remotely-managed Named Tunnel and keeps both the MCP path token and Cloudflare tunnel credential outside immutable package bytes.
|
|
4
|
+
|
|
5
|
+
## Production contract
|
|
6
|
+
|
|
7
|
+
The immutable release ships `bin/deadbyte-tunnel-host.exe`. The host accepts exactly three values: the pinned `cloudflared.exe`, an external tunnel-token file, and one real working directory. It fixes the local origin to `http://127.0.0.1:8787` and directly launches `cloudflared tunnel --no-autoupdate --loglevel info run --token-file <file>`.
|
|
8
|
+
|
|
9
|
+
The generated controller configuration binds two transport dependencies by absolute path and SHA-256:
|
|
10
|
+
|
|
11
|
+
- `cloudflared.exe`
|
|
12
|
+
- the external tunnel-token file
|
|
13
|
+
|
|
14
|
+
The operator also supplies one persistent HTTPS origin during v2 activation. The updater combines that origin with the external MCP path token, atomically writes the resulting full endpoint to `%USERPROFILE%\.deadbyte-mcp\bridge\mcp-url.txt`, and binds that file's SHA-256 into the generation identity. A `*.trycloudflare.com` origin is rejected for v2.
|
|
15
|
+
|
|
16
|
+
The token bytes are secret state. They are never package contents, release-slot contents, receipt output, or user-visible status. The generation stores only external file paths and SHA-256 pins; it does not embed either secret token value.
|
|
17
|
+
|
|
18
|
+
The controller verifies the transport dependency pins before start, records them in the owned-process ledger, and re-verifies them during status observation. It also re-hashes the stable MCP URL file before use. Dependency or endpoint-file drift is a provenance conflict, not a healthy runtime.
|
|
19
|
+
|
|
20
|
+
## Why this shape
|
|
21
|
+
|
|
22
|
+
The tunnel host is inside the content-addressed release slot so restore can reconstruct the production launcher from release bytes. Machine-specific cloudflared and token-file paths/hashes remain generation inputs instead of source constants. This keeps source portable while making the active machine binding exact.
|
|
23
|
+
Wrangler is not in the production runtime chain. It may be used only as an operator/control-plane bootstrap tool for tunnel management or credential retrieval. The long-lived transport must not depend on Wrangler OAuth refresh state, cached Wrangler-downloaded cloudflared binaries, or an experimental `wrangler tunnel run` process.
|
|
24
|
+
|
|
25
|
+
The host joins itself to a Windows Job Object with `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` before spawning the exact pinned cloudflared executable. The child inherits the Job, so stopping the verified host tears down the tunnel process tree.
|
|
26
|
+
|
|
27
|
+
## When not to use this
|
|
28
|
+
|
|
29
|
+
Do not use the R28 named-tunnel path for a random Quick Tunnel, an unpinned cloudflared binary, a token file whose exact bytes cannot be bound, or a machine where the dependency bytes cannot be verified. Do not weaken pins to recover from an upgrade or token rotation. Re-pin the new exact bytes through an operator-controlled generation update instead.
|
|
30
|
+
|
|
31
|
+
## Activation and recovery
|
|
32
|
+
|
|
33
|
+
The R27 immutable release-slot transaction remains the activation authority. R28 v2 extends generation input with exact cloudflared and token-file pins plus a persistent public origin and a hash-pinned stable MCP URL file. The updater rejects partial transport arguments, wrong SHA-256 values, ephemeral `trycloudflare` origins, symlink/reparse dependency files, and non-regular files before pointer activation. A legacy `deadbyte.named-tunnel.v1` config may be read for migration, but creating a new runtime from it requires an explicit v2 bootstrap.
|
|
34
|
+
|
|
35
|
+
After the new runtime first reaches ONLINE, the updater holds a stability window, rechecks the exact process generation on every probe, runs the public MCP smoke gate, and checks ONLINE again before writing a completion receipt. A transient PID is not activation success.
|
|
36
|
+
|
|
37
|
+
A successful R28 switch must preserve the stable public hostname across restart and cold stop/start. Rollback restores the prior active pointer and known-good runtime; it must never silently fall back to a Quick Tunnel hostname.
|
|
38
|
+
|
|
39
|
+
Host authority is unrelated to transport authority. The updater does not arm the privileged host plane. Coding/autonomous standing grants are restored only under the existing explicit restore policy.
|
|
40
|
+
|
|
41
|
+
## Operational consequence
|
|
42
|
+
|
|
43
|
+
Changing cloudflared bytes, rotating the tunnel token, moving either dependency, changing the transport working directory, or changing `deadbyte-tunnel-host.exe` invalidates prior transport evidence. Host-binary changes are release changes; external dependency changes are generation changes. Both require fresh lifecycle and public MCP verification.
|
|
44
|
+
|
|
45
|
+
The production acceptance path is: build native host, verify package manifest, bind an external tunnel token without exposing it, activate an immutable release and generation, survive the stabilization/public MCP gate, verify the fixed public endpoint, restart, cold stop/start, and prove no Quick Tunnel or Wrangler tunnel-run process remains.
|
|
46
|
+
|
|
47
|
+
## Staleness
|
|
48
|
+
|
|
49
|
+
Review this document whenever `native/deadbyte-tunnel-host.cpp`, `controller/deadbyte-controller.ps1`, `src/runtime-update.mjs`, `src/release-generation.mjs`, the public ingress model, or the dependency-pin contract changes.
|
|
50
|
+
|
|
51
|
+
Code authority:
|
|
52
|
+
|
|
53
|
+
- `native/deadbyte-tunnel-host.cpp`
|
|
54
|
+
- `controller/deadbyte-controller.ps1`
|
|
55
|
+
- `src/runtime-update.mjs`
|
|
56
|
+
- `src/release-generation.mjs`
|
|
57
|
+
- `scripts/build-containment.ps1`
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# DEADBYTE MCP V0.8.5 / R29 — Stable Machine Identity
|
|
2
|
+
|
|
3
|
+
R29 introduces a cryptographic machine identity without changing the R28 transport authority,
|
|
4
|
+
R27 immutable release transaction, containment boundary, or coding/autonomous grant model.
|
|
5
|
+
|
|
6
|
+
## Identity contract
|
|
7
|
+
|
|
8
|
+
Each canonical DEADBYTE state root owns one Ed25519 keypair below `machine/`.
|
|
9
|
+
The private key never enters an MCP response, package artifact, immutable release slot, or
|
|
10
|
+
generation bundle. The public key is exported as SPKI DER and represented in MCP status as base64.
|
|
11
|
+
|
|
12
|
+
`machine_id = SHA256(public_key_spki_der)`.
|
|
13
|
+
|
|
14
|
+
Identity initialization is create-only and lock protected. Concurrent initializers converge on the
|
|
15
|
+
same completed identity or fail closed; they do not overwrite a pre-existing keypair. Private/public
|
|
16
|
+
key mismatch, malformed identity state, symlink substitution, and invalid generation values fail.
|
|
17
|
+
|
|
18
|
+
Release or controller-generation activation does not rotate the machine key. The identity therefore
|
|
19
|
+
names the DEADBYTE state root rather than one process, tunnel, release slot, or hostname.
|
|
20
|
+
|
|
21
|
+
## Public MCP surface
|
|
22
|
+
|
|
23
|
+
R29 adds exactly four optional tools:
|
|
24
|
+
|
|
25
|
+
- `machine_list` — returns machine records visible to this runtime.
|
|
26
|
+
- `machine_status` — returns this machine's current identity and release/generation binding.
|
|
27
|
+
- `machine_ping` — signs a caller nonce plus current identity/binding state.
|
|
28
|
+
- `machine_revoke` — advances identity generation and epoch under local host authority.
|
|
29
|
+
|
|
30
|
+
`machine_status` and each record in `machine_list` bind:
|
|
31
|
+
|
|
32
|
+
- machine id and public SPKI
|
|
33
|
+
- identity generation and process-online epoch
|
|
34
|
+
- informational hostname/platform/architecture
|
|
35
|
+
- active release id and release manifest SHA-256
|
|
36
|
+
- active generation manifest SHA-256
|
|
37
|
+
- machine capability set
|
|
38
|
+
|
|
39
|
+
The fully enabled R29 public catalog is 46 tools. Machine mode is an independent optional catalog
|
|
40
|
+
dimension; autonomous mode still requires the complete coding surface. Partial and unknown catalogs
|
|
41
|
+
remain invalid.
|
|
42
|
+
|
|
43
|
+
## Signed ping
|
|
44
|
+
|
|
45
|
+
`machine_ping` signs a canonical `deadbyte.machine-ping.v1` body under the domain
|
|
46
|
+
`DEADBYTE-MACHINE-PING-V1\0`. The body includes a caller-supplied nonce, machine id, identity
|
|
47
|
+
generation, online epoch, release id, release-manifest digest, generation-manifest digest, and an
|
|
48
|
+
observation timestamp.
|
|
49
|
+
|
|
50
|
+
A remote verifier must decode the advertised SPKI, require Ed25519, recompute SHA-256(SPKI), require
|
|
51
|
+
that digest to equal both `machine_id` and `attestation.key_id`, reconstruct the canonical domain-
|
|
52
|
+
separated body, and verify the 64-byte Ed25519 signature. `verifyMachinePingPublic` implements this
|
|
53
|
+
check without reading the target's local key store.
|
|
54
|
+
|
|
55
|
+
A valid old signature is historical evidence, not current liveness. Current liveness additionally
|
|
56
|
+
requires the ping's identity generation, online epoch, release, and generation to match a fresh
|
|
57
|
+
`machine_status` observation.
|
|
58
|
+
|
|
59
|
+
## Revocation and authority
|
|
60
|
+
|
|
61
|
+
`machine_revoke` is deliberately not self-authorizing. The MCP handler calls the host-authority
|
|
62
|
+
check before mutating identity state. With host authority absent or disarmed, revoke returns denied
|
|
63
|
+
and identity state is unchanged. With authority present, revoke increments `identity_generation`
|
|
64
|
+
and rotates `online_epoch`; it does not replace the Ed25519 key or machine id.
|
|
65
|
+
|
|
66
|
+
This follows the existing standing-authority rule: registration is capability visibility, not
|
|
67
|
+
permission. Revocation authority remains explicitly inspectable and independently removable.
|
|
68
|
+
|
|
69
|
+
## Controller and release gates
|
|
70
|
+
|
|
71
|
+
`MachineRuntimeEnabled` defaults to true and is forwarded only while the controller starts the
|
|
72
|
+
Bridge child. The stable launcher exports the canonical DEADBYTE state root so release activation
|
|
73
|
+
continues to use the same identity store.
|
|
74
|
+
|
|
75
|
+
Controller `machinetest` is non-mutating. Over the configured public HTTPS MCP endpoint it requires
|
|
76
|
+
all four machine tools with strict output schemas, compares `machine_status` with `machine_list`,
|
|
77
|
+
issues a fresh random nonce, and independently verifies the public SPKI and Ed25519 ping signature.
|
|
78
|
+
|
|
79
|
+
R29 activation still uses the R27 immutable release-slot plus atomic active-pointer transaction and
|
|
80
|
+
R28 persistent named-tunnel transport. Machine identity adds no updater MCP capability. The updater's
|
|
81
|
+
signed completion receipt preserves the observed prior host-authority state rather than hardcoding
|
|
82
|
+
it, so authority evidence remains truthful across activation.
|
|
83
|
+
|
|
84
|
+
Host command executable pins remain fail-closed. If an installed executable changes bytes, activation
|
|
85
|
+
requires an explicit `--host-command-pin <command_id>=<observed_sha256>` for that exact command. The
|
|
86
|
+
updater verifies the executable as a regular non-symlink file and changes only its stored digest in
|
|
87
|
+
the new generation; it never edits the prior immutable generation or silently trusts drift.
|
|
88
|
+
|
|
89
|
+
A predecessor that cannot boot because of such verified pin drift may be recovered only with
|
|
90
|
+
`--recover-offline-predecessor`. That path requires the controller to be exactly OFFLINE with no
|
|
91
|
+
owned Bridge/Cloud listener and the Host plane DISARMED. Coding/autonomous standing authority is
|
|
92
|
+
still revoked before the pointer switch and may be restored explicitly after the fresh runtime gate.
|
|
93
|
+
The recovery option is not an auto-arm path and does not weaken the normal ONLINE activation gate.
|
|
94
|
+
|
|
95
|
+
## Non-goals
|
|
96
|
+
|
|
97
|
+
R29 does not claim hardware-rooted identity, TPM attestation, remote physical-machine proof, or
|
|
98
|
+
protection against a fully compromised trusted host. It establishes a stable application-level
|
|
99
|
+
cryptographic identity and release/generation-bound liveness proof for later multi-machine work.
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# R30 Process Plane Implementation Plan
|
|
2
|
+
|
|
3
|
+
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
|
4
|
+
|
|
5
|
+
**Goal:** Promote the existing native ConPTY host into six policy-gated, signed, strict-schema MCP process-session tools without caller-selected executable authority.
|
|
6
|
+
|
|
7
|
+
**Architecture:** Keep process authority separate from coding and host authority. A new process policy resolves trusted profile IDs to pinned executable bytes and approved cwd roots. A durable runtime owns ConPTY host children, journals signed events, and exposes bounded ordered output through a strict MCP adapter.
|
|
8
|
+
|
|
9
|
+
**Tech Stack:** Node.js ESM, Zod v4, MCP 2026-07-28, Windows x64 ConPTY C++, Ed25519 receipts/events, PowerShell 5.1 controller, node:test.
|
|
10
|
+
|
|
11
|
+
**Spec:** `docs/superpowers/specs/2026-09-14-r30-r33-machine-control-design.md`
|
|
12
|
+
|
|
13
|
+
## Global Constraints
|
|
14
|
+
|
|
15
|
+
- Source control is NON-GIT. Never create Git evidence or commit IDs.
|
|
16
|
+
- Windows x64 is the R30 production target.
|
|
17
|
+
- No caller-selected executable path.
|
|
18
|
+
- Every executable profile pins absolute path plus SHA-256.
|
|
19
|
+
- Session mutation uses session ID plus observed process identity, never PID alone.
|
|
20
|
+
- Registration does not imply authority; execution/input/termination require a local policy-hash-bound standing process grant.
|
|
21
|
+
- Unknown schema fields fail closed.
|
|
22
|
+
- Existing R29 behavior must remain green until R30 release activation.
|
|
23
|
+
- Version stays 0.8.5 until the R30 gate is release-ready.
|
|
24
|
+
|
|
25
|
+
---### Task 1: Process policy and standing grant
|
|
26
|
+
|
|
27
|
+
**Files:**
|
|
28
|
+
- Create: `src/process-policy.mjs`
|
|
29
|
+
- Create: `test/process-policy.test.mjs`
|
|
30
|
+
- Modify: `controller/deadbyte-controller.ps1`
|
|
31
|
+
- Modify: `controller/deadbyte-controller.config.psd1.example`
|
|
32
|
+
|
|
33
|
+
**Interfaces:**
|
|
34
|
+
- Produces: `loadProcessPolicy(path)`, `processSessionStatus(policy)`, `assertProcessArmed(policy, profileId, rootId)`.
|
|
35
|
+
- Policy schema: `deadbyte.process-policy.v1`; grant schema: `deadbyte.process-grant.v1`.
|
|
36
|
+
|
|
37
|
+
- [ ] **Step 1: Write failing policy tests**
|
|
38
|
+
```js
|
|
39
|
+
await assert.rejects(() => loadProcessPolicy(badExecutableHash), /executable hash mismatch/);
|
|
40
|
+
const status = await processSessionStatus(policy);
|
|
41
|
+
assert.equal(status.armed, false);
|
|
42
|
+
```
|
|
43
|
+
- [ ] **Step 2: Run RED**
|
|
44
|
+
Run: `node --test test/process-policy.test.mjs`
|
|
45
|
+
Expected: FAIL because `src/process-policy.mjs` does not exist.
|
|
46
|
+
- [ ] **Step 3: Implement minimum strict policy/grant loader**
|
|
47
|
+
Normalize roots and profiles; verify executable file type/hash; bind grant to exact policy SHA-256 and allowed profile/root IDs.
|
|
48
|
+
- [ ] **Step 4: Run GREEN plus existing policy tests**
|
|
49
|
+
Run: `node --test test/process-policy.test.mjs test/standing-grants.test.mjs`
|
|
50
|
+
Expected: PASS.
|
|
51
|
+
- [ ] **Step 5: Add controller config/status/arm/disarm commands and tests**
|
|
52
|
+
Extend controller tests before controller production edits; process revocation must not alter coding/autonomous grants.
|
|
53
|
+
### Task 2: Durable process runtime and native-host contract
|
|
54
|
+
|
|
55
|
+
**Files:**
|
|
56
|
+
- Create: `src/process-runtime.mjs`
|
|
57
|
+
- Create: `test/process-runtime.test.mjs`
|
|
58
|
+
- Modify: `native/deadbyte-process-host.cpp`
|
|
59
|
+
- Modify: `test/process-native.test.mjs`
|
|
60
|
+
|
|
61
|
+
**Interfaces:**
|
|
62
|
+
- Produces: `createProcessRuntime({ policy, signingKeyPath, verifyKeyPath, stateRoot, nativeHostPath })`.
|
|
63
|
+
- Runtime methods: `start`, `input`, `read`, `status`, `list`, `terminate`, `verifyEventJournal`.
|
|
64
|
+
|
|
65
|
+
- [ ] **Step 1: Write failing runtime lifecycle test**
|
|
66
|
+
```js
|
|
67
|
+
const started = await runtime.start({ profileId: 'powershell', rootId: 'core', cwd: '.', args: [] });
|
|
68
|
+
await runtime.input({ sessionId: started.session_id, data: '$x=41\r\n' });
|
|
69
|
+
await runtime.input({ sessionId: started.session_id, data: 'Write-Output ($x+1)\r\n' });
|
|
70
|
+
const page = await runtime.read({ sessionId: started.session_id, offset: 0, maxBytes: 65536 });
|
|
71
|
+
assert.match(Buffer.from(page.data_base64, 'base64').toString('utf8'), /42/);
|
|
72
|
+
```
|
|
73
|
+
- [ ] **Step 2: Run RED**
|
|
74
|
+
Run: `node --test test/process-runtime.test.mjs`
|
|
75
|
+
Expected: FAIL because runtime is absent.
|
|
76
|
+
- [ ] **Step 3: Implement minimum runtime around existing native ConPTY host**
|
|
77
|
+
Spawn only the pinned native host and profile executable. Persist session metadata/event journal under the configured state root. Bind child PID plus creation FILETIME plus random 256-bit session ID.
|
|
78
|
+
- [ ] **Step 4: Add output offset/hash-chain and truncation tests before implementation**
|
|
79
|
+
Verify monotonic offsets, explicit earliest retained offset, stable stream head, and no silent truncation.
|
|
80
|
+
- [ ] **Step 5: Harden native host only where tests expose missing contract**
|
|
81
|
+
Native stdout control records must remain machine-parseable and distinguish host READY/EXIT records from PTY payload bytes.
|
|
82
|
+
- [ ] **Step 6: Run GREEN**
|
|
83
|
+
Run: `node --test test/process-native.test.mjs test/process-runtime.test.mjs`
|
|
84
|
+
Expected: PASS with no orphan host or child process.
|
|
85
|
+
### Task 3: Strict MCP process surface
|
|
86
|
+
|
|
87
|
+
**Files:**
|
|
88
|
+
- Create: `src/process-output-contracts.mjs`
|
|
89
|
+
- Create: `src/process-mcp-tools.mjs`
|
|
90
|
+
- Create: `test/process-mcp-tools.test.mjs`
|
|
91
|
+
- Modify: `src/mcp-server.mjs`
|
|
92
|
+
|
|
93
|
+
**Interfaces:**
|
|
94
|
+
- Produces six tools: `process_session_start`, `process_session_input`, `process_session_read`, `process_session_status`, `process_session_list`, `process_session_terminate`.
|
|
95
|
+
- Every output schema is a Zod strict object and every error path is validated before return.
|
|
96
|
+
|
|
97
|
+
- [ ] **Step 1: Write failing tool-catalog/strict-contract tests**
|
|
98
|
+
```js
|
|
99
|
+
registerProcessTools(server, { runtime });
|
|
100
|
+
assert.deepEqual([...server.tools.keys()].sort(), expectedSix);
|
|
101
|
+
for (const tool of server.tools.values()) assert.equal(tool.spec.outputSchema.additionalProperties, false);
|
|
102
|
+
```
|
|
103
|
+
- [ ] **Step 2: Run RED**
|
|
104
|
+
Run: `node --test test/process-mcp-tools.test.mjs`
|
|
105
|
+
Expected: FAIL because adapter/contracts are absent.
|
|
106
|
+
- [ ] **Step 3: Implement output contracts and adapters**
|
|
107
|
+
Start/input/terminate failures return denied/failed states without leaking executable paths beyond policy-approved identity fields.
|
|
108
|
+
- [ ] **Step 4: Add MCP server feature flag/policy loading**
|
|
109
|
+
Use `DEADBYTE_PROCESS_RUNTIME=0|1` and `DEADBYTE_PROCESS_POLICY`. Runtime enabled without a valid policy must fail startup.
|
|
110
|
+
- [ ] **Step 5: Run GREEN and schema suite**
|
|
111
|
+
Run: `node --test test/process-mcp-tools.test.mjs test/output-schema.test.mjs`
|
|
112
|
+
Expected: PASS.
|
|
113
|
+
|
|
114
|
+
### Task 4: Exact public catalog and controller integration
|
|
115
|
+
|
|
116
|
+
**Files:**
|
|
117
|
+
- Modify: `src/remote-mcp-smoke-client.mjs`
|
|
118
|
+
- Modify: `src/remote-mcp-r24-disarmed-smoke-client.mjs`
|
|
119
|
+
- Modify: `test/remote-r24-catalog.test.mjs`
|
|
120
|
+
- Modify: `controller/deadbyte-controller.ps1`
|
|
121
|
+
- Modify: `test/controller.test.mjs`
|
|
122
|
+
- Create: `src/remote-mcp-process-smoke-client.mjs`
|
|
123
|
+
|
|
124
|
+
**Interfaces:**
|
|
125
|
+
- Catalog dimension: process=false/true, independent of machine/host/agent/coding/autonomous registration.
|
|
126
|
+
- Fully enabled R30 count becomes 52 tools: prior 46 plus six process tools.
|
|
127
|
+
|
|
128
|
+
- [ ] **Step 1: Change catalog tests first to require the process dimension and 52-tool full catalog**
|
|
129
|
+
Run: `node --test test/remote-r24-catalog.test.mjs`
|
|
130
|
+
Expected: FAIL against R29 catalog code.
|
|
131
|
+
- [ ] **Step 2: Update remote catalog generation and disarmed full-catalog expectation**
|
|
132
|
+
Partial process catalogs remain invalid.
|
|
133
|
+
- [ ] **Step 3: Add public process smoke client**
|
|
134
|
+
Smoke performs status, start approved shell profile, two inputs with preserved state, ordered read, terminate, final status, and journal/receipt verification.
|
|
135
|
+
- [ ] **Step 4: Add controller `armprocess`, `disarmprocess`, `processstatus`, `processtest`**
|
|
136
|
+
Bridge environment injects process runtime/policy only from trusted controller config.
|
|
137
|
+
- [ ] **Step 5: Run focused GREEN**
|
|
138
|
+
Run: `node --test test/remote-r24-catalog.test.mjs test/controller*.test.mjs test/process-*.test.mjs`
|
|
139
|
+
Expected: PASS.
|
|
140
|
+
### Task 5: Release gate, docs, manifest, evidence
|
|
141
|
+
|
|
142
|
+
**Files:**
|
|
143
|
+
- Modify: `scripts/gate-windows.ps1`
|
|
144
|
+
- Modify: `package.json`
|
|
145
|
+
- Modify: `README.txt`
|
|
146
|
+
- Create: `docs/V086-R30-PROCESS-PLANE.md`
|
|
147
|
+
- Modify: `MANIFEST.SHA256` through the existing manifest writer only after tests pass.
|
|
148
|
+
|
|
149
|
+
**Interfaces:**
|
|
150
|
+
- Adds npm smoke command for the process plane and Windows-gate step.
|
|
151
|
+
- Produces one R30 gate receipt/evidence set; version bump is deferred until this task is green.
|
|
152
|
+
|
|
153
|
+
- [ ] **Step 1: Add failing package/gate boundary tests before release-file edits**
|
|
154
|
+
Assert process smoke is present in package scripts and Windows gate source.
|
|
155
|
+
- [ ] **Step 2: Update package/gate/docs minimally**
|
|
156
|
+
Document exact authority boundary, six tools, restart semantics, output truncation semantics, and 52-tool fully enabled catalog.
|
|
157
|
+
- [ ] **Step 3: Run source test suite**
|
|
158
|
+
Run: `npm test`
|
|
159
|
+
Expected: all tests PASS, zero skipped R30 production tests except platform-conditional non-Windows tests when not on Windows.
|
|
160
|
+
- [ ] **Step 4: Run Windows batch gate**
|
|
161
|
+
Run: `npm run gate:windows`
|
|
162
|
+
Expected: PASS including native build, process smoke, existing R29 planes, containment, authority and manifest verification.
|
|
163
|
+
- [ ] **Step 5: Run public process gate against candidate runtime**
|
|
164
|
+
Use controller process grant and `processtest`; verify exact public catalog and signed process evidence.
|
|
165
|
+
- [ ] **Step 6: Bump release identity only after all prior gates pass**
|
|
166
|
+
Advance version/R number consistently, regenerate manifest, rerun complete Windows and public gates.
|
|
167
|
+
- [ ] **Step 7: Produce final R30 closure evidence**
|
|
168
|
+
Record manifest SHA-256, test counts, native-host SHA-256, policy SHA-256, exact catalog count, public process proof and known pending items. Never mark R31 started before this closure is valid.
|
|
169
|
+
|
|
170
|
+
## Plan self-review
|
|
171
|
+
|
|
172
|
+
Spec coverage: R30 policy, six tools, ConPTY state, identity, output ordering/truncation, signed events, controller grant, exact catalog, Windows/public gates and manifest are each assigned above.
|
|
173
|
+
|
|
174
|
+
Placeholder scan: this plan intentionally contains no TBD/TODO/FIXME markers.
|
|
175
|
+
|
|
176
|
+
Type/name consistency: process policy, runtime and MCP adapter use the same `profileId/rootId/sessionId` internal names and `profile_id/root_id/session_id` public fields. Public tool names match the approved spec exactly.
|
|
177
|
+
|
|
178
|
+
Execution mode: inline in this session because the workspace is NON-GIT and the user requested uninterrupted completion. Release activation remains a separate destructive boundary after candidate gates prove safe.
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# R31 Process Prerequisite Implementation Plan
|
|
2
|
+
|
|
3
|
+
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
|
|
4
|
+
|
|
5
|
+
**Goal:** Finish the bounded DEADBYTE-owned process supervision prerequisite required before R31 machine-filesystem work may begin, without adding arbitrary remote shell/stdin authority.
|
|
6
|
+
|
|
7
|
+
**Architecture:** Reuse `process-policy.mjs`, the existing Windows ConPTY host, controller standing grants, trust keys, strict MCP schemas, and immutable release machinery. The runtime owns sessions by random session ID plus observed process creation identity; public callers may select only policy-defined profile/root/action IDs. Raw terminal bytes, caller-selected executable paths, shell command strings, script bodies, and PID-only mutation remain outside the public contract.
|
|
8
|
+
|
|
9
|
+
**Tech Stack:** Node.js ESM, node:test, Zod v4, MCP 2026-07-28, Windows x64 ConPTY C++, Ed25519 signed events, PowerShell 5.1 controller.
|
|
10
|
+
|
|
11
|
+
**Spec:** `docs/superpowers/specs/2026-09-14-r31-r33-final-baseline-successor-design.md`
|
|
12
|
+
|
|
13
|
+
## Global Constraints
|
|
14
|
+
|
|
15
|
+
- Source control is NON-GIT; no commits, branches, HEADs, or synthetic Git evidence.
|
|
16
|
+
- `V0.8.6 / R30`, release `v0.8.6-7b057342c381906a`, remains immutable active known-good until successor candidate gates are complete.
|
|
17
|
+
- Public process authority is policy-pinned and standing-grant gated.
|
|
18
|
+
- Session mutation uses DEADBYTE session identity and verified child creation identity, never an unqualified PID.
|
|
19
|
+
- `process_session_action` accepts only a configured `action_id`; no arbitrary stdin/text payload field exists.
|
|
20
|
+
- If Windows named-action transport is not reliable, the action surface stays fail-closed and the replacement parity gate remains blocked.
|
|
21
|
+
- Unknown input/output fields fail closed; outputs are bounded and truncation is explicit.
|
|
22
|
+
- Version/release identity is not advanced in this plan.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
### Task 1: Runtime lifecycle and owned-session identity
|
|
26
|
+
|
|
27
|
+
**Files:**
|
|
28
|
+
- Modify: `src/process-runtime.mjs`
|
|
29
|
+
- Create: `test/process-runtime.test.mjs`
|
|
30
|
+
- Modify only if the RED test proves necessary: `native/deadbyte-process-host.cpp`
|
|
31
|
+
- Modify only if native contract changes: `test/process-native.test.mjs`
|
|
32
|
+
|
|
33
|
+
**Interfaces:**
|
|
34
|
+
- `createProcessRuntime({ policy, signingKeyPath, verifyKeyPath })`
|
|
35
|
+
- `start({ profileId, rootId, cwd='.', args=[] })`
|
|
36
|
+
- `read({ sessionId, offset, maxBytes })`
|
|
37
|
+
- `status({ sessionId })`, `list()`, `terminate({ sessionId })`
|
|
38
|
+
- Public session identity fields remain `session_id`, `child_pid`, `creation_filetime`, `profile_id`, `root_id`.
|
|
39
|
+
|
|
40
|
+
- [ ] **Step 1: Write RED lifecycle tests** proving grant denial, pinned hash checks, one approved profile start, READY parsing, session identity, ordered output, status/list, and owned termination.
|
|
41
|
+
- [ ] **Step 2: Run RED:** `node --test test/process-runtime.test.mjs test/process-native.test.mjs`; failure must be the current `pending the Windows release gate` path or missing runtime behavior.
|
|
42
|
+
- [ ] **Step 3: Implement the minimum runtime** around the pinned native host. Spawn only `policy.native_host.path`; executable/args/cwd come only from the selected policy profile and validated request bounds.
|
|
43
|
+
- [ ] **Step 4: Separate host control records from PTY payload** and retain bounded output with `earliest_offset`, `stream_head`, and explicit truncation.
|
|
44
|
+
- [ ] **Step 5: Add signed start/exit/terminate journal assertions** using the existing Ed25519 trust helpers; journal sequence and previous-event hash must chain exactly.
|
|
45
|
+
- [ ] **Step 6: Run GREEN:** same command, zero orphan host/child processes and zero skipped Windows tests on the Windows target.
|
|
46
|
+
|
|
47
|
+
### Task 2: Named policy action transport
|
|
48
|
+
|
|
49
|
+
**Files:**
|
|
50
|
+
- Modify: `src/process-runtime.mjs`
|
|
51
|
+
- Modify: `test/process-runtime.test.mjs`
|
|
52
|
+
- Modify only if required by observed Windows behavior: `native/deadbyte-process-host.cpp`, `test/process-native.test.mjs`
|
|
53
|
+
|
|
54
|
+
**Interfaces:**
|
|
55
|
+
- `action({ sessionId, actionId })`
|
|
56
|
+
- `actionId` resolves only through `policy.profiles[profile_id].input_actions[actionId]`.
|
|
57
|
+
- No public/runtime method accepts arbitrary input bytes or terminal text.
|
|
58
|
+
|
|
59
|
+
- [ ] **Step 1: Write RED Windows test** with one harmless policy-defined action that changes observable state in the already-owned session, then a second approved observation proves persistence.
|
|
60
|
+
- [ ] **Step 2: Run RED** and record exact failure mode before native/runtime edits.
|
|
61
|
+
- [ ] **Step 3: Implement only the smallest transport needed** to write the exact policy-defined bytes to the already-owned host stdin; enforce `max_input_bytes` and reject unknown action IDs before side effects.
|
|
62
|
+
- [ ] **Step 4: Record a signed action event** containing action ID, byte count, action-bytes SHA-256, prior journal head, and resulting event head; do not store raw action bytes in public output.
|
|
63
|
+
- [ ] **Step 5: Run GREEN plus adversarial cases** for unknown action ID, stale/disarmed grant, closed session, oversize policy action, and PID/session mismatch defense.
|
|
64
|
+
- [ ] **Step 6: If physical Windows persistence is not reliable, revert the public action path to fail-closed and mark the successor replacement gate PENDING; do not weaken the contract.
|
|
65
|
+
### Task 3: Strict MCP process surface
|
|
66
|
+
|
|
67
|
+
**Files:**
|
|
68
|
+
- Create: `src/process-output-contracts.mjs`
|
|
69
|
+
- Create: `src/process-mcp-tools.mjs`
|
|
70
|
+
- Create: `test/process-mcp-tools.test.mjs`
|
|
71
|
+
- Modify: `src/mcp-server.mjs`
|
|
72
|
+
- Replace the old fail-closed source assertion in: `test/process-supervision.test.mjs`
|
|
73
|
+
|
|
74
|
+
**Interfaces:**
|
|
75
|
+
- Public tools: `process_session_start`, `process_session_read`, `process_session_status`, `process_session_list`, `process_session_terminate`.
|
|
76
|
+
- Conditional sixth tool: `process_session_action`, only when Task 2 Windows proof is green.
|
|
77
|
+
- MCP startup uses `DEADBYTE_PROCESS_RUNTIME=0|1` and `DEADBYTE_PROCESS_POLICY`; enabled mode without a valid policy fails startup.
|
|
78
|
+
|
|
79
|
+
- [ ] **Step 1: Write RED catalog/schema tests** requiring the five bounded supervision tools, strict input/output objects, bounded numeric/string fields, and no executable/path/raw-input fields.
|
|
80
|
+
- [ ] **Step 2: Add RED action-schema test only if Task 2 is green**; schema contains `session_id` + `action_id` only.
|
|
81
|
+
- [ ] **Step 3: Run RED:** `node --test test/process-supervision.test.mjs test/process-mcp-tools.test.mjs`.
|
|
82
|
+
- [ ] **Step 4: Implement `process-output-contracts.mjs` and `registerProcessTools(...)`** using `structuredToolResult` patterns already used by coding/machine tools.
|
|
83
|
+
- [ ] **Step 5: Wire process policy/runtime into `mcp-server.mjs`** without changing coding/host/autonomous authority behavior.
|
|
84
|
+
- [ ] **Step 6: Run GREEN plus existing output-schema tests** and confirm disabled process runtime leaves the prior catalog unchanged.
|
|
85
|
+
|
|
86
|
+
### Task 4: Controller, remote catalog, and live smoke
|
|
87
|
+
|
|
88
|
+
**Files:**
|
|
89
|
+
- Modify: `src/remote-mcp-smoke-client.mjs`
|
|
90
|
+
- Modify: `src/remote-mcp-r24-disarmed-smoke-client.mjs`
|
|
91
|
+
- Modify: `test/remote-r24-catalog.test.mjs`
|
|
92
|
+
- Modify: `controller/deadbyte-controller.ps1` only where current process config/status commands are incomplete
|
|
93
|
+
- Modify: `test/controller.test.mjs` / existing standing-grant tests as applicable
|
|
94
|
+
- Create: `src/remote-mcp-process-smoke-client.mjs`
|
|
95
|
+
|
|
96
|
+
**Interfaces:**
|
|
97
|
+
- Process registration is an independent catalog dimension; partial registration is invalid.
|
|
98
|
+
- Public smoke uses only configured IDs and never passes executable paths or arbitrary terminal text.
|
|
99
|
+
|
|
100
|
+
- [ ] **Step 1: Write RED exact-catalog tests** from the actual enabled tool count after Task 3; do not guess the count before enumerating registered tools.
|
|
101
|
+
- [ ] **Step 2: Update bridge/remote expected catalogs** to include exactly the process surface proven in Task 3.
|
|
102
|
+
- [ ] **Step 3: Extend controller tests** so `processstatus`, `armprocess`, and `disarmprocess` preserve coding/autonomous/host authority separation.
|
|
103
|
+
- [ ] **Step 4: Add public process smoke**: status → approved start → bounded read → optional approved named action if proven → status/list → terminate → signed journal verification.
|
|
104
|
+
- [ ] **Step 5: Run focused GREEN:** process, controller, remote-catalog, bridge-contract, and output-schema tests.
|
|
105
|
+
|
|
106
|
+
### Task 5: Candidate release gate without activation
|
|
107
|
+
|
|
108
|
+
**Files:**
|
|
109
|
+
- Modify: `scripts/gate-windows.ps1`
|
|
110
|
+
- Modify: `package.json`
|
|
111
|
+
- Modify current successor docs/README only after behavior is green
|
|
112
|
+
- Regenerate: `MANIFEST.SHA256` only through the canonical manifest writer
|
|
113
|
+
|
|
114
|
+
**Interfaces:**
|
|
115
|
+
- Windows gate adds the process smoke after source tests and before final manifest verify.
|
|
116
|
+
- This task does not change the active release pointer or successor version identity.
|
|
117
|
+
|
|
118
|
+
- [ ] **Step 1: Write RED package/gate tests** requiring the process smoke command and Windows-gate stage.
|
|
119
|
+
- [ ] **Step 2: Add the minimal npm script and gate invocation.**
|
|
120
|
+
- [ ] **Step 3: Run full `npm test`**; require zero failures.
|
|
121
|
+
- [ ] **Step 4: Run canonical `npm run gate:windows`** from the isolated successor candidate; require native build, manifest write/verify, all MCP planes, process smoke, containment, authority, and final-manifest stages to PASS.
|
|
122
|
+
- [ ] **Step 5: Run candidate public process smoke against a non-production candidate runtime** and independently verify signed/hash-bound process evidence.
|
|
123
|
+
- [ ] **Step 6: Reverify frozen R30 release ID + manifest bytes are unchanged.**
|
|
124
|
+
- [ ] **Step 7: Record exact candidate catalog count, manifest SHA-256, test count, native-host SHA-256, process-policy SHA-256, and any remaining PENDING item.**
|
|
125
|
+
|
|
126
|
+
## Plan self-review
|
|
127
|
+
|
|
128
|
+
Spec coverage: this plan closes only the mandatory Process Prerequisite Gate; machine-filesystem work gets its own plan after this gate is green.
|
|
129
|
+
Placeholder scan: no TBD/TODO/FIXME markers are permitted.
|
|
130
|
+
Type consistency: internal methods use camelCase IDs; public contracts use snake_case IDs. `process_session_action` exists only after the Windows named-action proof passes.
|
|
131
|
+
Safety: no task adds caller-selected executables, shell command strings, script bodies, raw stdin, unrestricted PID mutation, or whole-machine authority.
|
|
132
|
+
Execution: use an isolated NON-GIT successor copy. R30 active release remains immutable until a later successor release plan explicitly reaches activation.
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# R33 Audit Chain + NPX Entrypoint Implementation Plan
|
|
2
|
+
|
|
3
|
+
> **For agentic workers:** REQUIRED SUB-SKILL: use systematic debugging, test-driven development, and verification-before-completion. This repository is NON-GIT; use exact SHA-256 preconditions and observed test/gate evidence instead of commits.
|
|
4
|
+
|
|
5
|
+
**Goal:** Replace simple audit history with a tamper-evident signed audit chain and add an npx-first DEADBYTE launcher while preserving the exact 68-tool R33 MCP catalog.
|
|
6
|
+
|
|
7
|
+
**Architecture:** `tool-audit.mjs` owns durable pre-handler request logging, post-handler outcome logging, sanitization and immutable segment/checkpoint writing. `audit-context.mjs` binds events to release/generation/authority machine state. `audit-verify.mjs` independently verifies the chain without importing writer validation. `deadbyte-cli.mjs` provides npx commands and delegates remote control to the stable PS1 launcher without using `.cmd`.
|
|
8
|
+
|
|
9
|
+
**Tech Stack:** Node.js >=22 ESM, canonical JSON, SHA-256, Ed25519, node:test, Windows PowerShell stable launcher.
|
|
10
|
+
|
|
11
|
+
**Spec:** `docs/superpowers/specs/2026-09-15-r33-audit-chain-npx-design.md`
|
|
12
|
+
|
|
13
|
+
## Global Constraints
|
|
14
|
+
|
|
15
|
+
- Project is NON-GIT. Never invent commit/branch/HEAD evidence.
|
|
16
|
+
- Audit request must be durably committed before a handler can mutate state.
|
|
17
|
+
- Audit write/context failure before handler execution must fail closed.
|
|
18
|
+
- Audit files live only below `${DEADBYTE_STATE_ROOT}/audit`, never immutable release slots.
|
|
19
|
+
- Raw tool result payloads are never stored.
|
|
20
|
+
- Secret values are never stored and are not hashed into an offline guessing oracle.
|
|
21
|
+
- Payload/oversized non-secret values are represented by byte count + SHA-256.
|
|
22
|
+
- Closed segments are immutable and signed with the existing Ed25519 trust key under an audit-specific domain.
|
|
23
|
+
- Independent verifier must not call writer validation helpers.
|
|
24
|
+
- R33 public MCP catalog must remain exactly 68 tools.
|
|
25
|
+
- Serena/semantic-code-plane scope is excluded.
|
|
26
|
+
- Any source mutation makes previous manifest/release-gate evidence stale.
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
### Task 1: Audit event chain and sanitizer
|
|
31
|
+
|
|
32
|
+
**Files:**
|
|
33
|
+
- Modify: `src/tool-audit.mjs`
|
|
34
|
+
- Modify: `test/tool-audit.test.mjs`
|
|
35
|
+
|
|
36
|
+
**Interfaces:**
|
|
37
|
+
- `sanitizeAuditArgs(args) -> sanitized JSON value`
|
|
38
|
+
- `await createToolAudit({stateRoot, signingKeyPath, contextProvider, maxSegmentBytes?, maxSegmentRecords?, clock?})`
|
|
39
|
+
- returned audit object: `recordRequest(tool,args)`, `recordResult(token,result,error,durationMs)`, `seal()`, `status()`
|
|
40
|
+
- `installToolAudit(server,audit)` wraps every future `registerTool` handler.
|
|
41
|
+
|
|
42
|
+
- [ ] Write RED tests for secret redaction, payload hashing, oversized hashing, monotonic seq, request/result request_id correlation and no raw result payload.
|
|
43
|
+
- [ ] Run `node test/tool-audit.test.mjs` and observe contract failures against the current simple logger.
|
|
44
|
+
- [ ] Implement canonical event hashing and durable fsync append with serialized writer queue.
|
|
45
|
+
- [ ] Implement request-before-handler wrapper and result summary.
|
|
46
|
+
- [ ] Re-run focused tests to GREEN.
|
|
47
|
+
- [ ] Record exact file SHA-256 values after GREEN.
|
|
48
|
+
|
|
49
|
+
### Task 2: Immutable rotation and signed checkpoints
|
|
50
|
+
|
|
51
|
+
**Files:**
|
|
52
|
+
- Modify: `src/tool-audit.mjs`
|
|
53
|
+
- Modify: `test/tool-audit.test.mjs`
|
|
54
|
+
|
|
55
|
+
**Interfaces:**
|
|
56
|
+
- segment files: `audit/segment-NNNNNNNN.jsonl`
|
|
57
|
+
- checkpoint files: `audit/checkpoint-NNNNNNNN.json`
|
|
58
|
+
- checkpoint signature domain: `DEADBYTE-AUDIT-CHECKPOINT-V1\0`
|
|
59
|
+
|
|
60
|
+
- [ ] Write RED tests that force two-record rotation and check cross-segment `prev_sha256` continuity.
|
|
61
|
+
- [ ] Write RED restart/resume test using the same state root.
|
|
62
|
+
- [ ] Implement segment discovery/recovery, max-record/max-byte rotation and atomic signed checkpoint creation.
|
|
63
|
+
- [ ] Ensure a closed segment is never reopened.
|
|
64
|
+
- [ ] Re-run focused tests to GREEN.
|
|
65
|
+
|
|
66
|
+
### Task 3: Authority/release/generation context
|
|
67
|
+
|
|
68
|
+
**Files:**
|
|
69
|
+
- Create: `src/audit-context.mjs`
|
|
70
|
+
- Modify: `src/mcp-server.mjs`
|
|
71
|
+
- Modify: `test/tool-audit.test.mjs`
|
|
72
|
+
|
|
73
|
+
**Interfaces:**
|
|
74
|
+
- `createAuditContextProvider({stateRoot, packageRoot, machineRuntime, processPolicy, codingRuntime, autonomousRuntime, hostPolicy}) -> async () => context`
|
|
75
|
+
- context contains exact release/generation identity and authority snapshots.
|
|
76
|
+
|
|
77
|
+
- [ ] Write RED tests for release manifest binding and process/coding/autonomous/host configured+armed state fields.
|
|
78
|
+
- [ ] Implement provider using verified machine runtime status when available plus package manifest/generation identity cross-checks.
|
|
79
|
+
- [ ] Import `processSessionStatus` and reuse existing authority readers; never arm/renew authority.
|
|
80
|
+
- [ ] Make `DEADBYTE_AUDIT_RUNTIME=1` instantiate the async audit writer with signing key + context provider before tool registration.
|
|
81
|
+
- [ ] Re-run focused integration test through stdio.
|
|
82
|
+
|
|
83
|
+
### Task 4: Independent audit verifier
|
|
84
|
+
|
|
85
|
+
**Files:**
|
|
86
|
+
- Create: `src/audit-verify.mjs`
|
|
87
|
+
- Create: `test/audit-verify.test.mjs`
|
|
88
|
+
|
|
89
|
+
**Interfaces:**
|
|
90
|
+
- `verifyAuditChain({stateRoot, verifyKeyPath}) -> {ok,event_count,request_count,result_count,segment_count,checkpoint_count,head_sha256,last_seq,...}` or `{ok:false,reason}`
|
|
91
|
+
|
|
92
|
+
- [ ] Write clean-chain acceptance test.
|
|
93
|
+
- [ ] Write RED tamper tests: edited line, deleted line, reordered line, bad checkpoint signature, broken cross-segment chain.
|
|
94
|
+
- [ ] Implement independent parser/hash/checkpoint/signature verification without importing `tool-audit.mjs` validation code.
|
|
95
|
+
- [ ] Verify unmatched request/result identities are reported as failure unless an explicitly open final request is the only incomplete tail caused by process death; R33 default is strict complete-pair verification for sealed segments.
|
|
96
|
+
- [ ] Re-run verifier tests to GREEN.
|
|
97
|
+
|
|
98
|
+
### Task 5: NPX-first CLI
|
|
99
|
+
|
|
100
|
+
**Files:**
|
|
101
|
+
- Create: `src/deadbyte-cli.mjs`
|
|
102
|
+
- Modify: `package.json`
|
|
103
|
+
- Create: `test/cli-entrypoint.test.mjs`
|
|
104
|
+
- Modify: `README.txt`
|
|
105
|
+
|
|
106
|
+
**Interfaces:**
|
|
107
|
+
- package bin: `deadbyte-mcp -> src/deadbyte-cli.mjs`
|
|
108
|
+
- `npx deadbyte-mcp@latest remote [start|status|restart|stop|url|...]`
|
|
109
|
+
- bare `remote` maps to `start`
|
|
110
|
+
- `npx deadbyte-mcp@latest audit verify`
|
|
111
|
+
- `npx deadbyte-mcp@latest audit status`
|
|
112
|
+
|
|
113
|
+
- [ ] Write RED tests that package bin exists, CLI has a node shebang, remote delegates to `~/.deadbyte-mcp/bin/DEADBYTE-MCP.ps1`, and source does not invoke `.cmd`.
|
|
114
|
+
- [ ] Implement CLI using `spawn`/`spawnSync` with `shell:false` and exact remaining args.
|
|
115
|
+
- [ ] Implement `audit verify/status` using independent verifier/status readers.
|
|
116
|
+
- [ ] Remove `private:true` and add public publish config only if package-boundary tests show no secret/private artifact exposure; otherwise keep registry publishing blocked and report the blocker rather than weaken packaging.
|
|
117
|
+
- [ ] Update README primary examples to npx while retaining `.cmd` only as compatibility implementation detail.
|
|
118
|
+
- [ ] Re-run CLI/package-boundary tests.
|
|
119
|
+
|
|
120
|
+
### Task 6: Regression and release gates
|
|
121
|
+
|
|
122
|
+
**Files:** no new feature scope.
|
|
123
|
+
|
|
124
|
+
- [ ] Run focused audit + verifier + CLI tests.
|
|
125
|
+
- [ ] Run full `npm test`; report observed total, never assume previous 343.
|
|
126
|
+
- [ ] Run package-boundary and relevant controller/runtime smokes.
|
|
127
|
+
- [ ] Run fresh canonical Windows gate from the exact source bytes.
|
|
128
|
+
- [ ] Record fresh manifest SHA-256 and gate evidence; all earlier manifests become predecessor-only evidence.
|
|
129
|
+
- [ ] Freeze candidate after gate PASS; no more source changes.
|
|
130
|
+
- [ ] Continue immutable activation, fresh exact-68 discovery, controlled authority window, release parity, signed rollback, predecessor verification, exact successor restore, final closure and independent final verification.
|
|
131
|
+
- [ ] Final authority state must be process/coding/autonomous/host DISARMED.
|
|
132
|
+
- [ ] Only then use verdict `BASELINE_FINAL_LIVE`.
|