{"_id":"@402flow/sdk","_rev":"33-6da489c86376619ebb620621844f7eac","name":"@402flow/sdk","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0-alpha.1":{"name":"@402flow/sdk","version":"0.1.0-alpha.1","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.1","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"550ee5689b3f102f59f7dce018e0e642850f59bf","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-mmcKJ90zoV6wI8uGkqMhgkP39DFrYquozhH9qTu7syYuJPcStadfn6wFgJHChYaNtDY+9QFwuVL8P0uFIq3SiA==","signatures":[{"sig":"MEUCIQDAx0fDIWYTcMJWcfs2ee9pO0GpmOg+kl7di/g7Ykz6QQIgUJ3/YmbT10UmRS25891JjzNhXvg8QkSekCSmxQfK60I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":136989},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"2ab222101f3c331bfaed39460d8e7d629e339339","private":false,"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"pnpm clean && node -e \"require('node:fs').copyFileSync('../../README.md', 'README.md')\" && pnpm build","postpack":"node -e \"require('node:fs').rmSync('README.md', { force: true })\"","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.1_1774388460216_0.9115540335103445","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.2":{"name":"@402flow/sdk","version":"0.1.0-alpha.2","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.2","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"1e70135fd71d6684e049dc5bf168c6e372039bf3","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.2.tgz","fileCount":21,"integrity":"sha512-/nEH22ghFMrIJJfqMD3niEF4JozMTIh9DlH1TFyp67mMND130edywSdmqbY0BAvC7IE0Sp+zdArj342tOSAE6g==","signatures":[{"sig":"MEYCIQC78koPu7HyaBlxODs3YdCo1D6Hot86mAQ4FBOy8b86LAIhANV0f3Ns/ffeXnRM31d57hMd62PqXlkZdyTl4tZBFbk/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148473},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"dfe2ec5935ac5e8346746e085f6c660c6650bd33","private":false,"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm run typecheck && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.2_1774391613654_0.9374037226404057","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.3":{"name":"@402flow/sdk","version":"0.1.0-alpha.3","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.3","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"c1de7491d9eb4975a19d635a88c8316f6a991ccb","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.3.tgz","fileCount":21,"integrity":"sha512-3g2YNc6Y3WUuV4ko5SNAoBO/kdutGuOAFNK4vQEScwVVplipt5srBTFWRQbkci/xq7R9HdaL5TyFNs7pLDVrEw==","signatures":[{"sig":"MEUCIQC9s9ob0+rE0JGE9pXXhRbSziX/IU5ZlduS9tbBi9b24QIgYR7mk7tdi1M0rJBJUhbR4Iukq+fH3xu9QFaZhxzLgsg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148822},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"94c4762fcfbf47ae5b601f83d4825dba2e5dfa8a","private":false,"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm run typecheck && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.3_1774400210112_0.6896758317403522","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.4":{"name":"@402flow/sdk","version":"0.1.0-alpha.4","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.4","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"60225f636c95be3fe66c66e6f472470937f10fbd","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.4.tgz","fileCount":21,"integrity":"sha512-71J0ppF0FU/VSNd1j26t14LOBmBHHV+ANNYOAFgDVM8BlWuWABbgr9UuF7pvGbb0M9vfulbCl+2PrhJDJkex5w==","signatures":[{"sig":"MEUCIQCBCq+bI6ImH3JmzNm1aY7J9TDWPui8mN5j+6J9Co8WYAIgesnKguVuIAPmV4noCT+54qhPi3FJzZwIfx1tZUsDESk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":148822},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"94c4762fcfbf47ae5b601f83d4825dba2e5dfa8a","private":false,"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm run typecheck && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.4_1774400427895_0.49742997436212955","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.5":{"name":"@402flow/sdk","version":"0.1.0-alpha.5","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.5","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"0dac55a5e832b8c132c89ef4e586341347a87a9a","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.5.tgz","fileCount":21,"integrity":"sha512-jVhdz2q9zJDWjEUyyWNV3alNLmXv2tSE0V3ga1TSZYMPkyZe2xpm9b/bGmD4J/NyqQkzvL939SPw6rJcWuPwgQ==","signatures":[{"sig":"MEQCIHfqcXoUL5WCQ0Ef5ktUtiqNMmogChiBi1kfYFQaUbNqAiA9N5TLlTSIGjTCu06/cW9vPlVSIo5CM3p/5xlutlxU8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158782},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"4bfebd494d4a9c77ea313749d8c5813830e21df1","private":false,"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm run typecheck && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.5_1774473566768_0.18529788927980806","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.6":{"name":"@402flow/sdk","version":"0.1.0-alpha.6","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.6","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"91beef960d1e887722b01d92bfabdf7750e554f9","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.6.tgz","fileCount":21,"integrity":"sha512-9oU1CHYE96VpvLGHRpBv9mlt8xgoYg1U7eZy1WE56ayeol5E2iwoNX9nROmGxk/f7kfIyhUKkWutPU+pgiwG5g==","signatures":[{"sig":"MEUCIQC8z+BRrEgV1ccUWmomUHBy9eu+Ye9Ee3gSFWW1w3O3EgIgapID4UNA0IEIeGxx96Th1sC7m7bihWF3qUK3EsPDiJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162159},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"d0a6250b6d567cad4a5bc75793d019a1a145736b","private":false,"scripts":{"lint":"eslint src","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm run typecheck && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.6_1774550802849_0.03343911715346071","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.7":{"name":"@402flow/sdk","version":"0.1.0-alpha.7","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.7","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"8194a6dbba23db1bd3001df91c01b0fe62733f2f","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.7.tgz","fileCount":21,"integrity":"sha512-rwNa4Y8jMvgz87aeLCStoslDQZ+p73h2JWPdmoxR4Fq65trLUAW6fQbrA3DaWknEisFFDoykdjHr/Z1+y91S+Q==","signatures":[{"sig":"MEYCIQD/62st23HzE1+f2rCv8Cbreg1cCqz5PHnGUTRkPzHYBQIhAKC0lObSVrL1V9XkYt3preFFn7qrKOndtIIEyi74Rghf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":168928},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"e62b7f8dbb7aef359c86ed163e46163959815f51","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.7_1774664680188_0.983335587950773","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.8":{"name":"@402flow/sdk","version":"0.1.0-alpha.8","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.8","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"159054db9fdd9cd399b96c4c8c2fd1a655123c8d","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.8.tgz","fileCount":12,"integrity":"sha512-sOftcEketPzJHwQBx3bG9bmIPL+PMjCq8MK9C9HNaeIq08/bbD5WMYbo7JmptLoxrgnvbj4XWDE/lVKfaxSWCw==","signatures":[{"sig":"MEUCIEqeZ9X3U9LUCb16KE+jEBPuLoRWow2jyR/92zRCNWiEAiEAoDaLm8UCkguNAFnU8tLWuJXYKjJvqbYJXSWdn1Si5fU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143411},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"e62b7f8dbb7aef359c86ed163e46163959815f51","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.8_1774711138937_0.6800107296149609","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.9":{"name":"@402flow/sdk","version":"0.1.0-alpha.9","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.9","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"4af45f2b59df5d72b4be6e2d44e868d5a488bd54","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.9.tgz","fileCount":15,"integrity":"sha512-BtJhWBIoaYhEzq9okIfdqwEY3vshk+REjVnOuq9iUKce7h/hXpsx/QT3/NjaJGSLqAeHR6k+c8ubFWvwKhh4Cg==","signatures":[{"sig":"MEQCIAMUUVntjVHphmTQ4AXyUSoOqzTZ+/DJCzi0mnLLRf2EAiAhxGqbS71nfXMk86s+GZpKUfBYVMhXrD5/WybChM2dBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159478},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"148885a6cf53b1f09d4d6c066631b8f9cc7032e5","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.9_1774820457597_0.7409883628469287","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.10":{"name":"@402flow/sdk","version":"0.1.0-alpha.10","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.10","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"c485b89937c3ec4f02f2f81fabb44377f09a3817","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.10.tgz","fileCount":15,"integrity":"sha512-ieSzbySnv7FBlGnrW8lrfbwY3deaNmT7E0XtazoDKT7hhoaLDAtXb0EnV5+B43xaAOM1lK8lfm9Bt31dHvzGTQ==","signatures":[{"sig":"MEUCIH3wckxk71905qiRCQLK5hKielNLBU/AIypa5lRdW/ZCAiEAz4n+9YgzqJg5QUBrs4/NyH4jQ1A0zWpCBFtuCB/T9as=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160418},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"dfcf7b8e771148c27b2517e2c2b6fe212f66595a","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.10_1774995165270_0.46950196802484867","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.11":{"name":"@402flow/sdk","version":"0.1.0-alpha.11","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.11","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"44ebedbe9a6a6e190033a2912546ff970bd0db4c","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.11.tgz","fileCount":15,"integrity":"sha512-b6r4X0Gbjv6YV3AzW6LmQRfuIERFTi6ngxp70rJ6a9dZyyd1U3AQMsx88F5t8lt2f19QX4AECqAEbcFOFQqHaQ==","signatures":[{"sig":"MEUCICUVMgtNXo+oLXeKNAvLbp0snc57T2v9U2bOzlueIfgVAiEA++hfUrCIRVUO22lyYro2PoiZRosnZBhWsaAfKKsFLHY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":159740},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"dfcf7b8e771148c27b2517e2c2b6fe212f66595a","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.11_1775098396620_0.0065437453569436865","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.12":{"name":"@402flow/sdk","version":"0.1.0-alpha.12","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.12","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"c83bb922dc096563e7cbbd450521745e6a3c45b3","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.12.tgz","fileCount":15,"integrity":"sha512-RPA+hDfOPmHbd34P0BUa8oge4fuqIGZfuA4rbeDzqS4qKebwuuZzpqUmqK6vnK2h86qRUOH8/H0L712hdJ4zow==","signatures":[{"sig":"MEUCIEpr25okksiwfvShChQyqqDvxNToCKNxhotGRUvf+eE3AiEAihXcwt/6mkNDCL67aB+sbEwCLGBvWFNN/R9xDVeC2SI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160342},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"d88370e5fb5521e59003f049cccc6969b7db627c","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.12_1775145347367_0.6758077745286593","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.13":{"name":"@402flow/sdk","version":"0.1.0-alpha.13","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.13","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"7d903474c6ade7c81eab3112ca5e427273a0aa88","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.13.tgz","fileCount":15,"integrity":"sha512-G08Fx0u/gsTBbhlPRxxiXh+VypHp/uITAWdIfnCKnsb1p91ZeLFH5LcFgoEuIyHd5iN/w+ZJlO3aw4G4zzo9bQ==","signatures":[{"sig":"MEUCIGEgxZp/g13ywXOMNsrjBMhcXImKXKkcrDaiVlLhrnh0AiEAnj9UTheUuGuctO87xjlaJcvx6r9oNglOu4T/1UXeCak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":160371},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"2e1a80f697d16885a9376654a83cff6a55233e6e","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run clean && npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run clean && npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.13_1775273557399_0.6342418273849166","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.14":{"name":"@402flow/sdk","version":"0.1.0-alpha.14","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.14","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"76b885705bbd749cd520b174937646a7801f7e90","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.14.tgz","fileCount":18,"integrity":"sha512-LZcWf3SPSTJpm9abbvnkj9PGhpkphlX1NDX+CRaSBZrbQJolbOoPm0NIAuDlbW0gFmTG01p47ua/WROMnCS2zA==","signatures":[{"sig":"MEQCIDusU5cNevaVM5g8zsNDWt++DPOYRaNPYdmWc180/09hAiAvyHSzFdk0zVB74KQO7Ez0pKhl4YU71626e7Eg5C7Xaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":449198},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"2e1a80f697d16885a9376654a83cff6a55233e6e","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Node.js SDK for making paid requests through the 402flow control plane.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.14_1775884610331_0.859643942049013","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.15":{"name":"@402flow/sdk","version":"0.1.0-alpha.15","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.15","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"cc1a170638e6b7812702a34ddbd2b8152fcd5335","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.15.tgz","fileCount":18,"integrity":"sha512-2kR4r2RLUs8+QeKTesBZoaiTPB6o6YbFBmIxwO/LYLD6f4luIQUEPmNIBEZZlakIatGi8zN4MIyYnrbi7v/B0Q==","signatures":[{"sig":"MEUCICh6lDeVoFNWeilUk5CGIu6NjYBID92wjKb7YBqUM4xDAiEA2ElEdlgemjvm3lWy5P60Gr/9hFXcm6sIbIBDkoNcZoM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":419683},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"1cee34c6cd82f1e4598f8b30c7bff4d8834a25f8","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.15_1776222031979_0.3360127049153854","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.16":{"name":"@402flow/sdk","version":"0.1.0-alpha.16","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.16","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"708c048655587ee468a008a0ff135a2ef393e10b","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.16.tgz","fileCount":18,"integrity":"sha512-5fEalQxf2JDSdQjORg1XQSb8dFIAWRCcFMZPCgRwYoOPo2UkAQ/mvmkq6n3LhE38j1n3DEbx5LDn14UrHb/hWg==","signatures":[{"sig":"MEQCIHJNGik1dRFfydKRiayGnM9D1ZKIHeIauXXDCrGOqgWNAiAc6Y31wCnoyQYqic0UUHkliJ517n5/qQzzTGoDBF84rQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":456489},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"8a1d3db8741c58e532862b2efde38562826a7171","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.16_1776450715117_0.0724986737175306","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.17":{"name":"@402flow/sdk","version":"0.1.0-alpha.17","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.17","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"55afd7180d6ae58d924f235f5e8dc0e16842aefd","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.17.tgz","fileCount":18,"integrity":"sha512-5RW+o41W1WuyphT7imTf9Q/i/aJeHIvZ6UXOuFdAi40kT+7Gu/pvkGbWviNUHuUbHYB6PGhesyMnNm/O9mnyNw==","signatures":[{"sig":"MEUCIBWYtFu6xUb93A84pDA9DeFP39k7SiWMpPSW9F76XPDjAiEAnpM+6EDOPHX9v+SO3DbcwzSQmzeINvVWOrAVSWvg3FQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":456489},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"1d0a2857e4f2c8f6535e72e74b1152877eac707f","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.17_1776451414720_0.6010431533604295","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.18":{"name":"@402flow/sdk","version":"0.1.0-alpha.18","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.18","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"f2c2d2b38298fa009dd41dcdf871e6250fb4bd81","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.18.tgz","fileCount":18,"integrity":"sha512-Q2mns3QgAdJVEtB7i9AxHmPE+kbTgwLQ4qUmF0Us9j8NKfkR0TnUO/xLFRRZ5nyXBeNPotcGZlqcEDkPi5vzOw==","signatures":[{"sig":"MEUCIGwJCPjJLjzAQiQDIwN5JHM5U19x7xESuNtIT2AIKuGeAiEA6ojti6onXsHMFFiSH+FxD7sGMj1nm5wQiZ2oOmAF8vE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":456489},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"bb1f2542035615341a2f712645e2ff625ad0ef03","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.18_1776482660444_0.6468265797795796","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.19":{"name":"@402flow/sdk","version":"0.1.0-alpha.19","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.19","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"16ac283cb8a15986e52a98b44b85f669431a79c0","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.19.tgz","fileCount":21,"integrity":"sha512-56zzaZNaGrLqQT3L5BLGzg/IH4EOSZN3RCbB3QGnW9oEfnMgNlVB87UN4RBbQxJkMLPjQ/U9wBdzUDQSpQ5W9w==","signatures":[{"sig":"MEUCIBTvSGeefq9CVZl+vY8B/GL1xO3HmoNwcQOuWNzhIN9bAiEAkUGtMw2rtQphRVq+iEZCtViRe29C491GAub66Qy51TQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":464650},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"9e83688219105e905c3a50c29ff62f38a30d9a92","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.19_1776566891323_0.48742298900577063","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.20":{"name":"@402flow/sdk","version":"0.1.0-alpha.20","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.20","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"b5d4580439cb6e0d46d522260aa5f55647d5c929","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.20.tgz","fileCount":21,"integrity":"sha512-C330MpUPEwEJBLBxZOPJQXY1YUVnQmx7p5KSiwRMai57QMbrENT1UElqkDvWpQF42Jrj8hgw8hFFXGnunECXMA==","signatures":[{"sig":"MEYCIQCbkpFAMuO0Rk8iSGr79bQNhhYnLlngO+oSW/biQ7czfQIhAOiuOLZTOZPrgSdo05PLRh9lo5QSKFAmL+6RJY5wVfWl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":464294},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"862ec9996277c720b95d87f1d10568172eb4a8f9","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.20_1776612215531_0.9722755742896683","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.21":{"name":"@402flow/sdk","version":"0.1.0-alpha.21","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.21","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"4946ed052f0d98e53b16b6215510260a8fa0d5e9","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.21.tgz","fileCount":21,"integrity":"sha512-JnKT4xgIXYJFbo70XTh171gcquGCGcg5RsH7SleCBgEmD2gEjEBCIhMxkKRxXL1s+002AGNAplCSPOdxZzFn6w==","signatures":[{"sig":"MEYCIQCfwlVcwDNNWf0Ez5XYubxYYLywo2WsAqlnC+EPWVgSzwIhAPUI3P4Y4pFUFe7M6yCYddnvhfw5YASXZICu2xdfcqti","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":465876},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"620cc85f91f6f098bcc4edad3684bc8b04f60052","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs","test:coverage":"vitest run --coverage","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.21_1776634507169_0.41030308214443956","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.22":{"name":"@402flow/sdk","version":"0.1.0-alpha.22","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.22","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"81ab1aaf0b7aad5706f106d8cc78c261dc0a810f","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.22.tgz","fileCount":21,"integrity":"sha512-Z4Ysad8hJPXE4+tXXwbaBzqsUuNDOPcav0s2ihOXnEwKbmxNkXSz0FH7HqT5L0m/2miLdc7lqxcm3gsJqM9FpA==","signatures":[{"sig":"MEUCIHlW2ReA6NgjGjK1ZeMGc3HfA9DX0/j9jI0wvpTpZINYAiEAkDfzFbtZUF/1mS+Bky0E4tyyheWSW2fNr4tfhDn554o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":467795},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"620cc85f91f6f098bcc4edad3684bc8b04f60052","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.22_1777259828735_0.9762089391616262","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.23":{"name":"@402flow/sdk","version":"0.1.0-alpha.23","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.23","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"7e42cc8034732c5775dff971f9c9fe02c289d14f","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.23.tgz","fileCount":21,"integrity":"sha512-ilaY+WV+gM4R9zs9g1gnykX0gf8i1RStNhgRp9gMhFHK1PTAW9WuOScQ3ukUuiO5o/6gYBF/Hr05zoUOs+ecUg==","signatures":[{"sig":"MEQCIEcGv08g9VBi86Eb9M0YG8Y3MthTt/pbZwxgmMyrl0Y0AiBRb44vPvdJMUHFAJD6hMIbfFbszIikAptiJADXNokPKw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":477470},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"1bd913a82add7dd44b869e0cdc9e0f8ca6b56f4e","private":false,"scripts":{"lint":"eslint src vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.23_1778897311730_0.8842812442092636","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.24":{"name":"@402flow/sdk","version":"0.1.0-alpha.24","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.24","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"ca3a80a73f154b09f3f0c7910a6856326079938a","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.24.tgz","fileCount":27,"integrity":"sha512-bdb/0Kw2aVfsw1gY56LsFTwB6h+IPI7gve4LBYdbneimOREacE8cBAgimOLIvoNttBj5SnDMMxnjDmfYbSfcdw==","signatures":[{"sig":"MEUCIQDjEAhwZj/5nF+iO6R2zezSwi15Eqiyg2cNUIrhsv9vewIgP0mtopY1Cm+Q1IDgc3vj7m+Q2ThnC3o/XFzZm0QzN+s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":549645},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"0c9233baf02c413e61f6ea41bed208ec9cf2a9cd","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.24_1779630128209_0.40702893415046915","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.25":{"name":"@402flow/sdk","version":"0.1.0-alpha.25","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.25","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"c00016cce5146c13f5387064e6aaafdbf0bc35ef","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.25.tgz","fileCount":27,"integrity":"sha512-+6kL6+1BS8KujQf9A4a2WlpYj8UPnBUEBFWhuqr7onKfR51JB3j+7/NOVHdcydIJnBxMBXes5b/wQzpk80wn0Q==","signatures":[{"sig":"MEUCICDqMDjxNVDMWpsK9I5JW3Aw/elJh245TkbqhEDztjmKAiEArXypkD/l1+EkoTIokZvetPNI0HxlcBaMrNbzjYo5XRM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":550845},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"3e0a188e1c789af875c9443e8c7b7f19baf9e7e6","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.25_1779748843184_0.8819808437415237","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.26":{"name":"@402flow/sdk","version":"0.1.0-alpha.26","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.26","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"d6fc57b6dbd4d0fe8c359df8700b1af78e3a0ede","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.26.tgz","fileCount":27,"integrity":"sha512-y13OHLX/nkLCu0XVcS5dF8jA7L2Z29OTTR4HfAN+kqt5TwYz4pXAcbE10YOXm6VU9ZXyHdRZRpH4sMoAhXtCyA==","signatures":[{"sig":"MEUCIQDsbPgkT1La0ABP5au3LcYYFEqOCv5XNseLcE9lz2N+pgIgeclJJRYhrGeXcJ3yMuWQ7NB1gJ9ykhAlUk/Bm/P6LBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":551456},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"aa0f51cd8b3c7f4bdb7ea2d6deca3da6d822fae0","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.26_1779753547376_0.5134036040689169","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.27":{"name":"@402flow/sdk","version":"0.1.0-alpha.27","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.27","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"94ee53f71d33c4e83bcaf83fd2cfd0135dd22ae4","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.27.tgz","fileCount":27,"integrity":"sha512-Z/ckdXWSvcKbu8dPiot0scPceGnpoIGsIP1CV2qnag5zMxZT4M/oTXWmzB3EdonlLmdLkmnl6NNpTGKKqlLkSQ==","signatures":[{"sig":"MEUCIC8RgeLEYhB0I1T+gHN8CR0r2hVpp7a64mpjLZcz6HMQAiEArP92eaFJsvSz1RvpO1hakPSjoNU+2bDKqK+7hnRfgpI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":553219},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"aa0f51cd8b3c7f4bdb7ea2d6deca3da6d822fae0","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.27_1779912098899_0.7115643661635624","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.28":{"name":"@402flow/sdk","version":"0.1.0-alpha.28","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.28","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"bbd1feb19a747fa761fe92cbfd7fde5fd29fa8b3","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.28.tgz","fileCount":27,"integrity":"sha512-o0D/zD2Wv8w6hEOamC4VcaEJSIugkGWHDo+Eqp/qjrsN/2Udzch00U1EE9vPFfU+5y6ywotHGnWzTSR0Xx6aEQ==","signatures":[{"sig":"MEQCIHVoxpzgd9wO/+DATr4N6Y8cQZY+YkEsfBrOiJXXLOQrAiBS4qWCS2zNNMK36VDSuoNA/LyRsu+aw/pOTb6JOpWjzQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":533848},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"8d95431fea999319353c9b2f0df01925e7d52203","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^3.0.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^3.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.28_1780281133938_0.00927913012102688","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.29":{"name":"@402flow/sdk","version":"0.1.0-alpha.29","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.29","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"ecdddddfca1d98e53b8e9902b9500407f1e2f78b","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.29.tgz","fileCount":27,"integrity":"sha512-fJbrbIXqIzxuFUSAhq3xngWbiKrQcA0/aqU4zHLmOwwcgZgKna4t/DtcUZPT9ozM0weHl39xSmh1F7IwlJhibA==","signatures":[{"sig":"MEUCIQD2MnOI/UrYgpVc+5LYaPIUnQg3QoXUls3YN7s+rW52SwIgLJ9CVryLf1otKuAe63FSPE1qSBEe4gnZdaU4wmjjT50=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":538223},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"465c59949a00a9361f921fdbc0d2f88cb06cfe3c","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^4.1.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.29_1780452349278_0.5681121649862291","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.30":{"name":"@402flow/sdk","version":"0.1.0-alpha.30","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0-alpha.30","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"656fb40ba3fb5788b9e59a4283bbb65561c0d63c","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0-alpha.30.tgz","fileCount":27,"integrity":"sha512-q9I8ScykRz0cNMp4UWc5ouCWMTTM5gPqN1tu3Z5vWMXQnaViWSPLPDIwgbtuSoegsNg6Z0ktikreID5vU7TBgQ==","signatures":[{"sig":"MEYCIQCdG3Y3avo2pLlhO4CWttaj6ZIOsf7iQy02buBxbgQCoAIhALSw9fTy6J+O5jQdxDyFkkszZ9m5ijZ7rNoGijsgUOnY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":543224},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"261bf18f8c47b9afb435fc77230e38386ad6b738","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.22.0","vitest":"^4.1.8","globals":"^15.15.0","@eslint/js":"^9.22.0","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0-alpha.30_1780454560462_0.5346905144924081","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@402flow/sdk","version":"0.1.0","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.0","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"0ba8579790bc4444742b0cd4d7020a2ee1554102","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.0.tgz","fileCount":27,"integrity":"sha512-nH/iSnMOL55971W0fcsZGqNWofEj6K1bJjZf1SUA3nNCHFKZvAJHIDO/D3XIxMwDK0kGQ5KviZc8s2K7mPCWKg==","signatures":[{"sig":"MEUCID9bNiXR37TpY1/TZDelkGvEjhz/A/7TRoaoFbMQ+S15AiEAvX3S1LTavHvY2i/sGKF3oRdG6QR6CqHtEvPJuBF+zR4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":545452},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"6aca720eaeec74dc7c2c77fa6826c2afcb49bf2a","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","smoke:hosted-demo":"node scripts/check-hosted-demo.mjs","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"10.8.0","vitest":"^4.1.8","globals":"^15.15.0","@eslint/js":"10.0.1","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1785104519073_0.9791152775772176","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@402flow/sdk","version":"0.1.1","keywords":["402flow","sdk","x402","AI","agents","payments"],"author":{"name":"402flow"},"license":"Apache-2.0","_id":"@402flow/sdk@0.1.1","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"dist":{"shasum":"5d210b6bdd17fe18de5ff69ea8aa516ef169ada0","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.1.tgz","fileCount":27,"integrity":"sha512-Ky+SgFnJxh3DIMluBP9gVpwAq3wjXsGFalvjsae4gQhpbriAgQNbDvb61A8gzhyhxepqPtxu3WbrWG6Iou1Lcw==","signatures":[{"sig":"MEYCIQDi+a3ur7WEwCNfk9VxiOWE0Q9bUbT/A+DsieugN9OQBQIhAKO+dLcj9AoVKYNGt1KiyMY1PPDVK7CDbbm7s9gBNo2m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":546222},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"909e2bb00fd6f5174212c1114aedee67159068af","private":false,"scripts":{"lint":"eslint src test vitest.config.ts && npm run typecheck","test":"vitest run","build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","prepack":"npm run build","check:all":"npm run check && npm --prefix third-party-executors run check","typecheck":"tsc -p tsconfig.typecheck.json --noEmit","pack:check":"npm run build && npm pack --dry-run","install:all":"npm install && npm --prefix third-party-executors install","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","test:coverage":"vitest run --coverage","prepublishOnly":"npm run check:all","smoke:hosted-demo":"node scripts/check-hosted-demo.mjs","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs"},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"repository":{"url":"git+https://github.com/402flow/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.24.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"10.8.0","vitest":"^4.1.8","globals":"^15.15.0","@eslint/js":"10.0.1","typescript":"^5.8.2","@types/node":"^22.13.10","typescript-eslint":"^8.26.1","@vitest/coverage-v8":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1785112250011_0.01783487040586418","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@402flow/sdk","version":"0.1.2","description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","private":false,"type":"module","main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=20.0.0"},"license":"Apache-2.0","author":{"name":"402flow"},"homepage":"https://github.com/402flow/sdk#readme","bugs":{"url":"https://github.com/402flow/sdk/issues"},"repository":{"type":"git","url":"git+https://github.com/402flow/sdk.git"},"keywords":["402flow","sdk","x402","AI","agents","payments"],"publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"npm run clean && tsc -p tsconfig.json","check":"npm run lint && npm test","check:all":"npm run check && npm --prefix third-party-executors run check","clean":"node -e \"const fs = require('node:fs'); for (const path of ['dist', 'tsconfig.tsbuildinfo', 'tsconfig.typecheck.tsbuildinfo']) { fs.rmSync(path, { recursive: true, force: true }); }\"","example:openai-harness":"npm run build && node examples/openai-agent-harness.mjs","example:openai-tools-quickstart":"npm run build && node examples/openai-tools-quickstart.mjs","install:all":"npm install && npm --prefix third-party-executors install","lint":"eslint src test vitest.config.ts && npm run typecheck","pack:check":"npm run build && npm pack --dry-run","prepublishOnly":"npm run check:all","prepack":"npm run build","scenario:all":"npm run build && node scripts/run-scenarios.mjs --plan=all","scenario:core":"npm run build && node scripts/run-scenarios.mjs --plan=core","scenario:first-party":"npm run build && node scripts/run-scenarios.mjs --plan=first-party","scenario:mock":"npm run build && node scripts/run-scenarios.mjs --plan=mock","scenario:third-party":"npm run build && node scripts/run-scenarios.mjs --plan=third-party","smoke:hosted-demo":"node scripts/check-hosted-demo.mjs","test":"vitest run","test:coverage":"vitest run --coverage","typecheck":"tsc -p tsconfig.typecheck.json --noEmit"},"dependencies":{"zod":"^3.24.2"},"devDependencies":{"@eslint/js":"10.0.1","@types/node":"^22.13.10","@vitest/coverage-v8":"^4.1.8","eslint":"10.8.0","globals":"^15.15.0","typescript":"^5.8.2","typescript-eslint":"^8.26.1","vitest":"^4.1.8"},"_id":"@402flow/sdk@0.1.2","gitHead":"93c1f1fcbf2c356fb195c78caf41633fb9ed4ed4","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-iSryHbM+7w8ujbvSoTdPdbv4L8Tf3d3X7O08YGnDjxj0aDtV5XjpqDIfWgYK4VdhN43rWLzGMC97F8bM5hGg2w==","shasum":"3ddf3191a47ffa9038489ccceb5636d1db25378b","tarball":"https://registry.npmjs.org/@402flow/sdk/-/sdk-0.1.2.tgz","fileCount":27,"unpackedSize":550982,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDjgxfXf3yyAHj4ljPPtv5+BfnUxur7OMcEy3HX9V1h4wIhAO8aEuOkNV0T7xA/gYOwW5axAfyAnsAu+ejxJCuK5Zkd"}]},"_npmUser":{"name":"norulers","email":"scooterellis@gmail.com"},"directories":{},"maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.2_1788136254341_0.45746538437946693"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-24T21:41:00.122Z","modified":"2026-08-31T00:30:54.646Z","0.1.0-alpha.1":"2026-03-24T21:41:00.360Z","0.1.0-alpha.2":"2026-03-24T22:33:33.795Z","0.1.0-alpha.3":"2026-03-25T00:56:50.244Z","0.1.0-alpha.4":"2026-03-25T01:00:28.027Z","0.1.0-alpha.5":"2026-03-25T21:19:26.926Z","0.1.0-alpha.6":"2026-03-26T18:46:43.021Z","0.1.0-alpha.7":"2026-03-28T02:24:40.338Z","0.1.0-alpha.8":"2026-03-28T15:18:59.086Z","0.1.0-alpha.9":"2026-03-29T21:40:57.749Z","0.1.0-alpha.10":"2026-03-31T22:12:45.463Z","0.1.0-alpha.11":"2026-04-02T02:53:16.786Z","0.1.0-alpha.12":"2026-04-02T15:55:47.512Z","0.1.0-alpha.13":"2026-04-04T03:32:37.558Z","0.1.0-alpha.14":"2026-04-11T05:16:50.480Z","0.1.0-alpha.15":"2026-04-15T03:00:32.128Z","0.1.0-alpha.16":"2026-04-17T18:31:55.337Z","0.1.0-alpha.17":"2026-04-17T18:43:34.882Z","0.1.0-alpha.18":"2026-04-18T03:24:20.574Z","0.1.0-alpha.19":"2026-04-19T02:48:11.491Z","0.1.0-alpha.20":"2026-04-19T15:23:35.687Z","0.1.0-alpha.21":"2026-04-19T21:35:07.313Z","0.1.0-alpha.22":"2026-04-27T03:17:08.883Z","0.1.0-alpha.23":"2026-05-16T02:08:31.986Z","0.1.0-alpha.24":"2026-05-24T13:42:08.361Z","0.1.0-alpha.25":"2026-05-25T22:40:43.332Z","0.1.0-alpha.26":"2026-05-25T23:59:07.529Z","0.1.0-alpha.27":"2026-05-27T20:01:39.089Z","0.1.0-alpha.28":"2026-06-01T02:32:14.072Z","0.1.0-alpha.29":"2026-06-03T02:05:49.448Z","0.1.0-alpha.30":"2026-06-03T02:42:40.648Z","0.1.0":"2026-07-26T22:21:59.220Z","0.1.1":"2026-07-27T00:30:50.183Z","0.1.2":"2026-08-31T00:30:54.477Z"},"bugs":{"url":"https://github.com/402flow/sdk/issues"},"author":{"name":"402flow"},"license":"Apache-2.0","homepage":"https://github.com/402flow/sdk#readme","keywords":["402flow","sdk","x402","AI","agents","payments"],"repository":{"type":"git","url":"git+https://github.com/402flow/sdk.git"},"description":"Paid HTTP SDK for AI agents with an inspectable prepare/execute flow.","maintainers":[{"name":"norulers","email":"scooterellis@gmail.com"}],"readme":"# @402flow/sdk\n\n[![npm: @402flow/sdk](https://img.shields.io/npm/v/@402flow/sdk?label=%40402flow%2Fsdk)](https://www.npmjs.com/package/@402flow/sdk)\n[![npm: third-party executors](https://img.shields.io/npm/v/@402flow/sdk-third-party-executors?label=third-party-executors)](https://www.npmjs.com/package/@402flow/sdk-third-party-executors)\n\nPaid API SDK for AI agents, tool hosts, and governed automation.\n\nIt gives AI agents, tool hosts, and automation services easy access to paid APIs while organizations keep policy, approvals, receipts, and spend controls outside the agent runtime.\n\nUse `fetchPaid(...)` when the exact request is already known.\nUse `preparePaidRequest(...)` when the agent needs merchant-published hints and an authoritative `nextAction` before paying.\n\n## Why This SDK\n\n- Inspectable paid request flow. Agents and tool hosts can prepare, revise, and execute paid HTTP requests explicitly instead of hiding everything inside one opaque pay-and-fetch call.\n- Control-plane governance. Policy, approvals, receipts, and audit stay centralized instead of being reimplemented in every host.\n- Agent-ready request shaping. `nextAction` gives models and tools a stable contract for revise, execute, or passthrough.\n- Provider-neutral execution. Use the native SDK path or delegate the paid call to Dexter, pay.sh, or a host-owned executor without losing governance value.\n\n## Install\n\n```bash\nnpm install @402flow/sdk\n```\n\nThis is the normal install path. Use `@402flow/sdk` by itself when you want the native 402flow payment flow.\n\nOptional official adapters for third-party payers:\n\n```bash\nnpm install @402flow/sdk @402flow/sdk-third-party-executors\n```\n\nInstall `@402flow/sdk-third-party-executors` only when you want delegated execution through Dexter or pay.sh instead of the native 402flow path.\n\nThe published package supports Node 20+.\n\n## Core Surface\n\n| API | Use it when | What it returns |\n| --- | --- | --- |\n| `fetchPaid(...)` | You already know the request shape | Probe the merchant when no challenge is supplied, then authorize, pay, and return the merchant response |\n| `preparePaidRequest(...)` | You want to inspect before paying | Payment terms, parameter hints, validation issues, and an authoritative `nextAction` |\n| `executePreparedRequest(...)` | You already prepared the request | Executes the exact prepared request without re-probing first |\n| `AgentHarness` | Your model host wants a `preparedId` tool contract | The same flow behind a process-local in-memory three-tool surface |\n\n## Hosted Integration Targets\n\nThe hosted demo merchant exposes the same integration contract on four networks:\n\n| Network | Environment | URL | Price per paid call |\n| --- | --- | --- | --- |\n| Base Sepolia | Testnet | `https://demo-merchant-staging.402flow.ai/demo-merchant/research-brief/base-sepolia` | 0.001 test USDC |\n| Base | Mainnet | `https://demo-merchant-staging.402flow.ai/demo-merchant/research-brief/base-mainnet` | 0.001 real USDC |\n| Solana devnet | Testnet | `https://demo-merchant-staging.402flow.ai/demo-merchant/research-brief/solana-devnet` | 0.001 test USDC |\n| Solana | Mainnet | `https://demo-merchant-staging.402flow.ai/demo-merchant/research-brief/solana-mainnet` | 0.001 real USDC |\n\nAll four routes accept the JSON body used below and return HTTP 402 before\npayment. The hosted smoke command probes their challenge contracts without\npaying:\n\nRun the unpaid hosted contract check with:\n\n```bash\nnpm run smoke:hosted-demo\n```\n\nThe default release integration campaign is `npm run scenario:core`. It includes\nthree paid Base mainnet scenarios and three paid Solana mainnet scenarios. At the\ncurrent merchant price, its mainnet merchant spend is 0.006 USDC total, plus any\nexecution-rail network fees. It requires funded Base and Solana mainnet rails.\nA release campaign is incomplete if either mainnet cannot authorize, pay, and\nreturn fulfilled HTTP 200 content with a receipt.\n\n## Quick Start: Host-Controlled Request\n\nThis first example shows the deterministic application path. Your code already knows which merchant route and request parameters it wants to send, and the SDK handles probing, policy, payment, and receipts around that request.\n\n```ts\nimport {\n  AgentPayClient,\n  createJsonRequestBody,\n} from '@402flow/sdk';\n\nconst client = new AgentPayClient({\n  controlPlaneBaseUrl:\n    process.env.X402FLOW_CONTROL_PLANE_BASE_URL ?? 'https://api-staging.402flow.ai',\n  organization: process.env.X402FLOW_ORGANIZATION ?? 'acme-labs',\n  agent: process.env.X402FLOW_AGENT ?? 'research-worker',\n  auth: {\n    type: 'bootstrapKey',\n    bootstrapKey: process.env.X402FLOW_BOOTSTRAP_KEY ?? '',\n  },\n});\n\nconst result = await client.fetchPaid(\n  'https://demo-merchant-staging.402flow.ai/demo-merchant/research-brief/solana-devnet',\n  {\n    method: 'POST',\n    headers: {\n      'content-type': 'application/json',\n    },\n    body: createJsonRequestBody({\n      topic: 'sdk integration rollout',\n      audience: 'platform engineers',\n      format: 'bullets',\n    }),\n  },\n  {\n    description: 'generate a staged research brief',\n    idempotencyKey: 'sdk-readme-solana-devnet-brief',\n  },\n);\n\nconsole.log(await result.response.json());\nif (result.kind === 'success') {\n  console.log(result.receiptId);\n}\n```\n\nThis is why the request body is filled in directly in code here. `fetchPaid(...)` is the simplest integration path when your application already knows the parameters.\n\nImportant probe semantics: when you do not supply a merchant challenge, both `fetchPaid(...)` and `preparePaidRequest(...)` send the original request to the merchant first to discover whether payment is required. That initial merchant probe happens before any control-plane authorization or payment attempt. For non-idempotent `POST` routes, use this only against endpoints that are explicitly safe to probe or after you already have the merchant challenge from another step.\n\nUse `fetchPaid(...)` when the request is already shaped and you want the shortest path.\nUse `preparePaidRequest(...)` when the caller needs to inspect what the merchant published, construct the right request, and execute only when `nextAction === 'execute'`.\n\nThe strict, runnable version of this example is\n[`examples/typescript/fetch-paid.ts`](examples/typescript/fetch-paid.ts). It\nincludes passthrough narrowing, typed failures, and an explicit idempotency key.\n\n## Quick Start: Agent-Driven Request Construction\n\nIf you want the agent to decide which parameters to send, do not hardcode those decisions into the SDK call site. Instead, expose the SDK through `AgentHarness` or your own tool wrapper and let the agent react to `nextAction`, `validationIssues`, and `hints`.\n\nThe typical loop is:\n\n1. the agent proposes a request\n2. the SDK returns `nextAction`, `validationIssues`, and merchant-published `hints`\n3. the agent revises the request until `nextAction === 'execute'`\n4. the host executes the prepared request and reads the stored result before summarizing the outcome\n\nThat is the path to use when the model is supposed to fill request parameters properly instead of relying on host code that already knows the answer.\n\nSee\n[`examples/typescript/prepare-execute.ts`](examples/typescript/prepare-execute.ts)\nfor a strict executable example.\n\n## AgentHarness\n\n`AgentHarness` is the optional model-host wrapper for the same inspect-then-execute loop.\n\nIt stores process-local in-memory prepared state behind a `preparedId`, exposes a canonical three-tool contract, and keeps the rule that matters most stable across hosts:\n\n`nextAction` is authoritative.\n\n```ts\nimport {\n  AgentHarness,\n  defaultHarnessInstructions,\n  defaultHarnessToolSpecs,\n} from '@402flow/sdk';\n\nconst harness = new AgentHarness({ client });\n\nconsole.log(defaultHarnessInstructions);\nconsole.log(defaultHarnessToolSpecs.map((spec) => spec.name));\n// [ 'prepare_paid_request', 'execute_prepared_request', 'get_execution_result' ]\n```\n\nUse this path when you want the model to construct a correct request instead of guessing its way into a paid call.\n\n`AgentHarness` is a convenience wrapper for single-process hosts. It is not a durable cross-process orchestration store.\n\n## Governed Third-Party Execution\n\n402flow can execute paid x402 requests natively, or you can delegate final payment execution to Dexter, pay.sh, or another executor. Once a payable challenge is already known, 402flow authorizes the paid attempt before execution and finalizes the normalized result afterward, keeping policy, approvals, receipts, and audit centralized.\n\nOfficial adapters live in `@402flow/sdk-third-party-executors`, and the repo-local source for those adapters lives under `third-party-executors/`. Import the provider-specific subpath you actually use:\n\n```ts\nimport { createDexterExecutor } from '@402flow/sdk-third-party-executors/dexter';\n// or:\nimport { createPayShExecutor } from '@402flow/sdk-third-party-executors/pay-sh';\n```\n\nThe constructors require provider credentials:\n\n- Dexter: `{ wallets, payAndFetchOptions? }`\n- pay.sh: `{ signer, rpcUrl?, networks?, policies? }`\n\nRead the [adapter guide](third-party-executors/README.md) before installing the\noptional package. It documents the provider dependency footprint and links to\ncomplete executable examples.\n\n## Errors, Retries, And Timeouts\n\nPaid non-success outcomes throw `FetchPaidError`. Merchant probe aborts,\nruntime-token failures, and control-plane transport failures are ordinary\nplatform errors. Always narrow `PaidResponse` before reading receipt fields.\n\nUse an idempotency key for every operation that might be retried. Reuse a key\nonly for the exact same business operation and request. A timeout does not prove\nthat payment did not happen.\n\nSee the [compatibility guide](docs/compatibility.md) for the complete error\ntaxonomy and safe-retry table. To bound each network call, use the custom-fetch\npattern in\n[`examples/typescript/timeout-client.ts`](examples/typescript/timeout-client.ts).\n\n## Further Reading\n\n- [Detailed SDK guide](docs/sdk-guide.md)\n- [Clean-room integration review](docs/clean-room-integration-review.md)\n- [Compatibility, errors, and safe retries](docs/compatibility.md)\n- [Evaluation harness](docs/evaluation-harness.md)\n- [Harness scenarios](docs/harness-scenarios.md)\n- [Dexter and pay.sh executors](third-party-executors/README.md)\n- [Publishing and release checks](docs/releasing.md)","readmeFilename":"README.md"}