{"_id":"twzrd-x402-gate","_rev":"55-6b007fbfc50a691ba44c06bc84aa1334","name":"twzrd-x402-gate","dist-tags":{"latest":"0.9.9","paying-client-fail-closed":"0.9.10"},"versions":{"0.1.0":{"name":"twzrd-x402-gate","version":"0.1.0","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.1.0","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","dist":{"shasum":"106dfad37cf1b0b1dc5fd95c7a5b7d919ab66d6e","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.1.0.tgz","fileCount":34,"integrity":"sha512-TJtRxCreduVmVKhsz/Gl7qd8MlAp9AidiRRHUJ2ViPrj0Mi0m6SO57mmGBDqWcGzNfRQ7Xu/pFPhKo/9keAYpg==","signatures":[{"sig":"MEYCIQCcmzxj8mFj9xFAeqz/F0T78qOL7ZEFgKrSlSWIXmmVdgIhAJ/NhW6b8/z0SMew43k3TTk2758fzmQZ+er5vSJ0z9sD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34223},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts","build":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"tsc"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant. Wraps fetch (HTTP 402) and the @x402/mcp onPaymentRequested hook; fail-open on preflight unavailability.","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.4.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.1.0_1782009820271_0.6149268372890204","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"twzrd-x402-gate","version":"0.1.1","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.1.1","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"dist":{"shasum":"1bed3d1a2396bddb1fd8d06fe0a43d7e0bd95325","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.1.1.tgz","fileCount":34,"integrity":"sha512-KS5erkpS9z1SPISMzwjE2WEpDeJKjDGHaJLZYtXvDsOVIi7lXOAoWUZl2OkkPlkB/cipEAGaNM9EL6+p99cBaQ==","signatures":[{"sig":"MEYCIQCAnOPGJIm4ZrXXmkx4CEIj1shG5v6Moj1juT7KcodnngIhAPAODv7cNYP+GhcsdfN6VkY5KFODPmCvwyf2mJXQgy+H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34441},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts","build":"tsc","typecheck":"tsc --noEmit","prepublishOnly":"tsc"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant. Wraps fetch (HTTP 402) and the @x402/mcp onPaymentRequested hook; fail-open on preflight unavailability.","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.4.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.1.1_1782066770515_0.49843930573306516","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"twzrd-x402-gate","version":"0.3.0","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.3.0","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","dist":{"shasum":"c818fd0f4bbd4eced3a3ca1771ee157ff2a0849d","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.3.0.tgz","fileCount":50,"integrity":"sha512-DZInnLhH24vumDNL40mH53JIa+wZ/Us6CSaRqYbaEh5hLyJV06LxIvX/AoiBRtm581fTdfXnuZmIEMFpY1Akow==","signatures":[{"sig":"MEUCICxCyPVy+MIMMMYV1eulhyA1NsjmE2rKhP0xM8PSifULAiEAsc8XSum29RNUQj2o7Se8S5tYrq9CwtpuKXyQePvbyX4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91196},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts","build":"tsc","typecheck":"tsc --noEmit","guard-demo":"tsx examples/agentic-market-gate.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.4.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.3.0_1782880189781_0.09059341433491075","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"twzrd-x402-gate","version":"0.5.0","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.5.0","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","dist":{"shasum":"4518792a0da1dd65e9743b1a37168705af5309c4","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.5.0.tgz","fileCount":58,"integrity":"sha512-cVoeIFWVc4ZKd2BNlCtUIRUWUM9vLTaLl2Yp4/lEFaPLMJZzK8EJrdiF/fLzw2eNjp4f5dQDQdeZzpXxPkJITQ==","signatures":[{"sig":"MEQCIDNgRJJmDfTX9OLym+hqVutQgOmxkxoRH7CITiaQ3lXCAiA3amGW+cOiP3U6a5LC6THvQdjIDXsbbxXagYgTBRBPPw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":115825},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts","build":"tsc","typecheck":"tsc --noEmit","guard-demo":"tsx examples/agentic-market-gate.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","typescript":"^5.4.0","@types/node":"^20.11.0"},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.5.0_1783630258313_0.18241079493861534","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"twzrd-x402-gate","version":"0.5.2","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.5.2","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"bf5e698decefc98849383e8a0dffff225b0f8e3f","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.5.2.tgz","fileCount":71,"integrity":"sha512-oj9/QiV3tuySo6Kb5pGrZ/Kd8PutZVmKPYYFMr9As1WZNpMkGVX61NJqxQu6EFIYDXfJA2vv6aLIvg5sheZ22w==","signatures":[{"sig":"MEYCIQChkpJ3DkO/wmyXJLc5hIBVRKN1Fvm0na2DpHSIO1uP6wIhAICzjXwytiNuGPvabFOtGFjXk9jRPpvpvJ++yWR/YXd2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195289},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"gitHead":"a363a216c67c3ef1e91c688eb295de50b5aaaf6a","scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts","build":"tsc","typecheck":"tsc --noEmit","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.5.2_1783671393444_0.058256371668202966","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"twzrd-x402-gate","version":"0.5.3","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.5.3","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"a1a56f5154fa2991a15d8382c00e59d6187f03f0","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.5.3.tgz","fileCount":71,"integrity":"sha512-dTzlPKwYmaYbOq89u+f7kuQXWdvsRA8bLiSd1iGAus0pk6kG6Xez+JfVc8TBHDd6uwwej01rsfk/dyzl/PAtCQ==","signatures":[{"sig":"MEUCIQCvkfon4LapN8RDpphmV6l+/P9nAhO2MpPNS+bPl2jfgwIgbJYOaYIdtUozZftFPJHpYgYURH1atrfQF7NG2pobjII=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195507},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts","build":"tsc","typecheck":"tsc --noEmit","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.5.3_1783729645301_0.9200180444861046","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"name":"twzrd-x402-gate","version":"0.5.4","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.5.4","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"1a44674ddc2b559d520d6b09a5429d61ceb164e4","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.5.4.tgz","fileCount":75,"integrity":"sha512-iPD0lRnhlHuF4JlC4HCitXg2s5sibQilhoqCYkdGYcu27UAp6huUWT2iAjz3HCcNGGA7Qt5Etj9YTU0cHWfEWw==","signatures":[{"sig":"MEQCICyGSnK6BCOHP1AEoxxETKbK4r+hi2MQC1XyVMMHKIeOAiAAvALAzywG9uQqdbDQadawoP+oa3sskzZUvCsKctm3zA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":200638},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"gitHead":"2a8fd432f14ee6839f5dd33af1c9f7cf57070bb0","scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/run-attribution.test.ts","build":"tsc","typecheck":"tsc --noEmit","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.5.4_1783836984693_0.7317002929206005","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"twzrd-x402-gate","version":"0.6.0","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.6.0","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"cecafaf6ee4553282895b2cb9d865e89c35e071b","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.6.0.tgz","fileCount":91,"integrity":"sha512-W3mB6R710n6vq1CTIW3ldtJmX5dyWWWRNQhHVz+ssdij0I7AyNt1tkgrsm7iIMUIilNTzkiKVM+febi2z9G6UQ==","signatures":[{"sig":"MEUCIFzrgNTAHkyZxuPghOwUqw+w9k0cfKBJy++NXL7vjshzAiEA8J96OxVDCwiw9HaFMSdkcyW11HCMdhhS/67+F7vljXo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":265343},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts","build":"tsc","typecheck":"tsc --noEmit","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.6.0_1783846528085_0.19962595327514165","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"twzrd-x402-gate","version":"0.6.1","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.6.1","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"10bfe6e14a19925b786b3d4b99f261644f9c1fd9","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.6.1.tgz","fileCount":91,"integrity":"sha512-An7hLJmka9BzDYcTEAtV6WQO5qiIbz1mSzhFMTcBBnFWym9rhVsRkCDvNsg/aeRuzUjqndqjV2XPB1hJzpy0Hg==","signatures":[{"sig":"MEUCIEDE/LYLu2EMXdy7KdkFPDOEKaRIMrA0UmMfvwrjllLcAiEAy4EdKWQ4i88kId2IudSVTp7C37b5wwtwn/32rVlBLwI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":265168},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts","build":"tsc","typecheck":"tsc --noEmit","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.6.1_1783847406846_0.10425072988001349","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"twzrd-x402-gate","version":"0.7.0","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.7.0","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"b2c9ebd52dc26f97949dd9e5ce234bec0d4a361a","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.7.0.tgz","fileCount":99,"integrity":"sha512-FQKniYe8q7iRoyeONtnwxwFavURZWaSqm/hqnCpr9KDd/23p3btLS9VjkEmmSCF9i/qS0x7HK+aM7cPbtM4LLw==","signatures":[{"sig":"MEQCIBT1EwFgnV5glkTPTD2aYKkqqDRLtfjmLW55qxdZ/o+gAiBVRZVaBs9IkK2xSB4zRWNhJfyPfHOiZfqdxRMA6qoFFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":330871},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.7.0_1783927187277_0.2558808864440123","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"twzrd-x402-gate","version":"0.7.1","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.7.1","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"de3fadcc659f4df7f015dba12806149ec421b7d5","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.7.1.tgz","fileCount":99,"integrity":"sha512-YIj9uXl/ilnvd9lLspKQUMF5C6Myl8FSJOawjcnal904ll8WLcokmSMFiEO40F/6GnxxWN3SpF/fu7c+8Ps0PQ==","signatures":[{"sig":"MEQCIDUcHAHlwD8aebVjSKXWxtqqZZyVAtril9HcQ6K7fKPmAiAVjJ58oiX4HkiNUkA7jiEw4pHiX7tvS/tHB1ZPFAdLjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":330871},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.7.1_1783930740550_0.3734715416993424","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"twzrd-x402-gate","version":"0.8.1","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.1","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"92ea50fe6448a9b88ebd4472e06465923dfd55c9","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.1.tgz","fileCount":103,"integrity":"sha512-1Xm7ZNDHAyKkuBmrjGfZkBj93wkuOFVgjNPwNQQk4gzSeAWs13VRQHzJudgqI2++Ssl1WHicU44/VejHPuPQRQ==","signatures":[{"sig":"MEQCIEdCDF920zQVqKjil9bUnsfzv3eitWPIPBI60eDEEbqaAiA8JPga/QJ1wgddN0wDZ6YvuMyQ4hkZDHbQwZ9cKT1FDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":362408},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"}},"scripts":{"test":"tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Buyer-side x402 trust gate. Run a free TWZRD preflight (ReadinessCard) before signing USDC to any x402 merchant, and autonomously escalate a `warn` to a $0.001 paid trust check that re-decides — blocking the spend on bad paid intel, no human in the loop. ","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.1_1784189861148_0.11348575748872536","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"twzrd-x402-gate","version":"0.8.2","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.2","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"a9e17f8c2b692dd406189b3088dcf548e785d1f3","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.2.tgz","fileCount":107,"integrity":"sha512-sM14r+FkFYzlwt5Xae75CbJA3zV6csPDZmFsNAjTa5Ow3zOBVep+Etc1+n/mFjVU/+KA+AgmYui+/haLoUzn0w==","signatures":[{"sig":"MEUCIHYfe7q9SkovJw5FRMEqp1aY3qyd2ne9mkVJyH2s8zvQAiEAkwabs7QZzZUtsB0LzUwTL/NZuWXs4uJS7uLU30H6S2s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":396245},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.2_1784745800601_0.5842049343964446","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"twzrd-x402-gate","version":"0.8.3","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.3","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"4233f70a58ef0cf02a1cebd215a0f64afd901231","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.3.tgz","fileCount":107,"integrity":"sha512-p4JppBuscZVplPYC58zXPjpOueLd5L87uubAB0ElH7pW5ZuuaGExOz8+ky2z3xpCczA0XRpTGHwqwTKrfw9XzQ==","signatures":[{"sig":"MEQCIH7TlW0o4Om7cdX967T15TEtlC4a1sYH2CHBlSQTC8btAiB5xmD+PynuC4r/LkUJuHCpNBIeMbO1mv8U8slJsVuDfw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":403519},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.0","@x402/svm":"^2.17.0","@x402/core":"^2.17.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.17.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.3_1784762434712_0.31879399783756934","host":"s3://npm-registry-packages-npm-production"}},"0.8.4":{"name":"twzrd-x402-gate","version":"0.8.4","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.4","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"20aff8c47a05cb63423fcea4eacb8020a4dc27c9","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.4.tgz","fileCount":107,"integrity":"sha512-feuLCTdE0ORDGYI3pl1PgWu/cqkIkQsTNmdQwtpGDhlHNK1q8SNpnPEbo+VbXrNUP5L3ePwlrvrHPk1Y5ywQDA==","signatures":[{"sig":"MEUCIQDpUqPFxT42XVOk3s9OnrbgzMuk2f3dO7tGW8UjkoiIKQIgHSMHrX/z3LkMBYWagdPvFA21t0GEmeJF0T5U+rgaUQs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":410064},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.4_1784969389818_0.009301334537219041","host":"s3://npm-registry-packages-npm-production"}},"0.8.5":{"name":"twzrd-x402-gate","version":"0.8.5","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.5","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"b3f91cdb1232d627e724c290d254316b5ad47261","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.5.tgz","fileCount":115,"integrity":"sha512-CCjTM+WeTEcNb16HK7jPVC1AZACMriVQnNWqdEKtRQJCwJygjDF41ZxxHvnx0OpGqR5ePkHM+LwEoeRYFNOpCw==","signatures":[{"sig":"MEUCIQDaFkQhNcjVBefBvV5co77EveqULEKpDvoMdpON/iemcgIgeB2TWEy6AxtGC6Io+UgcB0v4tWTDl40iXaU7yT+a568=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":421717},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.5_1785109852011_0.5631698031722554","host":"s3://npm-registry-packages-npm-production"}},"0.8.6":{"name":"twzrd-x402-gate","version":"0.8.6","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.6","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js"},"dist":{"shasum":"cfbbd2471e21a5134af589424756135f0f3666b5","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.6.tgz","fileCount":119,"integrity":"sha512-bdul9FcdKhFWuLXSWJad+za+gFETQwUMZSyCrnt358XmELKXVOY9hkdOEgcmzMEzPkBON6LCr+RZU61JpjOJ6Q==","signatures":[{"sig":"MEYCIQCZbPnQPKNB1GD1VTTFmljFM85SPxf/FzktRBMopjS7PAIhAJO0gw9ljsIs5ulCqSoceUcCYzXeeVYsaKQu1TSV7W+h","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":441083},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.6_1785115845710_0.9898071329840117","host":"s3://npm-registry-packages-npm-production"}},"0.8.7":{"name":"twzrd-x402-gate","version":"0.8.7","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.7","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"b65c9c5a7bc6041b034715e0aa0d036928a9467a","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.7.tgz","fileCount":120,"integrity":"sha512-BG39ydkk1EfJaiaEty6cAEpK/XHM4Mha1+oHLMA7734ClhrVWkLmnbFVmg5xyUylsg9UMlk+oQE14kKDHxA1YA==","signatures":[{"sig":"MEQCIDBjzwC891GnFlnPEOvSTEc75gxNV+HxRMsxuKyYnT1ZAiBIfe/vI4LTxy5P1Y9YLDJZ7R5n/xJWYVIN+tB0vk7Nvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":447309},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.7_1785383785794_0.7124760098636587","host":"s3://npm-registry-packages-npm-production"}},"0.8.8":{"name":"twzrd-x402-gate","version":"0.8.8","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.8","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"14ab7db2f7ff04029dd67b666c633498f0b8e1d7","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.8.tgz","fileCount":120,"integrity":"sha512-jk2ddk8CC+1aJ2rQLugGalXJo/eXEsYUJUs+Cq9FyeKoQCz0LQUc99WbrPkP5mUCTZNSmjmVvS8feyNtipVo4A==","signatures":[{"sig":"MEUCIGTsByrQbBzC4qRdrP64Vs2v12lQvRB4I/aBdN79AtpgAiEA1+F1gFKtwgmR7BKz4nBT6XjG8OzpQas44h4isEx3A34=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":447299},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.8_1785383808376_0.11407344634412864","host":"s3://npm-registry-packages-npm-production"}},"0.8.9":{"name":"twzrd-x402-gate","version":"0.8.9","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.9","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"315e010a1d1c0e73a6a1126c93de62c6a02359ea","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.9.tgz","fileCount":120,"integrity":"sha512-eaFvTiFGPcsQMzysEx++3tbX1/gihmQ369b0HhbVUAwYl+JpAsjqT8hrOuhu65Snj+s9CwvZb+ODXio6htrTvg==","signatures":[{"sig":"MEYCIQClWvqG/mjB81q/WAZyhH03BbR42P8AzDIRjFPtXdHZOwIhANHbuRwDhlBPOdOeudqKoOUp4nvSSkOZg2Vc82KedOAU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":447406},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.9_1785537894911_0.0193965043491362","host":"s3://npm-registry-packages-npm-production"}},"0.8.10":{"name":"twzrd-x402-gate","version":"0.8.10","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.10","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"d7814e715b70d5b4f35f9f4ee6a52acd62ead938","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.10.tgz","fileCount":126,"integrity":"sha512-xkNZuGkZkNN4wGV4pteMRkHN5FKHBUZOkxVAZt+xkF+sGyMmKXqOZwPYpxuK3/W1YKBVd2ozdD9cMop5IYgR0Q==","signatures":[{"sig":"MEUCIQDvVu4dkukUhjl7X6TisjjMqI9+G9A/394/AcXgtzQo6AIgHs0jK7Ts227vlN8ChJ3tNp0P4tQUjR6VPmZXyFiZuJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":469313},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.10_1785611126186_0.8071937303698615","host":"s3://npm-registry-packages-npm-production"}},"0.8.11":{"name":"twzrd-x402-gate","version":"0.8.11","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.11","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"a5451c8e890f7454f7e28ea82b364a6b47a095ec","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.11.tgz","fileCount":126,"integrity":"sha512-A1Ixx4svJ3t/iiJajylluY4KYaHSREwm/8rzmq3GkNpJIA/1vKycEC3R6xIlAEA1sBmOdpw6SoEJPdlOFFMG+A==","signatures":[{"sig":"MEQCIAGOVxx1mXfNt033W/Q3QrWwKqJQu+dL4xd6hFOiXJzyAiBx8TNR6bT2kmzEDjhw93SUZUJlQ2ybegkoNjk/lKmuBA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":479787},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.11_1785686563637_0.9373579493892443","host":"s3://npm-registry-packages-npm-production"}},"0.8.12":{"name":"twzrd-x402-gate","version":"0.8.12","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.12","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"448ff726bbc8c18b1df54203f06f7fb625c5ff6f","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.12.tgz","fileCount":130,"integrity":"sha512-XCiLPZPFiK7rjqEpKbE80EXNEgpXXILyrVlOOD2wyuaaxS5wk7Xl5Z1j/3K8OFTj2ch0bV6QOmRg/g9ct9NEPg==","signatures":[{"sig":"MEUCIBzgw6u1cbAfi5njudO/EIvN5JBp6dHNRnpw8U0hu4xKAiEA8LSRO7Hq9yqro0EkQixVOtFsTMmpKs1TdATfmOrFBBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":504720},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.12_1785731971873_0.8704226392015857","host":"s3://npm-registry-packages-npm-production"}},"0.8.13":{"name":"twzrd-x402-gate","version":"0.8.13","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.13","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"27f3b88abfc8198ced7e62d72741d2125ed8b0db","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.13.tgz","fileCount":130,"integrity":"sha512-qxQzXad/aoHsQ+1QSGqVhmtPPYrD72y/WdLBAHsL4HQgv89trBWYUxydeqx0BHV1qHRZXQQeJyEgh2zR1EH4hg==","signatures":[{"sig":"MEQCIE10kh+xaDKVoKpVTcYJedTJZGULk5Ysc0nPqrvQIHP5AiBF5yaKuOKDRsAs92TmxHmdTeAwBGNNGoacYURZWTlBMQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":513989},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.13_1785827075019_0.18834170292586494","host":"s3://npm-registry-packages-npm-production"}},"0.8.14":{"name":"twzrd-x402-gate","version":"0.8.14","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.14","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"e7ef0b003d42d0b81f8dfaca1b97ed0a46d3200e","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.14.tgz","fileCount":130,"integrity":"sha512-Q+XrGciTwLjjuHwqKbKSwLjdbohy5ujzWS0pnF44cMplBVb/ZQoFoDoWA+E3pFkV+8S5tDJzFkfQ76TeUFp5oQ==","signatures":[{"sig":"MEQCIHBcNRH6ujPg9XscKHiYufTDnUXPI/SkPWYwrHFkc1JeAiBHVYOfgv6YW6UBU2wesSaRguXgb1pKzFX6NkKupd7Ofw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":517094},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"10.8.2","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","@x402/svm":"^2.19.0","@x402/core":"^2.19.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.19.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.14_1786071008123_0.7139313502870277","host":"s3://npm-registry-packages-npm-production"}},"0.8.15":{"name":"twzrd-x402-gate","version":"0.8.15","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.15","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"df703f87140fb70e8588236c93fb133240378af4","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.15.tgz","fileCount":130,"integrity":"sha512-Gt2OqxXYF6f3ucod0nCpcd+ePr90e2o2rlJFuzqG/7oJpBpD74i5eAMR+DPATfyy292EYZYBwQka0o1318zODQ==","signatures":[{"sig":"MEYCIQCVWcKQeqZ+b06XBnTI6OYN8NqmRjQM4fLu/sGPlRiFpQIhAK71LBjf/aWF15CBqCLPRQesNB1sOdmxIPnHsb+T0+YL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":517737},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.9","@x402/svm":"^2.21.0","@x402/core":"^2.21.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.21.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.15_1786571835529_0.10474026992834884","host":"s3://npm-registry-packages-npm-production"}},"0.8.16":{"name":"twzrd-x402-gate","version":"0.8.16","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.16","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"29d5ec8b8c68e9e4868ec4a3a239dcbe2880a85f","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.16.tgz","fileCount":130,"integrity":"sha512-GxE2CuF669HvueDYp3efQxZ2/sIEpS8T+C9Ul81GlXDMb2DwYn/edURaUKWKW71TpCPTbEiIuudst4Z0MEfbhA==","signatures":[{"sig":"MEYCIQCohkxmmGzWG4lOhB5iJiwgXi0NMIDZncMufDgRdfzx9gIhAKtc9ihL8iFfi4H72lcyX58HrlysdxBwhbGOj3vFy6V+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":517737},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"gitHead":"26c5f9e75a6bc3e5ad3189bcac4ab9ab033e31bd","scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"10.9.8","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.9","@x402/svm":"^2.21.0","@x402/core":"^2.21.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.21.0"},"peerDependencies":{"@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.16_1786576102436_0.4907129828871857","host":"s3://npm-registry-packages-npm-production"}},"0.8.18":{"name":"twzrd-x402-gate","version":"0.8.18","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.18","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"67d11af9112f07191e982368a269aea79edaa65f","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.18.tgz","fileCount":138,"integrity":"sha512-kDqYP8zokcqGnz9y6fQuvwvwaOLN/CUTm+xoJC465HevQjwiytxqK7Zg4y4DDPitDU/ylgpnx6LPax6XY6rfkw==","signatures":[{"sig":"MEYCIQDkj09Q2jsHdGxHyrgxfwtde6zyVH5mQvzH3cstxHhI4gIhAO30TBJzAQ7zge9A3yAb41Tcm8LtFlcgUfin79/QbzAU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":573901},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"gitHead":"df2ec056ec817fe4359e1f3fb80f85ec5be59d94","scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/buyer-defaults.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/budget-refuse-codes.test.ts && tsx test/cited-outcomes.test.ts && tsx test/outcome-attestation.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"10.9.8","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.18_1787116343854_0.3305838961235026","host":"s3://npm-registry-packages-npm-production"}},"0.8.19":{"name":"twzrd-x402-gate","version":"0.8.19","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.8.19","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"996dd9ab79fac102b1cb9d301377e5a5a093f0bb","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.8.19.tgz","fileCount":138,"integrity":"sha512-AUmsuu2jXA056ZyRuJczFUX3IAB88W5iBOXE2Ijxof1wlgPGh6ubRra0/Mu/jySqhDf8BHFl/iAw1DrSuJGuGQ==","signatures":[{"sig":"MEYCIQCfC5X8GHTYUa3yEp+Jnru1xqUb4DpLiQQ7DoH6JohnnwIhAN3DhxArMjDxlpBDHeeGi/KuV8xAHmW366FPZUFKvFsV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":573901},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/buyer-defaults.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/budget-refuse-codes.test.ts && tsx test/cited-outcomes.test.ts && tsx test/outcome-attestation.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.6.1","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.10.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.8.19_1787130663031_0.8739756494520681","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"twzrd-x402-gate","version":"0.9.0","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.0","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"ccb3ac501d540d82140618a32e6e069535044251","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.0.tgz","fileCount":150,"integrity":"sha512-fJ66arppda/2QbQDkvMWfYLZvH0fpXFgJAI62vV8Mi8065KIi8ztjGQ+LltGnMl7diTatB2Qidwnv9s6YU4crA==","signatures":[{"sig":"MEUCIBtD+XQ2cJ7iBCaEDgf9mXINfU0+zSG+Bs6QlhKJFjjdAiEAsy/xl0LUwhJ+ULe1QiB0lY4XZrjEqw+xtnTFV+xks8Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":627142},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"}},"scripts":{"test":"tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/cloudflare-x402.test.ts && tsx test/cloudflare-base-edge.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/buyer-defaults.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/wash-default.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/budget-refuse-codes.test.ts && tsx test/cited-outcomes.test.ts && tsx test/outcome-attestation.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Product: paying client with wash brake. createTwzrdPayingClient / createTwzrdBeforePaymentHook default = GET merchant_card → abort iff wash_flagged, fail-open if intel down. No Path A in the default. Full 0.8 engine via engine:\"full\". Optional settle guar","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.0_1787384824062_0.3052456837227344","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"twzrd-x402-gate","version":"0.9.1","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.1","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"d767c82a2750c3a399b64209d16f6e127f4a2505","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.1.tgz","fileCount":174,"integrity":"sha512-hvF/ODsGBF8wIXDrctXtE/uBLxgAkB8eZohB1Ti5bR0SKhmMQchI3vFCppFQ8rI1dwL/do+cgIoJXZmrdKZW7w==","signatures":[{"sig":"MEYCIQCA2l7UZa3pAIpLEEh7Tey/Jw7F94c4CTTmIPp7aMk/2AIhAOsPzhlvIUkvHQ6QCptTg5AcmdZQA+bdZlHyhdFqjBDQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":705331},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"}},"scripts":{"test":"tsx test/spend-control.test.ts && tsx test/consumer-spend-control.ts && tsx test/resource-bind.test.ts && tsx test/resource-bind-tx.test.ts && tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/cloudflare-x402.test.ts && tsx test/cloudflare-base-edge.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/buyer-defaults.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/wash-default.test.ts && tsx test/paying-fetch.test.ts && tsx test/policy-fetch.test.ts && tsx test/spend-ledger-file.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/budget-refuse-codes.test.ts && tsx test/cited-outcomes.test.ts && tsx test/outcome-attestation.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"The wallet attaches to policy, not to the agent's judgment — prompt injection cannot renegotiate the caps. Product: paying client with wash brake. createTwzrdPayingClient / createTwzrdBeforePaymentHook default = GET merchant_card → abort iff wash_flagged,","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.1_1787577875282_0.40128327070856584","host":"s3://npm-registry-packages-npm-production"}},"0.9.2":{"name":"twzrd-x402-gate","version":"0.9.2","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.2","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"29073451a9dbf65c04680dd5ffb6b5f42f46b83c","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.2.tgz","fileCount":154,"integrity":"sha512-Cj29mr7+YrNtiuQ9l0iD2VxbUbkRjIj8EJj18xLlpoyYFuH4u2hhYHsINgPMihLXRXgJLETMBcmdOMmb8m5fFw==","signatures":[{"sig":"MEUCIQCoIlWot7EymOK6T76em320rXkodmbRatBF5NrnolqbdAIgB3W1knShJrp6fZGPqpkimVX1zE8ygO1B3djZ7fMwypE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":629623},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"gitHead":"70aae3400be05f26b13581c26c8f610bba66311f","scripts":{"test":"tsx test/resource-bind.test.ts && tsx test/resource-bind-tx.test.ts && tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/buyer-defaults.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/budget-refuse-codes.test.ts && tsx test/cited-outcomes.test.ts && tsx test/outcome-attestation.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts && tsx test/spend-control.test.ts && tsx test/consumer-spend-control.ts && tsx test/spend-ledger-file.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.2_1787906722621_0.2543168992410383","host":"s3://npm-registry-packages-npm-production"}},"0.9.3":{"name":"twzrd-x402-gate","version":"0.9.3","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.3","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"9e6599518941e20220428137cb000602493eab8f","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.3.tgz","fileCount":158,"integrity":"sha512-Fzlo89R71dD3HfqfyG9VB3oulU9lEQc4R6bsrpkWF3IElVdFv1s5yuo460xY5wkrM0ubnZUrvi5zcEriewQIPQ==","signatures":[{"sig":"MEUCIQDkl3qhJRsx9mpRULnIs3Pfl4MVidp3JGnQiUTVs3XEDgIgL3uQl1kH6KHZhDm0Eu6gT8rpHZ2WrhPPUHGQ3CZhecs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":644318},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.3_1788250740765_0.719381722086587","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"twzrd-x402-gate","version":"0.10.0","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.10.0","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"2c96752a365705e2e4aead574ebc3a9f24a06db4","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.10.0.tgz","fileCount":171,"integrity":"sha512-mpSm2cn76cisPawSmoOJOXgQea2+6y6crFqvk/9hySnL+8eqw9BjGvLCzjemJVWSiv/dKb7sLhDn5fBfzk4WXw==","signatures":[{"sig":"MEUCID5kMuk3U1eE5XCifJSeUSxGgDbyQBsZP7JDeHXBZZp1AiEAwvXo+mJfvQ6mfFmuUYXRf5HvUWFagC37KMsfpikLOFA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":681981},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./unsafe":{"types":"./dist/unsafe.d.ts","import":"./dist/unsafe.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json"},"scripts":{"test":"tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke","evidence-bundle":"tsx src/evidence-bundle.ts","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"deprecated":"fail-open defect: a merchant_card outage is indistinguishable from 'no wash signal', so the gate silently ALLOWS payment while failOpen:false documents the opposite. No source in git for this line. Use 0.9.9 or later.","repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.10.0_1788343555873_0.4947261527129323","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"twzrd-x402-gate","version":"0.10.1","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.10.1","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"4078846ec6deed2c1a7e0b51b5c18e4b73c70f2f","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.10.1.tgz","fileCount":183,"integrity":"sha512-lXbyIHI2yBjUglxQ0dNoLXU1m/g48BDxmWLJF0pMn1E01HMwhejh+RaKUTUkjQA2g7Ydw0Ho4ILlvo94r10fPQ==","signatures":[{"sig":"MEQCICJvdwtNYdh9Va9nb8mX6gq974ec7/hAJbIuOZdTo3+hAiA0wLah+ppRAnRYCmjAvzRxPbcK7qLtuvjknPTyGcGvTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/twzrd-x402-gate@0.10.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":853657},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./unsafe":{"types":"./dist/unsafe.d.ts","import":"./dist/unsafe.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"}},"gitHead":"457acbeae9898527c972abe0cb2b1a673084599c","scripts":{"test":"tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke && npm run pack-release-contract","evidence-bundle":"tsx src/evidence-bundle.ts","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","foreign-client-proof":"tsx examples/foreign-client-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","pay-kit-before-payment":"tsx examples/pay-kit-before-payment.ts","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"deprecated":"fail-open defect: a merchant_card outage is indistinguishable from 'no wash signal', so the gate silently ALLOWS payment while failOpen:false documents the opposite. Unreproducible build (./unsafe), no source in git. Use 0.9.9 or later.","repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"10.8.2","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.10.1_1788764382339_0.6116623797087481","host":"s3://npm-registry-packages-npm-production"}},"0.9.4":{"name":"twzrd-x402-gate","version":"0.9.4","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.4","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js"},"dist":{"shasum":"4e6c505437d305e82f882ba596859dc6a30ddac8","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.4.tgz","fileCount":186,"integrity":"sha512-FgdozKjGHmk20qR0qP7AXs12DvYRg6iEzUy+u86RwMfZX5zlwqVUoKamWeMZwZCdBVpL9C2MEwxMh5zZYXGHbQ==","signatures":[{"sig":"MEQCIGCtn3XaJ9tAhqGGOnd+WqsnWIZVCyJEMSTcBWxI3iecAiAjGjN3Qa6+G4O5NSVGZpPWvH1c9e+UWW8JfyC31XOmRA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":838585},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"}},"scripts":{"test":"tsx test/spend-control.test.ts && tsx test/spend-control-base-rail.test.ts && tsx test/consumer-spend-control.ts && tsx test/resource-bind.test.ts && tsx test/resource-bind-tx.test.ts && tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/cloudflare-x402.test.ts && tsx test/cloudflare-base-edge.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/buyer-defaults.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/wash-default.test.ts && tsx test/paying-fetch.test.ts && tsx test/policy-fetch.test.ts && tsx test/spend-ledger-file.test.ts && tsx test/auto-gate.test.ts && tsx test/pay-kit-before-payment.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/leash-c-capacity.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/budget-refuse-codes.test.ts && tsx test/cited-outcomes.test.ts && tsx test/outcome-attestation.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts && tsx test/foreign-payer.test.ts && tsx test/clawrouter-contract.test.ts && tsx test/daily-ceiling.test.ts && tsx test/mandate-identity.test.ts && tsx test/spend-control-concurrency.test.ts && tsx test/pack-surface-contract.test.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","foreign-payer":"tsx examples/foreign-payer.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"tsc","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","agentic-market-demo":"tsx examples/agentic-market-gate.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"The wallet attaches to policy, not to the agent's judgment — prompt injection cannot renegotiate the caps. Product: paying client with wash brake. createTwzrdPayingClient / createTwzrdBeforePaymentHook default = GET merchant_card → abort on measured wash ","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0 <6","@x402/fetch":">=2.0.0","x402-solana":">=2.1.0","@solana-program/token":">=0.9.0 <0.10"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.4_1788771239434_0.7649624525769336","host":"s3://npm-registry-packages-npm-production"}},"0.9.5":{"name":"twzrd-x402-gate","version":"0.9.5","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.5","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js","twzrd-payment-decision":"bin/twzrd-payment-decision.js"},"dist":{"shasum":"5b895bb5e0d134715a2309baae3ed0be8d198ccc","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.5.tgz","fileCount":188,"integrity":"sha512-iS3UMpTRpt0MQcrGUhb6ec2wulbesrCGVv1rPjVCgVv2T49ofEaWU63bKRHDaDhu4Fz9ZZEV8s1ONEjD66ADfg==","signatures":[{"sig":"MEQCIFJXyrRjwpXw1gTZfqgjGoQyG+IzMk0rRsSxCApaPOoVAiBB+NmoYO80PKJVbBk/fZWHFZQXBal9EEMThWlJvBYyEA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":935629},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"},"./payment-decision":{"types":"./dist/payment-decision.d.ts","import":"./dist/payment-decision.js"}},"scripts":{"test":"tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke && npm run pack-release-contract","evidence-bundle":"tsx src/evidence-bundle.ts","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","foreign-client-proof":"tsx examples/foreign-client-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","pay-kit-before-payment":"tsx examples/pay-kit-before-payment.ts","payment-decision-verify":"tsx src/payment-decision.ts --verify","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.5_1789002777911_0.346077712794711","host":"s3://npm-registry-packages-npm-production"}},"0.9.6":{"name":"twzrd-x402-gate","version":"0.9.6","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.6","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-bounty-preflight":"bin/twzrd-bounty-preflight.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js","twzrd-payment-decision":"bin/twzrd-payment-decision.js"},"dist":{"shasum":"88ae670aee31793f565a3636969a204015d083c8","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.6.tgz","fileCount":201,"integrity":"sha512-qmvPDibvCoUeqHDYLSmkMo+PLdWm87cho4DA/X2l2mtctl38GTL0rVqz7dpGbvJd1liiuLVmsDwjO4gUKi8fBw==","signatures":[{"sig":"MEUCIQCaER4hUlNhPP8INfT26wALOTjRYEl4AsMUB4cYFUNdUQIge/YGkiqedBZL6rgQuxDUuURn3E87ontcwnr82LQzLZo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/twzrd-x402-gate@0.9.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1008052},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"},"./payment-decision":{"types":"./dist/payment-decision.d.ts","import":"./dist/payment-decision.js"}},"gitHead":"ce8cb085da74f5b08c224ec797f28ba04474632d","scripts":{"test":"tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke && npm run pack-release-contract","evidence-bundle":"tsx src/evidence-bundle.ts","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","bounty-preflight":"node bin/twzrd-bounty-preflight.js","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","foreign-client-proof":"tsx examples/foreign-client-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","pay-kit-before-payment":"tsx examples/pay-kit-before-payment.ts","consumer-adjacency-demo":"tsx examples/consumer-adjacency-demo.ts","payment-decision-verify":"tsx src/payment-decision.ts --verify","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"10.8.2","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.6_1789197411097_0.3276661017358662","host":"s3://npm-registry-packages-npm-production"}},"0.9.7":{"name":"twzrd-x402-gate","version":"0.9.7","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.7","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-bounty-preflight":"bin/twzrd-bounty-preflight.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js","twzrd-payment-decision":"bin/twzrd-payment-decision.js"},"dist":{"shasum":"cf7f513070359876f67538622910849e8d1c5610","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.7.tgz","fileCount":201,"integrity":"sha512-XfRl+iPWG55hbNtviX8JX5ulmcSmRBsZlm/q2dJfyVKsOo46GM8OdGRixY4bDIAmVA+OhCFp765e5UADHurxEg==","signatures":[{"sig":"MEUCIF49B5rZPl0EhcaJG3YBJ/NhC/7ELSd72D5DihVrfEQDAiEA3v3rNjJetRd8HPEvKEZO/3dwFlVwzTv5fE4VUnh3zsA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/twzrd-x402-gate@0.9.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1009162},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"},"./payment-decision":{"types":"./dist/payment-decision.d.ts","import":"./dist/payment-decision.js"}},"gitHead":"a116ec40d15815feed8103c4ed9ffbc40b773fcf","scripts":{"test":"tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke && npm run pack-release-contract","evidence-bundle":"tsx src/evidence-bundle.ts","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","bounty-preflight":"node bin/twzrd-bounty-preflight.js","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","foreign-client-proof":"tsx examples/foreign-client-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","pay-kit-before-payment":"tsx examples/pay-kit-before-payment.ts","consumer-adjacency-demo":"tsx examples/consumer-adjacency-demo.ts","payment-decision-verify":"tsx src/payment-decision.ts --verify","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"10.8.2","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"20.20.2","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.7_1789199831513_0.2807160306191301","host":"s3://npm-registry-packages-npm-production"}},"0.9.8":{"name":"twzrd-x402-gate","version":"0.9.8","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.8","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-bounty-preflight":"bin/twzrd-bounty-preflight.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js","twzrd-payment-decision":"bin/twzrd-payment-decision.js"},"dist":{"shasum":"35f35042870e91cd41c6ba7aba73d5e6eda2db37","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.8.tgz","fileCount":201,"integrity":"sha512-/X4x4ilCFl1je3lwpygq68ylIpyB+xCDX0vzzn3CnbW+7TOPQYZD0n7phWvDzZHJNY9qbIpknw+pqddBzQNbAQ==","signatures":[{"sig":"MEUCIBof9JarfQvw8zk3MdMlpIimlKWtLW5KSBoG27Y+roTNAiEA7rc2fOGrtNumCRRm4CFb3uIGTCBBZcgGoa3XC0DBK9E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1030963},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"},"./payment-decision":{"types":"./dist/payment-decision.d.ts","import":"./dist/payment-decision.js"}},"scripts":{"test":"node scripts/reap-tmp-run.mjs -- npx tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke && npm run pack-release-contract","evidence-bundle":"tsx src/evidence-bundle.ts","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","bounty-preflight":"node bin/twzrd-bounty-preflight.js","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","foreign-client-proof":"tsx examples/foreign-client-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","pay-kit-before-payment":"tsx examples/pay-kit-before-payment.ts","consumer-adjacency-demo":"tsx examples/consumer-adjacency-demo.ts","payment-decision-verify":"tsx src/payment-decision.ts --verify","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","x402-solana":"^3.0.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.8_1789341418480_0.133304704583459","host":"s3://npm-registry-packages-npm-production"}},"0.9.9":{"name":"twzrd-x402-gate","version":"0.9.9","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.9","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-cold-start":"bin/twzrd-cold-start.js","twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-bounty-preflight":"bin/twzrd-bounty-preflight.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js","twzrd-payment-decision":"bin/twzrd-payment-decision.js"},"dist":{"shasum":"614f5b2ae29537ef1147bf4805931deac7ebdfce","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.9.tgz","fileCount":206,"integrity":"sha512-lU6FeGobZa2g3AQMdRYmSDqZavo+f+V71zsrsUs1vlosGIaVvTgjqKMqDE2P/u+9qv4psgIcUWW0aqQMpOFBQA==","signatures":[{"sig":"MEYCIQDnmKO86Ppx9QhAzihmJe3FDTO/GAWC5xj/KGVg1A4mWQIhAJ4EXqfwgM74hR5hxRyGiKoKYRP8x+DePF1EaIrZUqTP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDR/cM0Zz9E6wofEh+9+wrzf4WS7MUTLyTy/ngAlgTVugIgRHy6LaDdPTgW8yr9snlxJxw1I1d2nNDs6a2X844FKDw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1085410},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"},"./payment-decision":{"types":"./dist/payment-decision.d.ts","import":"./dist/payment-decision.js"}},"scripts":{"test":"node scripts/reap-tmp-run.mjs -- npx tsx --test test/*.test.ts test/consumer-spend-control.ts","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","cold-start":"node bin/twzrd-cold-start.js","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke && npm run pack-release-contract","cold-start-live":"npx tsx --test test/live/cold-start.test.ts","evidence-bundle":"tsx src/evidence-bundle.ts","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","bounty-preflight":"node bin/twzrd-bounty-preflight.js","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","foreign-client-proof":"tsx examples/foreign-client-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","pay-kit-before-payment":"tsx examples/pay-kit-before-payment.ts","consumer-adjacency-demo":"tsx examples/consumer-adjacency-demo.ts","payment-decision-verify":"tsx src/payment-decision.ts --verify","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","x402-solana":"^3.0.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.9_1789510299281_0.05189586470493501","host":"s3://npm-registry-packages-npm-production"}},"0.9.10":{"name":"twzrd-x402-gate","version":"0.9.10","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"license":"MIT","_id":"twzrd-x402-gate@0.9.10","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"homepage":"https://intel.twzrd.xyz","bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"bin":{"twzrd-cold-start":"bin/twzrd-cold-start.js","twzrd-safe-fetch":"bin/twzrd-safe-fetch.js","twzrd-gate-doctor":"bin/twzrd-gate-doctor.js","twzrd-evidence-bundle":"bin/twzrd-evidence-bundle.js","twzrd-bounty-preflight":"bin/twzrd-bounty-preflight.js","twzrd-gate-eval-refuse":"bin/twzrd-gate-eval-refuse.js","twzrd-payment-decision":"bin/twzrd-payment-decision.js"},"dist":{"shasum":"6153a7273667c4b84e199c9b45bdf3e843a723ee","tarball":"https://registry.npmjs.org/twzrd-x402-gate/-/twzrd-x402-gate-0.9.10.tgz","fileCount":234,"integrity":"sha512-7H7kVgyE8vHDRTAp74mWuWJBJg0r/yZci4c5D2j0yqGK9TAsuPzZKRA+ZSGq9VjP8rpEUciv7Fz+3+iOVZvVHQ==","signatures":[{"sig":"MEUCIHivo+A/my5EPn7c44ipXk8JuNq4qXZSnaSnLgarxdtmAiEAibjbR1GOgcyfmJ0TqNtNYO9z/7aii5m3lneMF7fw6Fs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBsAJAsfSbhSZTNg8oL3iYlZcKp7c5sexjXMGPALnDANAiEAiMhVP5cIPDRbacUWYJ5lmptcVca4InT7rXD4G5uLXLo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1173713},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./safe-fetch":{"types":"./dist/safe-fetch.d.ts","import":"./dist/safe-fetch.js"},"./package.json":"./package.json","./cloudflare-base":{"types":"./dist/cloudflare-base.d.ts","import":"./dist/cloudflare-base.js"},"./evidence-verify":{"types":"./dist/evidence-verify.d.ts","import":"./dist/evidence-verify.js"},"./payment-decision":{"types":"./dist/payment-decision.d.ts","import":"./dist/payment-decision.js"}},"gitHead":"c5db21b08692d520895170d2db2c073ab0a44965","scripts":{"test":"node scripts/reap-tmp-run.mjs -- node scripts/test-0.9.10.mjs","build":"tsc","typecheck":"tsc --noEmit -p tsconfig.check.json","cold-start":"node bin/twzrd-cold-start.js","guard-demo":"tsx examples/agentic-market-gate.ts","pack-smoke":"node scripts/pack-smoke.mjs","safe-fetch":"tsx src/safe-fetch.ts","test:files":"tsx test/spend-control.test.ts && tsx test/spend-control-base-rail.test.ts && tsx test/consumer-spend-control.ts && tsx test/resource-bind.test.ts && tsx test/resource-bind-tx.test.ts && tsx test/version-identity.test.ts && tsx test/policy.test.ts && tsx test/wrap-fetch.test.ts && tsx test/mcp-hook.test.ts && tsx test/cloudflare-x402.test.ts && tsx test/cloudflare-base-edge.test.ts && tsx test/attribution.test.ts && tsx test/auto-receipt.test.ts && tsx test/receipt-policy.test.ts && tsx test/buyer-defaults.test.ts && tsx test/quick.test.ts && tsx test/sponsored.test.ts && tsx test/escalation.test.ts && tsx test/wash-refuse.test.ts && tsx test/wash-default.test.ts && tsx test/paying-fetch.test.ts && tsx test/policy-fetch.test.ts && tsx test/spend-ledger-file.test.ts && tsx test/auto-gate.test.ts && tsx test/autogate-intercept.test.ts && tsx test/x402-solana-before-payment.test.ts && tsx test/leash-c-capacity.test.ts && tsx test/network.test.ts && tsx test/safe-fetch.test.ts && tsx test/payto-prefer.test.ts && tsx test/challenge-swap.test.ts && tsx test/x402-client-hook.test.ts && tsx test/hook-single-eval.test.ts && tsx test/run-attribution.test.ts && tsx test/payment-control.test.ts && tsx test/budget-refuse-codes.test.ts && tsx test/cited-outcomes.test.ts && tsx test/outcome-attestation.test.ts && tsx test/intent-binding.test.ts && tsx test/mpp-hook.test.ts && tsx test/mpp-safety.test.ts && tsx test/payment-control-followup.test.ts && tsx test/payment-control-hardening.test.ts && tsx test/x402-official-compat.test.ts && tsx test/seller-hook.test.ts && tsx test/adoption-proof.test.ts && tsx test/delivery-capture.test.ts && tsx test/doctor.test.ts && tsx test/foreign-payer.test.ts && tsx test/clawrouter-contract.test.ts && tsx test/daily-ceiling.test.ts && tsx test/mandate-identity.test.ts && tsx test/spend-control-concurrency.test.ts && tsx test/pack-surface-contract.test.ts && tsx test/evidence-verify.test.ts && tsx test/wave18-forge-stolen-replay.test.ts","gate-doctor":"tsx src/doctor.ts","commerce-kit":"tsx examples/commerce-kit.ts","wash-dogfood":"tsx examples/wash-refuse-dogfood.ts","foreign-payer":"tsx examples/foreign-payer.ts","adoption-proof":"tsx src/adoption-proof.ts","prepublishOnly":"npm run verify-release","sponsored-demo":"tsx examples/sponsored-payer.ts --dry-run","verify-release":"npm run typecheck && npm test && npm run pack-smoke && npm run pack-release-contract","cold-start-live":"npx tsx --test test/live/cold-start.test.ts","evidence-bundle":"tsx src/evidence-bundle.ts","evidence-verify":"tsx src/evidence-verify.ts --verify","autoreceipt-demo":"tsx examples/auto-receipt.ts --dry-run","bounty-preflight":"node bin/twzrd-bounty-preflight.js","gate-eval-refuse":"node bin/twzrd-gate-eval-refuse.js","official-dogfood":"tsx examples/official-x402-dogfood.ts","agentic-market-demo":"tsx examples/agentic-market-gate.ts","demo:buyer-no-spend":"tsx src/adoption-proof.ts -- --integration ops-demo-buyer-no-spend","autogate-block-proof":"tsx examples/autogate-block-proof.ts","foreign-client-proof":"tsx examples/foreign-client-proof.ts","live-autogate-matrix":"tsx examples/live-autogate-matrix.ts","pack-release-contract":"node scripts/assert-packed-surface.mjs --public-release --from-package","pay-kit-before-payment":"tsx examples/pay-kit-before-payment.ts","consumer-adjacency-demo":"tsx examples/consumer-adjacency-demo.ts","payment-decision-verify":"tsx src/payment-decision.ts --verify","x402-solana-before-payment-proof":"tsx examples/x402-solana-before-payment-proof.ts","x402-solana-before-payment-falsify":"tsx examples/x402-solana-before-payment-falsify.ts"},"_npmUser":{"name":"twzrd1111","email":"dev@twzrd.xyz"},"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"_npmVersion":"11.17.0","description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","directories":{},"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.12","js-sha3":"^0.13.0","@x402/svm":"^2.22.0","@x402/core":"^2.22.0","typescript":"^5.4.0","@scure/base":"^1.2.0","@solana/kit":"^5.1.0","@types/node":"^20.11.0","@x402/fetch":"^2.22.0","x402-solana":"^3.0.0","@solana-program/token":"^0.9.0"},"peerDependencies":{"js-sha3":">=0.8.0","@x402/svm":">=2.0.0","@x402/core":">=2.0.0","@scure/base":">=1.0.0","@solana/kit":">=5.1.0","@x402/fetch":">=2.0.0","x402-solana":">=3.0.0","@solana-program/token":">=0.9.0"},"peerDependenciesMeta":{"js-sha3":{"optional":true},"@x402/svm":{"optional":true},"@x402/core":{"optional":true},"@scure/base":{"optional":true},"@solana/kit":{"optional":true},"@x402/fetch":{"optional":true},"x402-solana":{"optional":true},"@solana-program/token":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twzrd-x402-gate_0.9.10_1789942451200_0.09979481157944359","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-06-21T02:43:40.111Z","modified":"2026-09-20T22:16:02.769Z","0.1.0":"2026-06-21T02:43:40.406Z","0.1.1":"2026-06-21T18:32:50.685Z","0.3.0":"2026-07-01T04:29:49.899Z","0.5.0":"2026-07-09T20:50:58.519Z","0.5.2":"2026-07-10T08:16:33.592Z","0.5.3":"2026-07-11T00:27:25.448Z","0.5.4":"2026-07-12T06:16:24.833Z","0.6.0":"2026-07-12T08:55:28.234Z","0.6.1":"2026-07-12T09:10:06.983Z","0.7.0":"2026-07-13T07:19:47.405Z","0.7.1":"2026-07-13T08:19:00.667Z","0.8.1":"2026-07-16T08:17:41.286Z","0.8.2":"2026-07-22T18:43:20.801Z","0.8.3":"2026-07-22T23:20:34.859Z","0.8.4":"2026-07-25T08:49:49.991Z","0.8.5":"2026-07-26T23:50:52.158Z","0.8.6":"2026-07-27T01:30:45.868Z","0.8.7":"2026-07-30T03:56:25.954Z","0.8.8":"2026-07-30T03:56:48.531Z","0.8.9":"2026-07-31T22:44:55.050Z","0.8.10":"2026-08-01T19:05:26.350Z","0.8.11":"2026-08-02T16:02:43.785Z","0.8.12":"2026-08-03T04:39:32.016Z","0.8.13":"2026-08-04T07:04:35.186Z","0.8.14":"2026-08-07T02:50:08.306Z","0.8.15":"2026-08-12T21:57:15.754Z","0.8.16":"2026-08-12T23:08:22.635Z","0.8.18":"2026-08-19T05:12:24.033Z","0.8.19":"2026-08-19T09:11:03.171Z","0.9.0":"2026-08-22T07:47:04.202Z","0.9.1":"2026-08-24T13:24:35.423Z","0.9.2":"2026-08-28T08:45:22.764Z","0.9.3":"2026-09-01T08:19:00.910Z","0.10.0":"2026-09-02T10:05:56.024Z","0.10.1":"2026-09-07T06:59:42.476Z","0.9.4":"2026-09-07T08:53:59.587Z","0.9.5":"2026-09-10T01:12:58.067Z","0.9.6":"2026-09-12T07:16:51.270Z","0.9.7":"2026-09-12T07:57:11.653Z","0.9.8":"2026-09-13T23:16:58.643Z","0.9.9":"2026-09-15T22:11:39.407Z","0.9.10":"2026-09-20T22:14:11.297Z"},"bugs":{"url":"https://github.com/twzrd-sol/twzrd-trust/issues"},"license":"MIT","homepage":"https://intel.twzrd.xyz","keywords":["x402","twzrd","preflight","trust","readiness-card","solana","usdc","clawrouter","blockrun","agent","mcp"],"repository":{"url":"git+https://github.com/twzrd-sol/twzrd-trust.git","type":"git","directory":"twzrd-x402-gate"},"description":"Core: buyer-side x402 trust gate. Free TWZRD preflight (ReadinessCard) before signing USDC to any merchant, with optional $0.001 paid trust escalate on warn — blocking spend on bad intel, no human in the loop. Optional: createTwzrdSettleGuard for resource","maintainers":[{"name":"twzrd1111","email":"dev@twzrd.xyz"}],"readme":"# twzrd-x402-gate\n\n**Don't let your agent sign blind.** TWZRD is the spend-control SDK for agents paying over x402 — and the default\n`onBeforePaymentCreation` policy engine for official x402 clients.\n\nCommerce loop (directory → preflight → AutoGate → verify → evidence bundle):\nrepo [docs/COMMERCE-KIT.md](../docs/COMMERCE-KIT.md). `exportEvidenceBundle` /\n`npx twzrd-evidence-bundle` writes `twzrd.evidence_bundle.v1`. This package is\nnot Catena's Agent Commerce Kit.\n\n### One call (named export `twzrd`)\n\n```js\nimport { twzrd } from \"twzrd-x402-gate\";\n\nconst result = await twzrd.safeFetch(url, {\n  maxSpend: \"0.10\",              // per-call cap AND cumulative budget\n  allowNetworks: [\"solana\", \"base\"],\n  requireOfferBinding: true,     // compose → verify hard bind → only then pay()\n  composeBoundTransaction,       // build unsigned bound bytes (no keys)\n  pay,                           // sign/submit only after bind-v1 hard verify\n});\n// result.verdict: \"allow\" | \"warn\" | \"block\" — blocks have signerInvocations === 0\n// result.receipt: { strength: \"hard\"|\"soft\"|\"refuse\", leaf_hash, fact_type: \"resource_bound\" }\n```\n\n`requireOfferBinding` is fail-closed: missing `composeBoundTransaction` returns\n`bind_required_no_compose` with `signerInvocations === 0` (pay is never called).\nThe gate verifies the composed bytes, then calls `pay()` with that\n`transactionBase64`. The old post-pay check remains as\n`verifyOfferBindingAfterPay` only. This SDK never holds keys.\n\nFull walkthrough: [QUICKSTART.md](https://github.com/twzrd-sol/twzrd-trust/blob/main/QUICKSTART.md) ·\nverify receipts yourself: [REVIEW.md](https://github.com/twzrd-sol/twzrd-trust/blob/main/REVIEW.md)\n\n**Core product (buyer gate):** after the client selects the exact payment requirement and\n**before** payment payload creation / wallet signing — free preflight + merchant_card wash\nrefuse. Protects the **payer** from a risky **merchant** (`payTo`). Chain-neutral envelope;\n**Solana-deep** reputation only (Base/EVM = explicit `unknown`).\n\n### Default-on AutoGate (5 lines)\n\n```bash\nnpm install twzrd-x402-gate @x402/core @x402/fetch @x402/svm\n```\n\n```typescript\nimport { x402Client } from \"@x402/core/client\";\nimport { installTwzrdAutoGate } from \"twzrd-x402-gate\";\n\nconst client = new x402Client();\n// refuseWashFlagged defaults true; gateOnCanSpend stays false unless you opt in\ninstallTwzrdAutoGate(client, { refuseWashFlagged: true });\n// then register schemes + wrapFetchWithPayment as usual\n```\n\n**Intercept proof (0 USDC, wash seller never reaches signer):**\n\n```bash\ncd twzrd-x402-gate && npm run autogate-block-proof   # needs network: live intel preflight\n# writes block-proof-<run_id>.json  (schema twzrd.autogate_block_proof.v1)\n# public reason: TWZRD_TRUST_GATE_BLOCK: wash_flagged\n```\n\n`gateOnCanSpend` remains **opt-in** (`false` by default; set `true` or `TWZRD_GATE_ON_CAN_SPEND=1` only when you want hard cap enforcement).\n\n**Optional (0.8.1):** a resource-server settle hook so merchants can apply **customer policy**\nbefore they settle and serve (abuse, sanctions, bots, “don’t serve this payer”). Not an equal\nmirror of the buyer problem — settled USDC is final; wash resistance is mainly TWZRD scoring.\n\n## Seller settle guard (`onBeforeSettle`) — optional 0.8.1\n\nResource servers can screen the **payer** before *they* settle an inbound payment and serve\nthe resource. Use for merchant policy (abuse / sanctions / bots / customer selection). TWZRD is\nnot in the settlement path: advisory + fail-open by default. Attaches to official\n`x402ResourceServer.onBeforeSettle` (inherited by `@x402/express|hono|next|fastify` and Python x402).\n\nDo **not** treat this as “protect merchant reputation by rejecting USDC” — anyone can still\ntransfer on-chain. Wash/sybil edges are primarily discounted in TWZRD scoring, not forced\nrevenue refusal.\n\n```bash\nnpm install twzrd-x402-gate@0.9.10\n```\n\n```typescript\nimport { x402ResourceServer } from \"@x402/core/server\";\nimport { createTwzrdSettleGuard, twzrdPayerScreen } from \"twzrd-x402-gate\";\n\nconst server = new x402ResourceServer(facilitator);\nserver.onBeforeSettle(\n  createTwzrdSettleGuard({ screen: twzrdPayerScreen() }),\n);\n```\n\n**Defaults (fail-open / advisory):**\n\n| Behavior | Default |\n|----------|---------|\n| Abort settlement | `decision=block` **or** `wash_flagged=true` |\n| `warn` | **allowed** (continues) unless you set `abortOn.warn` |\n| Default screen | free `GET /v1/intel/merchant_card/{payer}` via `twzrdPayerScreen()` |\n| Screen/extract timeout | `timeoutMs: 3000` — on timeout, **continue** (fail-open) |\n| Unresolved payer / null screen / screen error | **continue** unless `failOpen: false` |\n| exact-SVM payload, no `@x402/svm` peer installed | reports `twzrd_svm_peer_missing` (warns once) and **continues** — without the peer, SVM payers are never screened; install it or set `failOpen: false` |\n| Paid `/v1/intel/trust` | **not** default — inject a custom `screen` if you want it |\n\nPayer identity prefers signed/encoded scheme fields (EIP-3009 `authorization.from`, Permit2\n`permit2Authorization.from`, exact-SVM `payload.transaction` via optional peer `@x402/svm`)\nover client-supplied loose aliases — so a spoofed `payload.payer` cannot bypass screening.\n\nOffline demo: `npx tsx examples/seller-settle-guard.ts`  \nFixture-backed SVM extract tests live in `test/seller-hook.test.ts` +\n`test/fixtures/exact-svm-transfer-checked.ts`.\n\n**PayAI agentic-payments** (the active PayAI SDK, not the dormant x402-solana):\n`npx tsx examples/payai-agentic-onPaymentVerified.ts` — wire `onPaymentVerified`\n→ `toPayaiVerifyResult` to screen payers before serving. Fail-open by default.\n\n\n## Demonstrable refuse mechanism (free, fail-open, reproducible)\n\n**Status (2026-07-16):** mechanism proof — not adoption or demand.\n\nInstall the published gate and run against wash fixtures:\n\n```bash\nnpm install twzrd-x402-gate@0.9.10\n# from package root after install, or from a checkout:\nnpm run wash-dogfood\n```\n\n**Verified live (2026-07-16):**\n\n| Fixture | preflight_id | decision | note |\n|---------|--------------|----------|------|\n| `7G73PL…` wash dogfood | 378468 | **block** | wash_flagged=true |\n| `HuSiSpc…` | 378469 | **block** | wash_flagged=true, fleet≈98% |\n| `BJGds…` alt wash | 378470 | warn | wash_flagged=true (nuance — not all wash is hard-block) |\n| `4LkEF…` clean control | 378471 | warn | not wash |\n\nGate dogfood: `approved=false` `reason=twzrd_decision_block`, **USDC spent = 0**, **tx broadcast = none**, ALL PASS.\n\n**Public transcript:** https://gist.github.com/twzrd-sol/2882bddee912f89e99061f3bc1da8227\n\n**Accurate paste line:**\n\n> Preflight returned decision=block on wash seller 7G73PL… / HuSiSpc… (preflight_id 378468 / 378469, wash_flagged=true). Gate approved=false reason=twzrd_decision_block. No USDC spent. No tx broadcast. Repro: `npm i twzrd-x402-gate@0.8.5 && npm run wash-dogfood` or gist above.\n\nThis is a **reproducible demonstration** that the free gate blocks known wash sellers with stamped `preflight_id`s and zero spend. It is **not** proof that external agents already default to this path at scale.\n\n### Foreign-wallet block proof (official @x402 stack, fresh key, zero history)\n\n**Verified 2026-07-23:** the same pre-sign block with a **brand-new wallet that has\nzero TWZRD/corpus history** — proving the mechanism is wallet-independent, not a\nwhitelisted internal path.\n\n- Wallet: `3GMuabSAATKEXTchSpyP1y5raBS7y6Kx8GShdAbiDLce` (generated fresh; corpus\n  pre-check: `intel_score: 0`, `paid_calls: 0`, facilitator footprint `found: false`)\n- Stack: official `@x402/core` client + `@x402/fetch` + `@x402/svm` `ExactSvmScheme`,\n  TWZRD via `installTwzrdX402ClientHook` at `onBeforePaymentCreation`\n- Result: `verdict: green_block` · `reason: twzrd_can_spend_false` ·\n  `sign_after_abort: false` · `decision_count: 1` · `usdc_spent: 0` — payload\n  creation aborted on a live mainnet 402 (`payTo GFpLvo…`, $0.001) before any signing\n\nRepro with your own fresh key (no SOL/USDC needed — the block path never funds):\n\n```bash\nnode --input-type=module -e \"\nimport { randomBytes } from 'node:crypto';\nimport { writeFileSync } from 'node:fs';\nimport { createKeyPairSignerFromPrivateKeyBytes } from '@solana/kit';\nimport { base58 } from '@scure/base';\nconst seed = randomBytes(32);\nconst s = await createKeyPairSignerFromPrivateKeyBytes(seed);\nwriteFileSync('fresh-wallet.json', JSON.stringify({ privateKey: base58.encode(seed), address: s.address }), { mode: 0o600 });\nconsole.log(s.address);\n\"\nSVM_KEYPAIR_PATH=./fresh-wallet.json npm run official-dogfood -- --block\n```\n\nHonest scope: run by the TWZRD team on TWZRD infra, so it is wallet-independence\nproof, **not** an external adoption datapoint — that requires a non-internal\noperator running this same command with their own attribution flags.\n\n\n## Canonical integration (official x402 client)\n\n```typescript\nimport { x402Client } from \"@x402/core/client\";\nimport { wrapFetchWithPayment } from \"@x402/fetch\";\nimport { ExactSvmScheme } from \"@x402/svm/exact/client\";\nimport { installTwzrdX402ClientHook } from \"twzrd-x402-gate\";\n\nconst client = new x402Client();\nclient.register(\"solana:*\", new ExactSvmScheme(svmSigner));\n// Optional: client.register(\"eip155:*\", new ExactEvmScheme(evmSigner));\n\ninstallTwzrdX402ClientHook(client, {\n  gateOnCanSpend: false, // decision-only default (warn allowed)\n  refuseWashFlagged: true,\n});\n// Strict opt-in: gateOnCanSpend: true — also block when can_spend=false\n// → onBeforePaymentCreation: scores selectedRequirements, abort if policy denies\n\nconst fetchWithPayment = wrapFetchWithPayment(fetch, client);\nawait fetchWithPayment(\"https://merchant.example/paid\");\n```\n\n```text\nofficial x402 client receives 402\n  → selects exact requirement\n  → onBeforePaymentCreation\n  → TWZRD (network + payTo + amount + resource)\n  → local policy allow | warn | block\n  → agent-owned wallet signs same requirement\n```\n\nNo AgentCash. No marketplace. No second probe. No TWZRD custody.\n\n### PayKit (`@solana/pay-kit`)\n\nFoundation [pay-kit#303](https://github.com/solana-foundation/pay-kit/pull/303)\nexposes `onBeforeX402PaymentCreation` on `createPayKitClient` and registers it\non the internal x402Client. Pass TWZRD as that option — no TWZRD branding inside\npay-kit itself. This package does not hard-depend on unpublished `@solana/pay-kit`.\n\n```typescript\nimport { createPayKitClient } from \"@solana/pay-kit\";\nimport { createTwzrdPayKitBeforePaymentHook } from \"twzrd-x402-gate\";\n\nconst client = await createPayKitClient({\n  accept: [\"x402\"],\n  onBeforeX402PaymentCreation: createTwzrdPayKitBeforePaymentHook({\n    refuseWashFlagged: true,\n  }),\n  rpcUrl,\n  signer,\n});\n```\n\nEquivalent: `onBeforeX402PaymentCreation: installTwzrdAutoGate(\"pay-kit\", { refuseWashFlagged: true })`.\nSame official `@x402/core` context hook as Path E. Abort returns\n`{ abort: true, reason }`; PayKit throws before `signTransactions`.\n\n### MCP (`@x402/mcp`)\n\nWire `twzrdOnPaymentRequested` / prefer `onPaymentRequired` + `onBeforePayment` per\n[lifecycle hooks](https://docs.x402.org/advanced-concepts/lifecycle-hooks). Same policy core.\n\n### Raw-fetch composition (injectible pay client only)\n\n```typescript\nimport { installTwzrdAutoGate } from \"twzrd-x402-gate\";\nimport { wrapFetchWithPayment } from \"@x402/fetch\";\n\n// Guard RAW fetch, then hand to a client that still surfaces 402 to the guard layer\n// — OR installTwzrdAutoGate(x402Client) (canonical) / installTwzrdX402ClientHook alias.\nconst payingFetch = installTwzrdAutoGate((guarded) =>\n  wrapFetchWithPayment(guarded, client),\n);\n```\n\n## Buyer flow (trustless, fail-open) — locked sequence\n\nCanonical path for every agent that spends USDC on Solana x402:\n\n| Step | Call | Cost | What gates pay |\n|------|------|------|----------------|\n| 1 | `POST /v1/intel/preflight` | free | `decision=block` → refuse (`twzrd_decision_block`). Score floor / optional `can_spend` also deny. |\n| 2 | `GET /v1/intel/merchant_card/{payTo}` | free | `wash_flagged: true` → refuse by default (`twzrd_wash_flagged`). **Only tightens** step 1. |\n| 3 | First paid hop `quickCheck` | $0.001 | On `warn`: `GET /v1/intel/quick/{payTo}`. Optional V7: `GET /v1/intel/trust/{payTo}` at $0.05 (`autoReceipt` / material allow). Never required for the free refuse path. |\n| 4 | Pay (or refuse) | resource price | Only if steps 1–2 approved (and any opt-in paid escalate did not block). |\n\n**Fail-open (no invent):**\n- Preflight HTTP/network error → default fail-closed (`TWZRD_FAIL_OPEN=true` restores legacy allow-on-outage).\n- Merchant card **outage** on a reputation-scored path (5xx, 429, thrown fetch, non-JSON 200) → same `failOpen` switch; default refuses with `twzrd_card_unreachable_fail_closed`. This is tighten-only: an already-blocked payment keeps its more specific reason.\n- Merchant card **reachable** with no `wash_flagged` (including 4xx, or 200 + `insufficient_evidence`) → `washFlagged=null` → **do not refuse on wash**.\n- Unscored-network `observe`: a card outage keeps the observe allow; `wash_flagged: true` still refuses.\n- Only a successful card with `wash_flagged: true` triggers wash refuse or soft cap.\n\n**Wash policy (exact):**\n- Prior preflight deny → unchanged (wash never loosens a block).\n- `refuseWashFlagged=false` or wash not true → keep preflight approval.\n- `wash_flagged=true` + no cap → `approved=false`, `reason=twzrd_wash_flagged`, `verdict=block`.\n- `wash_flagged=true` + `washMaxUsdc` set + `priceUsdc <= cap` → allow, `washCapped=true`, reason `twzrd_wash_capped_{price}_le_{cap}`.\n- `wash_flagged=true` + price above cap (or price unknown) → refuse with `twzrd_wash_flagged_above_cap_*`.\n\n**Order note:** `onWarnUpsell` (points at first paid hop `GET /v1/intel/quick` $0.001) fires on preflight `warn` **before** the merchant_card wash check. A wash-flagged seller that preflighted as `warn` may still get the upsell hook, then be refused on step 2. Optional V7 `GET /v1/intel/trust` $0.05 stays `autoReceipt` / `requireReceipt` / `escalateOnWarn:false`.\n\nDogfood (one public live proof path):\n- Free only (wash refuse): `npm run wash-dogfood` → [`examples/wash-refuse-dogfood.ts`](./examples/wash-refuse-dogfood.ts)\n- Official client + Path E hook (live Solana ≤$0.001): `npm run official-dogfood` → [`examples/official-x402-dogfood.ts`](./examples/official-x402-dogfood.ts). Needs `@x402/fetch` `@x402/svm` `@x402/core` `@solana/kit` `@scure/base` and a funded Solana key (`SVM_KEYPAIR_PATH` or `~/.agentcash/solana-wallet.json`). `--block` exercises hard `gateOnCanSpend` abort with $0 spend.\n- Multi-hook composition (amount cap then TWZRD, abort short-circuit) is proven offline against the real `x402Client` in `test/x402-official-compat.test.ts`.\n- Release identity: `CLIENT_VERSION` is read from `package.json` (single source of truth); `npm test` includes `version-identity`; `npm run pack-smoke` packs the tarball and checks the installed header.\n\n## Install\n\n```bash\nnpm install twzrd-x402-gate@0.9.10\n```\n\nDo not hardcode a version in this doc — every past pin here (**0.5.4**, **0.7.1**, **0.8.5**,\n**0.8.6**) has gone stale. Check `npm view twzrd-x402-gate version` if in doubt.\n\nOptional settle guard (resource-server **payer** policy): see **Seller settle guard\n(`onBeforeSettle`) — optional 0.8.1** above. Do not confuse with facilitator\n`createOnBeforeSettleHook` in `@wzrd_sol/plugin-trustgate/facilitator` — that screens\nthe **merchant/payTo** on a brokered settle (buyer-side counterparty check at the rail).\n\nLive card screen: `npx tsx examples/seller-settle-guard.ts --live <payerWallet>`\n\n## TWZRD Payment Control (protocol-neutral authorization core)\n\nThe gate now ships a protocol-neutral policy runtime underneath the x402 surface.\nDefining invariant: **a signer path that calls `assertIntentApproved` will not sign\nan intent that differs from what TWZRD evaluated.** (Honest scope: TWZRD does not\nown third-party wallets - the binding is enforceable exactly where the check runs\nbefore the signer, not as a claim over arbitrary wallet internals.)\n\n```typescript\nimport {\n  evaluateIntent,\n  assertIntentApproved,\n  createLocalDecisionSigner,\n  createDecisionRegistry,\n  x402RequirementsToIntent, // or ap2CheckoutToIntent\n} from \"twzrd-x402-gate\";\n\nconst signer = createLocalDecisionSigner();\nconst registry = createDecisionRegistry(); // consume-once\n\nconst intent = x402RequirementsToIntent(selectedRequirements, { resourceUrl });\nconst token = await evaluateIntent(intent, {\n  signer,\n  mandate,                    // user/company mandate (purpose, ceilings, resource scope)\n  policy,                     // local hard controls (caps, lists, recurring checks)\n  intelligence: twzrdIntel,   // optional remote counterparty intelligence\n});\n\n// Wallet-side, immediately before signing the EXACT intent:\nassertIntentApproved(intentBeingSigned, token, {\n  registry,                       // replay / consume-once\n  publicKeyPem: signer.publicKeyPem, // signature verification\n});\n// throws MISSING_VERIFIER_KEY | BAD_SIGNATURE | INTENT_HASH_MISMATCH |\n//        DECISION_EXPIRED | DECISION_NOT_ALLOW | DECISION_REPLAYED\n//        -> the signer is never invoked\n// In-process matching without a key is unsafeAssertIntentApprovedWithoutSignature,\n// exported only from the \"twzrd-x402-gate/unsafe\" subpath — never the root:\n//   import { unsafeAssertIntentApprovedWithoutSignature } from \"twzrd-x402-gate/unsafe\";\n```\n\n- `PaymentIntent` v1 (frozen): protocol `x402 | ap2 | ucp | mpp | direct` +\n  network/asset/amount/payTo + resource + facilitator + mandate + recurrence\n  context, bound into one canonical `tiv1:` intent hash.\n- Decisions are signed, expiring `DecisionToken`s - \"policy version X approved\n  this exact transaction at this timestamp\", auditable offline.\n- A **block is a signed decision**, not an exception - refusals audit the same\n  way approvals do.\n- Local hard controls (mandate scope, ceilings, allow/blocklists, cumulative\n  caps, recurring price checks) never depend on API availability; remote\n  intelligence (wash/fleet, counterparty score) plugs in via a provider.\n- The category test lives in\n  [`test/payment-control.test.ts`](./test/payment-control.test.ts): a mandate\n  permits software under $100, a $12 checkout is approved, orchestration\n  mutates `payTo` after approval, the wallet refuses on hash mismatch,\n  `signerInvocationCount === 0`, and both the decision and the refusal verify\n  from audit records alone.\n\n### On the client hook (opt-in)\n\n`installTwzrdAutoGate(client)` (or alias `installTwzrdX402ClientHook`) wires the runtime into the official\n`onBeforePaymentCreation` seat. Pass `paymentControl` to build the canonical\nintent, run the policy runtime (with the hook's own preflight fed in as remote\nintelligence), and surface a signed, intent-bound `PaymentDecision`:\n\n```typescript\nimport { installTwzrdX402ClientHook, createLocalDecisionSigner } from \"twzrd-x402-gate\";\n\nconst signer = createLocalDecisionSigner();\ninstallTwzrdX402ClientHook(client, {\n  paymentControl: {\n    signer,\n    mandate,                       // optional user/company mandate\n    policy: { maxAmountUsd: \"50\" }, // optional local hard controls\n  },\n  onDecision: ({ intent, decision }) => handOff(intent, decision), // → assertIntentApproved\n});\n```\n\n- **Tighten-only composition:** a `paymentControl` block aborts even when the\n  legacy preflight allowed; it never loosens a legacy denial.\n- **Opt-in:** with `paymentControl` unset the hook behaves exactly as before.\n- x402 wire amounts (USDC micro units) are converted to the decimal USD the\n  runtime expects by `x402RequirementsToIntent` (`decimals` defaults to 6;\n  override via the intent context for other assets), so amount-based policies\n  are not mis-scaled.\n- Hook binding test:\n  [`test/intent-binding.test.ts`](./test/intent-binding.test.ts).\n\n### On MPP (Machine Payments Protocol) — Solana charge only\n\n`createTwzrdMppOnChallenge` guards `Mppx.create({ onChallenge })`. The mppx\nSolana method signs AND broadcasts the transaction inside `createCredential()`,\nso `onChallenge` is the last deterministic checkpoint before money moves - and\nmppx re-throws `onChallenge` errors, so a TWZRD block is an exception that means\n**`createCredential()` never runs and nothing signs**. On allow, the guard\ncreates the credential for the exact challenge it evaluated; non-`solana/charge`\nchallenges fail closed (`allowUnevaluated: true` to opt out).\n\n```typescript\nimport { Mppx } from \"mppx/client\";\nimport { client as solanaClient } from \"mppx-solana\";\nimport { createTwzrdMppOnChallenge, createLocalDecisionSigner } from \"twzrd-x402-gate\";\n\nconst mppx = Mppx.create({\n  methods: [solanaClient({ signer: wallet })],\n  onChallenge: createTwzrdMppOnChallenge({\n    signer: createLocalDecisionSigner(),\n    policy: { maxAmountUsd: \"1.00\" },\n  }),\n});\n```\n\n**Scope limit (honest):** the guard is authoritative only when no\n`onChallengeReceived` event handler supplies a credential. mppx resolves\n`eventCredential ?? onChallenge(...)`, so an event handler returning a credential\nshort-circuits the guard and pays ungated. Do not register both on one client.\n\n**What it refuses, and why.** Each of these is a case where the transaction mppx\nwould actually sign is *not* the transaction the decision covers - so the guard\nfails closed rather than approve a payment it cannot bind:\n\n| Case | Code | Reason |\n|---|---|---|\n| Sponsored charge | `SPONSORED_CHARGE` | `sponsored` / `sponsorPath` / `feeTokenAmount` make mppx-solana build a **second transfer** to the sponsor on top of the advertised amount. PaymentIntent v1 binds one amount to one payTo, so approving it would authorize strictly more value than the decision covers. |\n| Non-USD-pegged asset | `UNPRICED_ASSET` | Policy ceilings are USD; the wire amount is base-unit tokens. Pricing SOL would store `asset: solana:native` beside a **dollar** `amount` and lose the token quantity actually transferred. (A 1.5 SOL charge of `1500000000` at 9 decimals would otherwise evaluate as \"$1.50\" and sail under a $5 ceiling while moving ~$270.) USDC/USDT only until an intent version carries token amount + quote. |\n| Unknown cluster | `UNKNOWN_CLUSTER` | mppx-solana's `resolveEndpoint` returns an unrecognized `cluster` **verbatim as the RPC endpoint URL**, and a network string containing \"solana\" is otherwise scored as mainnet - so `solana:https://seller-rpc.example` would inherit mainnet reputation for a chain never observed. Known cluster names only. |\n| Misdeclared decimals | `MALFORMED_CHALLENGE` | A known stablecoin declaring the wrong decimals is a discount attempt, not a rounding error. |\n\nThe intent binds a **digest of the entire normalized challenge**, not just\n`realm:id` - swapping `recipient` or `amount` under the same challenge id changes\nthe intent hash, so the decision no longer matches.\n\n**Verdicts:** `block` throws. `warn` **proceeds to pay** by default - set\n`treatWarnAsBlock: true` to refuse on warn too.\n\n- `mppChallengeToIntent` binds the challenge id + realm into the intent\n  (`resource.operation`), so the signed decision covers this exact challenge.\n- Cluster names stay honest: `solana:devnet` classifies recognized-but-unscored.\n- Proof: [`test/mpp-hook.test.ts`](./test/mpp-hook.test.ts) - block means\n  credential count 0 and signer count 0.\n\n### Experimental CLI: `twzrd-safe-fetch` (AgentCash advisory pre-check)\n\n> **Not a challenge-bound firewall.** Classification: `advisory_precheck`.\n>\n> AgentCash CLI internalizes 402 handling. This tool can only decide whether to\n> **invoke** AgentCash after scoring a **probe** challenge. AgentCash then makes a\n> **second** request and may sign a different recipient/network/amount (TOCTOU).\n> JSON output always sets `requirementScoredMatchesRequirementSigned: false`.\n>\n> Secure integrations: `installTwzrdAutoGate` over **raw** fetch + injectible pay\n> client, or `twzrdOnPaymentRequested` (MCP). Do **not** wrap AgentCash's paying\n> fetch with `withTwzrdGuard`.\n\n```bash\n# Advisory: block AgentCash invocation when can_spend=false\nnpx twzrd-safe-fetch https://example/paid --gate-on-can-spend --payment-network solana --json\n\n# Dry-run: preflight only, zero USDC\nnpx twzrd-safe-fetch 'https://intel.twzrd.xyz/v1/intel/quick/BJGdsDXJFy63eCAnX3UmGfShp8BuqbtkTfcamyRGr7VQ' --dry-run --json\n```\n\n```text\nprobe request → TWZRD scores challenge A → (if allowed) AgentCash request → may sign challenge B\n```\n\n- Exit `2` = policy blocked (AgentCash never started).\n- Exit `0` = passthrough / dry-run allowed / AgentCash returned success (binding unproven).\n- Base/EVM: explicit `decision=unknown` (see Networks).\n\n### CLI: `twzrd-bounty-preflight` (worker-side refuse, zero spend)\n\nFor agents that earn on bounty boards (DeskCrew arena, ClawTasks). Before you pay\nan attempt fee or stake collateral, read the board, read the paid door's unpaid\n402 for its payTo, gate that payTo, and decide each open row. One JSON transcript\non stdout (`schema: twzrd.bounty_preflight.v1`, `usdc_spent: 0`,\n`signer_invocation_count: 0`). Exit `0` means at least one open row is eligible\n— pay only rows with `proceed: true`. Exit `1` means none are. Nothing signs,\nnothing spends.\n\n```bash\n# DeskCrew: ticket-only attempt cost; the row's entry fee is added separately\nnpx twzrd-bounty-preflight --board https://deskcrew.io/api/arena/contests \\\n  --attempt-cost-usd 0.02 --max-attempt-usd 0.25 --assumed-win-prob 0.2\n\n# Any other board: name its paid door explicitly\nnpx twzrd-bounty-preflight --board https://clawtasks.com/api/bounties?status=open \\\n  --paid-endpoint https://clawtasks.com/api/paid --my-networks base --allow-unscored-payee\n```\n\nRefuse reasons, in order: `gate_block` / `gate_wash_flagged` (TWZRD refused the\npayee), `gate_unscored` (the payee's rail is outside the behavioral corpus, today\nany non-Solana payTo; the gate's \"allow\" there is a policy pass-through, never a\ntrust allow; opt in with `--allow-unscored-payee`, wash still refuses),\n`payout_network_unsupported` / `payout_network_unknown`, `attempt_cost_over_max`\n(attempt fee + board entry fee + stake vs the ceiling), `below_break_even` /\n`assumed_win_prob_missing` (your declared win probability vs\n`at_risk / (agent_share * bounty)`). The board's approval rate and contest size\nare reported as naive and contested EV for context only; they are never\nsubstituted for `--assumed-win-prob`. Self-serve transcript, not adoption proof.\n\nLibrary: `import { safeFetch } from \"twzrd-x402-gate/safe-fetch\"`.\n\n## Quickstart: `installTwzrdAutoGate` (default-on)\n\nCanonical entry point (design: `docs/strategy/install-autogate-design.md`). One name, five adapters:\n\n| Call | Adapter |\n|------|---------|\n| `installTwzrdAutoGate(payWrap, opts?)` | Fetch: guard raw fetch → pay client |\n| `installTwzrdAutoGate(x402Client, opts?)` | Official x402 `onBeforePaymentCreation` |\n| `installTwzrdAutoGate(\"x402-solana\", opts)` | PayAI `beforePayment` on `createX402Client` |\n| `installTwzrdAutoGate(\"pay-kit\", opts)` | PayKit `onBeforeX402PaymentCreation` (Foundation #303) |\n| `installTwzrdAutoGate(\"mpp\", opts)` | MPP `onChallenge` (returns handler) |\n\nAliases: `installTwzrdX402ClientHook`, `createTwzrdMppOnChallenge` remain; docs prefer AutoGate.\nKill switch: `TWZRD_GATE_ENABLED=false` or `TWZRD_AUTO_GATE=0`. Uninstall x402 installs with `uninstallTwzrdAutoGate(client)`.\nThe env switch is read **per call** on the x402-client, x402-solana, pay-kit and MPP seats, so flipping it moves an already-installed\ngate in both directions. The **fetch / payWrap** seat is the exception: it resolves the switch once, when the fetch is composed,\nso a fetch built while the switch was off stays ungated after you clear it — rebuild the fetch. `options.disabled: true` is a\npermanent install-time opt-out everywhere and no env change revives it.\n\n\n`installTwzrdAutoGate` is the one-liner form of \"guard the raw fetch, then hand it to your\nx402 client.\" It takes a `payWrap` function — whatever composes your paying client on top of\na fetch — and returns a fetch that's already gated: a blocked seller throws before your client\never gets a chance to sign.\n\n```typescript\nimport { installTwzrdAutoGate } from \"twzrd-x402-gate\";\nimport { wrapFetchWithPayment } from \"@x402/fetch\";\n\nconst payingFetch = installTwzrdAutoGate((guarded) => wrapFetchWithPayment(guarded, buyerWallet));\n\n// Use payingFetch everywhere you'd call a paid resource:\nconst response = await payingFetch(\"https://api.exa.ai/search\");\n```\n\n`payWrap` receives the **guarded** fetch (the guard has already run by the time your client\nsees a 402) — this is the only correct composition order. Building it the other way round\n(guarding an already-paying fetch) is a no-op; see [Compatibility note](#compatibility-note).\nAny x402 client that composes over an underlying `fetch` works the same way — swap in\nwhatever `payWrap` your client's API expects (agentcash, ClawRouter, PayAI, a custom\n`@x402/svm` scheme, etc.).\n\nDefault **ON**. Disable with `TWZRD_AUTO_GATE=0` (env, deploy-time kill switch) or\n`{ disabled: true }` (per-call, e.g. in tests) — the raw fetch is handed straight to\n`payWrap`, unguarded.\n\nWhat happens on every HTTP 402 the raw fetch returns:\n1. Reads the Solana-network entry from `accepts[]` (falls back to first entry) to get the seller wallet.\n2. Calls `POST /v1/intel/preflight` — free, no auth. `decision=block` (or score floor) throws — `payWrap`'s client never signs.\n3. Calls `GET /v1/intel/merchant_card/{payTo}` — free, no auth. `wash_flagged: true` refuses by default (only tightens step 2). A reachable card with no wash signal fails open (no invent). A card outage on the scored path honours `failOpen` (default fail-closed).\n4. Otherwise returns the 402 to `payWrap`'s client, which pays normally.\n\nNon-402 responses pass through unchanged.\n\n### Networks (Solana-deep, chain-neutral envelope)\n\nThe gate **recognizes** multi-chain 402s but only **reputation-scores Solana mainnet**.\n\n| Network | Reputation scored? | Default policy (`unsupportedNetworkMode`) |\n|---------|-------------------|-------------------------------------------|\n| Solana mainnet | Yes — free preflight + merchant_card | allow/block from intel |\n| Base / other EVM (`eip155:*`) | **No** Solana preflight | `observe` (default): `decision=unknown`, `policyAction=allow`, telemetry `unsupported_network_seen`. **Wash still runs** — `wash_flagged` refuses before sign. |\n| Base / EVM in `strict` mode | No | `policyAction=block` before sign |\n\nThis is intentional: Base listing abundance ≠ Solana behavioral history. Unsupported is never\nrepresented as a TWZRD trust `allow`. Set `TWZRD_UNSUPPORTED_NETWORK_MODE=strict` (or\n`{ unsupportedNetworkMode: \"strict\" }`) to hard-block unscored networks.\n\n`requireReceipt` (Path A) follows the same line: `hard` receipts apply to **scored networks\nonly** — on an unscored network there is no receipt to buy, so the decision carries\n`receiptSkipped: \"unscored_network\"` and continues. Use `strict` mode to fail closed there.\n\n`requireLogInclusion` sits one step further: a captured Path A receipt does not **count** as\ntrust until its leaf is proven included in the Receipt Transparency log under a key you\npinned ([spec](../docs/transparency-log.md)). A valid signature proves authorship and\nintegrity; only the log proves the issuer showed everyone the same answer. The log is **live**\n(v0.1 domain, genesis 2026-09-03), and a paid response carries its proof **inline** as\n`log_inclusion` — the audit path plus the signed head it targets — once the leaf is merged, so\nthe usual case verifies **offline** with nothing but your pinned key. The gate takes no\ndependency on the log verifier — you wire it; it receives the receipt *and* the whole paid\nresponse, and `twzrd-log-verifier`'s results fit the verdict shape with no adapter:\n\n```typescript\nimport { verifyLogInclusion, verifyReceiptInLog } from \"twzrd-log-verifier\"; // not yet on npm — see its README\n\n// Today the log serves a single signing key (the receipt issuer key); pin it out of band.\n// When v0.2 ships a key directory, pass that here instead — same call.\nconst PIN = \"Ak5SQwHpuQAqU7ty7ZWX7qgF39A9yi72c22KNn8sHzvS\";\n\nawait evaluate_x402_resource(url, requirements, {\n  requireReceipt: true,\n  x402Fetch,\n  requireLogInclusion: {\n    verifier: async (_receipt, ctx) =>\n      ctx.logInclusion\n        ? verifyLogInclusion(ctx.response, PIN)                                  // offline: no round-trip\n        : verifyReceiptInLog({ baseUrl: \"https://intel.twzrd.xyz\", receipt: ctx.response, trusted: PIN }), // fetch; 404 ⇒ pending\n    // hard: true         — an unproven receipt denies spend (default)\n    // onPending: \"deny\"  — a leaf not merged yet is unprovable at pay time; \"allow\"\n    //                      tolerates the one-anchor-period merge window (default \"deny\")\n    // refuseTofu: true   — never accept keys the log advertised about itself (default)\n  },\n});\n```\n\nThe receipt is returned either way (`result.receipt`) — you paid for it. What changes is\n`approved`: a denial sets `logInclusionDenied: true`, `policyAction: \"block\"`, and a reason of\n`twzrd_log_inclusion_failed | _pending | _tofu_refused | _error`; `result.logInclusion` carries\nthe verdict (`key_id`, `leaf_index`, `tree_size`, `pending`, `tofu`). A verifier that throws\ndenies under `hard` — a broken or unreachable verifier must not wave receipts through. So does a\nPath A attempt that yields no receipt at all (non-OK response, thrown fetch, `x402Fetch` not\nwired): an outage on the receipt endpoint must never produce a *better* outcome than an empty\nreceipt body. Path A that your `requireReceipt` threshold never attempted is out of scope — this\nknob gates receipts, it does not override your threshold.\n\nTwo things to know today: a leaf is merged within one anchor period, so a receipt paid for\n*just now* may not yet carry `log_inclusion` — the fetch fallback above then reports `pending`,\nand `onPending` decides. And nothing is **anchored** on Solana yet (`anchor_authority` is null),\nso inclusion currently proves *what the log committed to*, not yet *when* — the anchor is what\nmakes backdating detectable.\n\nDual-chain accepts still prefer the Solana entry for scoring (same as payment clients that\nprefer Solana when available).\n\n### Lower-level: `withTwzrdGuard`\n\n`installTwzrdAutoGate` is built on `withTwzrdGuard` — the fetch wrapper itself, if you want to\nmanage the raw/paying composition yourself:\n\n```typescript\nimport { withTwzrdGuard } from \"twzrd-x402-gate\";\nimport { wrapFetchWithPayment } from \"@x402/fetch\";\n\nconst raw = globalThis.fetch;               // MUST still surface HTTP 402\nconst guarded = withTwzrdGuard(raw);        // guard sits upstream\nconst safeFetch = wrapFetchWithPayment(guarded, buyerWallet);\n\nconst response = await safeFetch(\"https://api.exa.ai/search\");\n```\n\nWhat the guard does on HTTP 402:\n1. Reads the Solana-network entry from `accepts[]` (falls back to first entry) to get the seller wallet.\n2. Free `POST /v1/intel/preflight` — `decision=block` / score floor deny.\n3. Free `GET /v1/intel/merchant_card/{payTo}` — `wash_flagged:true` **refuses by default**\n   (`reason: twzrd_wash_flagged`). Reachable + no signal fails open (no invent). A card\n   outage on the scored path honours `failOpen` (default fail-closed).\n4. If approved: returns the original 402 for the x402 client to pay.\n\nOpt out of wash refuse: `withTwzrdGuard(fetch, { refuseWashFlagged: false })` or\n`TWZRD_REFUSE_WASH_FLAGGED=0`. Soft cap instead of hard refuse: `washMaxUsdc` /\n`TWZRD_WASH_MAX_USDC`.\n\nNon-402 responses pass through unchanged.\n\n### First paid hop on warn (revenue path)\n\nWiring `x402Fetch` turns on buyer defaults: a proceeding `warn` settles\n`GET /v1/intel/quick/{payTo}` at **$0.001** (escalateOnWarn). That is the first paid hop.\n\nOptional V7 — `autoReceipt` or material-allow `requireReceipt` — buys\n`GET /v1/intel/trust/{payTo}` at $0.05 for a signed credential. Opt out of the\ncheap hop with `escalateOnWarn: false` if the host explicitly wants /trust first.\n\n```typescript\nconst safeFetch = withTwzrdGuard(x402Fetch, {\n  x402Fetch,           // warn → $0.001 /quick first\n  autoReceipt: true,   // optional V7: also buy $0.05 /trust on allow (not after /quick)\n  onReceipt: (receipt, tx) => {\n    // receipt is a twzrd_receipt (V7 + ERC-8004 reputation_credential)\n    console.log(\"Trust receipt captured:\", tx);\n  },\n});\n```\n\n`autoReceipt` is **off by default** — it spends the **buyer's** USDC, so you opt in. When on\nand `/quick` did not already settle, warn/allow can buy the $0.05 V7 credential.\n\n**`x402Fetch` is yours to supply** (this package is dependency-free). Wire the proven\n`@x402/svm` sponsored-feePayer client — the same one `twzrd-mcp-server` uses:\n\n```typescript\nimport { wrapFetchWithPayment } from \"@x402/fetch\";\nconst x402Fetch = wrapFetchWithPayment(fetch, buyerWallet); // settles 402 challenges\n```\n\nGate it behind your own ROI policy (e.g. only auto-buy the receipt for payments above a\nthreshold). Runnable, no-spend demo: [`examples/auto-receipt.ts`](./examples/auto-receipt.ts)\n(`npm run autoreceipt-demo`). A bundled/sponsored `x402Fetch` (so integrators need no wallet)\nis the next step.\n\n### Quick tier ($0.001) — cheap paid qualify\n\nThe reputation ladder has three rungs: **free** preflight (`allow/warn/block`), **$0.001**\n`quickCheck` (tier + score, no receipt), **$0.05** `autoReceipt` (full intel + signed V7\nreceipt). When the free preflight is inconclusive (`warn` / unknown seller) and you want a\ncheap *paid* confirmation before committing — without paying 50× for the portable receipt —\nuse `quickCheck`:\n\n```typescript\nimport { quickCheck } from \"twzrd-x402-gate\";\n\nconst q = await quickCheck(sellerWallet, { x402Fetch }); // settles $0.001 to /v1/intel/quick\nif (q.available && (q.tier === \"Gold\" || q.tier === \"Platinum\")) {\n  // tier is high enough — proceed with the larger payment\n}\n```\n\n`quickCheck` is **fail-soft** — it never throws; any gap (no `x402Fetch`, unreachable, settle\nfailure) returns `available: false`, so a quick-tier hiccup can't break your flow. The hard\nallow/warn/block decision stays the free preflight's job.\n\n### Autonomous risk-escalation — `escalateOnWarn` (pay-to-confirm on warn)\n\nThe free preflight leaves an unknown/uncertain seller at `warn`, which **proceeds** by\ndefault. `escalateOnWarn` closes the loop autonomously: on a proceeding `warn`, the guard\nsettles the cheap **$0.001** quick tier and **re-decides on the paid score** — below the\nfloor the payment is **blocked**, at/above it proceeds. The paid call fires from your\nagent's own risk policy (no human), and the paid signal actually gates the spend (unlike\n`autoReceipt`, which is upsell-only and never changes the decision).\n\n```ts\nconst safeFetch = withTwzrdGuard(x402Fetch, {\n  escalateOnWarn: {\n    minSpendUsdc: 0.01,   // don't pay $0.001 to vet a sub-cent buy\n    blockBelowScore: 40,  // block when the paid quick score is below this (default: preflightMinScore)\n  },\n  x402Fetch,              // settles the $0.001 quick charge\n});\n// warn + paid score < 40  -> throws \"[twzrd-guard] payment blocked: twzrd_escalated_warn_block ...\"\n// warn + paid score >= 40 -> proceeds (result.escalated=true, result.escalatedScore set)\n```\n\nOpt-in, **fail-soft** (if the quick tier can't answer, the base `warn` is preserved), and it\n**only tightens** — a `warn` may become a block, but an `allow` or `block` is never changed.\nThis is the autonomous demand loop: an uncertain counterparty is vetted with real paid intel,\nautomatically, before your agent commits.\n\n### Sponsored payer — use the paid rungs with no wallet (prototype)\n\n`createSponsoredX402Fetch` lets a **sponsor** settle the paid rungs on the agent's behalf, so\nan integrator can call `quickCheck` / `autoReceipt` with **no wallet of their own**:\n\n```typescript\nimport { createSponsoredX402Fetch, quickCheck } from \"twzrd-x402-gate\";\n\n// `settle` = the funded backend (your @x402/svm fetch, or a TWZRD treasury sponsor endpoint).\nconst x402Fetch = createSponsoredX402Fetch({ settle });\nconst q = await quickCheck(seller, { x402Fetch }); // sponsor pays — caller holds no wallet\n```\n\nTwo backends plug into `settle`: **gas-sponsored** (live via `@x402/svm` — agent pays USDC, the\nresource server's `feePayer` covers SOL gas, the model `twzrd-mcp-server` uses) and\n**full-sponsor** (a TWZRD treasury endpoint pays on the agent's behalf — the true no-wallet\npath). The full-sponsor endpoint + treasury is **founder-gated** (who funds it + per-agent\nbudget caps); this ships the client seam + a dry-run so the wiring is ready.\nNo-spend demo: [`examples/sponsored-payer.ts`](./examples/sponsored-payer.ts) (`npm run sponsored-demo`).\n\n## `evaluate_x402_resource` — standalone preflight\n\nUse when you already have the `paymentRequirements` object from a parsed 402 body:\n\n```typescript\nimport { evaluate_x402_resource } from \"twzrd-x402-gate\";\n\nconst result = await evaluate_x402_resource(\n  \"https://api.exa.ai/search\",\n  paymentRequirements, // X402PaymentRequirements from the 402 body\n);\n\nconsole.log(result.decision);    // \"allow\" | \"warn\" | \"block\"\nconsole.log(result.trustScore);  // number | null\nconsole.log(result.approved);    // boolean\nconsole.log(result.receiptUrl);  // \"https://intel.twzrd.xyz/v1/intel/trust/<payTo>\"\n\nif (!result.approved) throw new Error(`Blocked: ${result.reason}`);\n```\n\nWith `autoReceipt`:\n\n```typescript\nconst result = await evaluate_x402_resource(url, requirements, {\n  autoReceipt: true,\n  x402Fetch: myPayingFetch,\n  onReceipt: (receipt, tx) => storeCredential(receipt),\n});\n// result.receipt — twzrd_receipt (V6 + ERC-8004 reputation_credential)\n// result.receiptTx — on-chain settlement tx\n// result.receiptFeeCaptured — true when fee landed\n```\n\n## Fee-payer preference (multi-facilitator `accepts[]`)\n\nWhen a seller lists more than one facilitator in its 402 `accepts[]` (e.g. Dexter\n*and* TWZRD), you can tell the gate which fee payer to settle through. It selects\nthe matching entry the seller **already offers** — it never adds, rewrites, or\nforces an entry onto the seller's 402, and falls back to the normal\nSolana-mainnet preference when nothing matches.\n\nOpt-in, off by default. Set once via env:\n\n```bash\n# prefer TWZRD's facilitator when a seller multi-lists (alias resolves to its feePayer)\nexport TWZRD_PREFER_FEE_PAYER=twzrd\n# or any explicit base58 fee payer you want to route to\nexport TWZRD_PREFER_FEE_PAYER=4LkEFjJdXARkKx8FBx4LBFa2SvJNmjQpgGDLoJcypZUE\n```\n\nor programmatically:\n\n```typescript\nimport { pickRequirements, TWZRD_FEE_PAYER } from \"twzrd-x402-gate\";\n\nconst chosen = pickRequirements(body.accepts, { preferFeePayer: TWZRD_FEE_PAYER });\n```\n\nWith no preference set, selection is unchanged (first Solana-mainnet entry).\n\n## Lower-level APIs\n\n### Direct approval call\n\n```typescript\nimport { createTwzrdGate } from \"twzrd-x402-gate\";\n\nconst gate = createTwzrdGate();\nconst { approved, reason, card } = await gate.approvePayment({\n  payTo: \"SELLER_WALLET_FROM_402\",\n  resourceUrl: \"https://merchant.example/paid\",\n  priceUsdc: 0.003,\n});\nif (!approved) abort(reason);\n```\n\n### `@x402/mcp` payment hook\n\nThe hook accepts the real `@x402/mcp` v2 `PaymentRequestedContext`\n(`{ toolName, arguments, paymentRequired }`) — wire it directly:\n\n```typescript\nimport { createx402MCPClient } from \"@x402/mcp\";\nimport { registerExactSvmScheme } from \"@x402/svm/exact/client\";\nimport { twzrdOnPaymentRequested } from \"twzrd-x402-gate\";\n\nconst client = createx402MCPClient({\n  name: \"my-agent\",\n  version: \"1.0.0\",\n  schemes: [/* e.g. registered SVM scheme */],\n  autoPayment: true,\n  onPaymentRequested: (ctx) => twzrdOnPaymentRequested(ctx), // false = deny before signing\n});\n```\n\nThe legacy flat shape (`{ accepts, context }`) is still accepted. Prior to\n0.6.1, only the flat shape was read — wired into the real `@x402/mcp` runtime\nthe hook saw `accepts: undefined` and fail-closed-blocked every payment (safe,\nbut a 100% false-block).\n\n### `wrapFetchWithTwzrdGate`\n\n```typescript\nimport { wrapFetchWithTwzrdGate, resolveConfig } from \"twzrd-x402-gate\";\n\n// Alternative fetch wrapper — same interception logic, no autoReceipt.\nconst gatedFetch = wrapFetchWithTwzrdGate(fetch, resolveConfig());\n```\n\n`withTwzrdGuard` is preferred — it composes with `autoReceipt` and `onReceipt`.\n`wrapFetchWithTwzrdGate` remains for codebases that can't migrate.\n\n## Policy\n\nA payment is **blocked** when:\n1. `decision ∈ blockDecisions` (default: `[\"block\"]`)\n2. `trust_score < preflightMinScore` (default: `40`)\n3. `can_spend === false` — **only** when `gateOnCanSpend: true` (default `false`, opt-in)\n\n`warn` is allowed unless overridden. Preflight network failure **fails closed** by default (a preflight outage blocks the payment, so an intel hiccup never silently approves a spend); set `failOpen: true` / `TWZRD_FAIL_OPEN=true` to opt into legacy allow-on-outage.\n\nA 402 whose payment requirements yield **no identifiable seller wallet** (missing/empty `payTo`, or an unparseable `accepts[]`) is a different case from \"unknown seller\" — it always **blocks** with `reason: twzrd_unidentifiable_payment_recipient`, without ever calling the preflight network. This is unconditional (not affected by `failOpen`): `failOpen` governs what happens when the TWZRD *service* is unreachable, not what happens when the caller can't say who they're paying.\n\n> **`can_spend` note:** the free preflight returns `can_spend=false` for most sellers\n> not yet in the TWZRD corpus, including legitimate ones. The default is decision-only\n> gating so unknown sellers on platforms like Agentic.Market are not blocked by default.\n> Set `gateOnCanSpend: true` for strict mode.\n\n## Config\n\n| Option | Env | Default | Description |\n|---|---|---|---|\n| `intelBase` | `TWZRD_INTEL_BASE` | `https://intel.twzrd.xyz` | Preflight API base |\n| `preflightMinScore` | `TWZRD_PREFLIGHT_MIN_SCORE` | `40` | Block below this score |\n| `blockDecisions` | `TWZRD_BLOCK_DECISIONS` | `block` | Decisions that throw |\n| `failOpen` | `TWZRD_FAIL_OPEN` | `false` | `true` opts into legacy allow-on-outage; default blocks (fail-closed) |\n| `gateOnCanSpend` | `TWZRD_GATE_ON_CAN_SPEND` | `false` | Also block when `can_spend=false` |\n| `autoReceipt` | — | `false` | Optional V7: auto-buy $0.05 `/trust` when `/quick` did not already settle |\n| `x402Fetch` | — | — | x402-capable fetch for `autoReceipt` |\n| `onReceipt` | — | — | Callback after receipt is captured |\n| `disabled` (`installTwzrdAutoGate` only) | `TWZRD_AUTO_GATE=0`/`false` | `false` | Bypass the guard entirely — `payWrap` gets the raw, unguarded fetch |\n| `attribution` | `TWZRD_ATTRIBUTION_INTEGRATION` + `TWZRD_ATTRIBUTION_RUN_ID` | — | Opt-in run attribution (see below) |\n\n## Gate adoption proof (no-spend harness)\n\nDeterministic install→transcript path for operators (no wallet, no USDC):\n\n```bash\nnpm run adoption-proof -- --integration demo-autogate-proof --run-id 00000000-0000-4000-8000-000000000001\n```\n\nEmits `twzrd.gate_adoption_transcript.v1` JSON: block path aborts with `signerInvocations: 0`, allow path emits decision, attribution headers stamped on mocked preflight. Full acceptance criteria (what counts as `EXTERNAL_RUN` vs dogfood), and the\nharness's own limits: [`docs/strategy/gate-adoption-operator-proof.md`](../docs/strategy/gate-adoption-operator-proof.md)\nin this repo — the same path the transcript's `acceptanceDoc` field cites.\n\n## Portable decision receipt: `twzrd.payment_decision.v1`\n\nA frozen, closed public record of one decision — what the agent saw\n(`challenge_hash`), what it decided (`allow | block | warn | unavailable`), why\n(one code from a closed enum) and an `evidence_id` — signed with your existing\ndecision signer and verifiable **offline** by anyone holding your public key.\nNo TWZRD call in the verification path. `unavailable` is a first-class decision\nand is never written as `block`. The record carries **no** score, secret, raw\nauthorization/payload, amount or resource URL; the verifier rejects any of them.\n\n```ts\nimport { createLocalDecisionSigner, evaluateIntent } from \"twzrd-x402-gate\";\nimport { paymentDecisionRecordFromToken, verifyPaymentDecisionRecord } from \"twzrd-x402-gate/payment-decision\";\n\nconst signer = createLocalDecisionSigner({ keyId: \"ops-2026-09\" });\nconst token = await evaluateIntent(intent, { signer, policy });\nconst record = await paymentDecisionRecordFromToken(token, selectedAccepts, signer);\n\n// relying party, anywhere, later:\nconst r = verifyPaymentDecisionRecord(record, { publicKeyPem, challenge: selectedAccepts });\nr.ok && r.decision; // \"block\" — or null when rejected\n```\n\n```bash\nnpx twzrd-payment-decision --verify record.json --pubkey issuer.spki.pem [--challenge accepts-entry.json] [--json]\n```\n\nSpec (schema, challenge normalization, what is signed, what is forbidden):\n[`docs/payment-decision-v1-spec.md`](../docs/payment-decision-v1-spec.md) ·\nJSON Schema: [`docs/schemas/twzrd.payment_decision.v1.schema.json`](../docs/schemas/twzrd.payment_decision.v1.schema.json) ·\ntest vectors: `test/fixtures/payment-decision-v1-vectors.json`.\n\n## Run attribution (optional, for integration correlation)\n\nWhen you set `attribution`, the gate stamps **only the TWZRD preflight request** (never the\npaid `/v1/intel/trust` call or the resource fetch) with correlation headers:\n\n```\nX-TWZRD-Integration: <integration>\nX-TWZRD-Run-Id:      <runId>\nX-TWZRD-Client:      twzrd-x402-gate/<version>\n```\n\n```ts\ninstallTwzrdAutoGate((guarded) => wrapFetchWithPayment(guarded, wallet), {\n  attribution: {\n    integration: \"payai-x402-solana-pr38\",\n    runId: crypto.randomUUID(), // echo this in your transcript / issue comment\n  },\n});\n```\n\nThis is **correlation evidence, not proof of adoption** — the `runId` is caller-supplied and\nspoofable. A run counts as an external execution only when the same `runId` (1) appears in the\nintegrator's own transcript, (2) is observed server-side with a real policy decision, and (3)\ncomes from non-internal lineage. No PII, secret, wallet, or payload is added; both fields must\nbe set or nothing is stamped.\n\n## Compatibility note\n\n**Proxied x402 clients** (AgentCash's `.fetch`, ClawRouter `:8402`): these clients handle\n402 internally and return 200. The guard never sees a 402 if it wraps the client's *output* —\nit must wrap the client's *input*. `installTwzrdAutoGate` enforces this composition order by\nconstruction: it guards the raw fetch first, then hands the guarded fetch to your `payWrap`.\nIf you're composing `withTwzrdGuard` manually instead, pass the raw (non-paying) fetch to\n`withTwzrdGuard`, then wrap its output in your x402 client — never the reverse. Or call\n`evaluate_x402_resource` explicitly before routing through the proxy.\n\n## Why pre-spend, not post-pay\n\n`GET /v1/intel/trust/{wallet}` is the **paid** ($0.05 USDC) deep-intel surface — not a gate.\n`POST /v1/intel/preflight` is the **free** `ReadinessCard` for the pre-spend decision.\nThe gate path only ever calls free endpoints — the preflight plus, by default\n(`refuseWashFlagged: true`), the free merchant_card wash check. Paid intel\n(`quickCheck`, `autoReceipt`) is otherwise opt-in, with one documented\nexception (QUICKSTART 3b): on the fetch / payWrap seat, wiring a paying fetch\nauto-enables buyer Path A, so a proceeding `warn` settles the $0.001 quick\ntier (`GET /v1/intel/quick/{payTo}`) through your wallet with no further flag —\nopt out with `escalateOnWarn: false`, `requireReceipt: false`, or by leaving\n`x402Fetch` unwired. Optional V7 `/trust` at $0.05 stays on material allow or\nexplicit `autoReceipt`. The merchant-facing payment still waits on the free\npreflight's verdict.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}