{"_id":"@1kbirds/chidori","_rev":"15-68cdd364d2cbeb0f579c80a360f151d0","name":"@1kbirds/chidori","dist-tags":{"latest":"3.8.1"},"versions":{"0.1.16":{"name":"@1kbirds/chidori","version":"0.1.16","license":"MIT","_id":"@1kbirds/chidori@0.1.16","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"os":["darwin","linux","win32"],"cpu":["x64","ia32","arm64"],"dist":{"shasum":"70a5a1193536ec4b3f92e82832103a2d0a9d983b","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-0.1.16.tgz","fileCount":26,"integrity":"sha512-QAI7E+M9DD/iL+yiTMJicLFUy8sARIMLeIbYkAJuLuLz7lc24HUAje5roDdggwlEbKtJpf4OP6I/rcbedIgD1w==","signatures":[{"sig":"MEQCIGycycJZ3nysIAss1FDhY+1tFJNEOwXY/B7zu41keuIFAiAq6AT1mt2mIFV+FfeKsqs7ePO9pX79UgInnNpJnvg/Cw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":104559},"main":"package_node/index.js","types":"./package_node/index.d.ts","binary":{"host":"https://github.com/thousandbirdsinc/monorepo/releases/download/","module_name":"chidori","module_path":"./package_node/native","remote_path":"v{version}","package_name":"{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz"},"gitHead":"e989b76c1ba098b8896eee0bf1fcd2556fc61681","scripts":{"build":"cargo-cp-artifact -nc ./package_node/native/chidori.node -- cargo build --message-format=json-render-diagnostics --features nodejs","install":"node-pre-gyp install","test-js":"jest tests/nodejs","test-rust":"cargo test","build-debug":"npm run build --","build-release":"npm run build -- --release"},"_npmUser":{"name":"thousandbirds","email":"colton@thousandbirds.ai"},"_npmVersion":"9.5.1","description":"Prompt Graph SDK","directories":{},"_nodeVersion":"18.16.1","dependencies":{"@mapbox/node-pre-gyp":"^1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","cargo-cp-artifact":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/chidori_0.1.16_1689889506454_0.6001420278778691","host":"s3://npm-registry-packages"}},"0.1.20":{"name":"@1kbirds/chidori","version":"0.1.20","license":"MIT","_id":"@1kbirds/chidori@0.1.20","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"os":["darwin","linux","win32"],"cpu":["x64","ia32","arm64"],"dist":{"shasum":"6bf0b5ea40f27b0c35b449f16716d6ff8e278602","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-0.1.20.tgz","fileCount":24,"integrity":"sha512-35xs0mUoCPv+1v4eCbuwKBaIvms0XeaHCwt+BERa+VFWUGqprDbsrbfBxLCrG8yYDNIHtnydRFrGTLjyIJWO8Q==","signatures":[{"sig":"MEUCIFLM8P+nPF6kM+Z3k8cOAuHLADNYzy0guFwPzfZHbJ5JAiEAm7WymNPqx0Jrsa9HGQNC/uDNR/wzwVvnv0ktG1yBN/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114074},"main":"package_node/index.js","types":"./package_node/index.d.ts","binary":{"host":"https://github.com/thousandbirdsinc/monorepo/releases/download/","module_name":"chidori","module_path":"./package_node/native","remote_path":"v{version}","package_name":"{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz"},"gitHead":"f40600dacb85815f9b29136796fa9105edbbaccd","scripts":{"build":"cargo-cp-artifact -nc ./package_node/native/chidori.node -- cargo build --message-format=json-render-diagnostics --features nodejs","install":"node-pre-gyp install","test-js":"jest tests/nodejs","test-rust":"cargo test","build-debug":"npm run build --","build-release":"npm run build -- --release"},"_npmUser":{"name":"thousandbirds","email":"colton@thousandbirds.ai"},"_npmVersion":"9.5.1","description":"Chidori is a library for building and running reactive AI agents.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"@mapbox/node-pre-gyp":"^1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","cargo-cp-artifact":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/chidori_0.1.20_1690047898384_0.3300696206923319","host":"s3://npm-registry-packages"}},"0.1.21":{"name":"@1kbirds/chidori","version":"0.1.21","license":"MIT","_id":"@1kbirds/chidori@0.1.21","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"os":["darwin","linux","win32"],"cpu":["x64","ia32","arm64"],"dist":{"shasum":"2d8f67707c50f6d220d20888f989edb1042317f1","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-0.1.21.tgz","fileCount":24,"integrity":"sha512-YWOHzGJYCOdecougl6U3WQr6bpZCs2+x6ux/RZJls/6q8rfvvdRR67Vg7/qfJcp2AxANpjlbj0bLs8njy5a4sw==","signatures":[{"sig":"MEYCIQCnmg5iA7B9pbayYxxfehsfQO3dP8FBydKPIHVjkojWCgIhAJNijYCu/GF7WqElwOMUY91gsCc3f7gU4iPNnbQfzKFY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114073},"main":"package_node/index.js","types":"./package_node/index.d.ts","binary":{"host":"https://github.com/thousandbirdsinc/chidori/releases/download/","module_name":"chidori","module_path":"./package_node/native","remote_path":"v{version}","package_name":"{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz"},"gitHead":"4189e29590e7a7186e3ca84c197462b41e1cc5ee","scripts":{"build":"cargo-cp-artifact -nc ./package_node/native/chidori.node -- cargo build --message-format=json-render-diagnostics --features nodejs","install":"node-pre-gyp install","test-js":"jest tests/nodejs","test-rust":"cargo test","build-debug":"npm run build --","build-release":"npm run build -- --release"},"_npmUser":{"name":"thousandbirds","email":"colton@thousandbirds.ai"},"_npmVersion":"9.5.1","description":"Chidori is a library for building and running reactive AI agents.","directories":{},"_nodeVersion":"18.16.1","dependencies":{"@mapbox/node-pre-gyp":"^1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","cargo-cp-artifact":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/chidori_0.1.21_1690057726759_0.9815075723623885","host":"s3://npm-registry-packages"}},"0.1.23":{"name":"@1kbirds/chidori","version":"0.1.23","license":"MIT","_id":"@1kbirds/chidori@0.1.23","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"os":["darwin","linux","win32"],"cpu":["x64","ia32","arm64"],"dist":{"shasum":"622a70b868910bf67303e5a6c125a07ab8c2c691","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-0.1.23.tgz","fileCount":25,"integrity":"sha512-4fh8ytsamdWYPjuQW+xK2vht2oNJwtdZa5C/koa7y/Li/AgpzMPJJwxTsqzQl9If2XrdrK1GGa77w73vQ4+nIA==","signatures":[{"sig":"MEUCIQDBDPscVIhZAZGNmMIHO+a83LbfXsoT6o96VSXVVBA9ugIgCMU/NUpaQibeozyYioY5ml9vEXl2EFvQWX068vpXWOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105614},"main":"package_node/index.js","types":"./package_node/index.d.ts","binary":{"host":"https://github.com/thousandbirdsinc/chidori/releases/download/","module_name":"chidori","module_path":"./package_node/native","remote_path":"v{version}","package_name":"{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz"},"gitHead":"ac93ceb71d7f414e494ce9a3d54e7909ada5cc6f","scripts":{"build":"cargo-cp-artifact -nc ./package_node/native/chidori.node -- cargo build --message-format=json-render-diagnostics --features nodejs","install":"node-pre-gyp install","test-js":"jest tests/nodejs","test-rust":"cargo test","build-debug":"npm run build --","build-release":"npm run build -- --release"},"_npmUser":{"name":"thousandbirds","email":"colton@thousandbirds.ai"},"_npmVersion":"9.6.7","description":"Chidori is a library for building and running reactive AI agents.","directories":{},"_nodeVersion":"18.17.0","dependencies":{"@mapbox/node-pre-gyp":"^1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","cargo-cp-artifact":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/chidori_0.1.23_1690482274533_0.4504302001583813","host":"s3://npm-registry-packages"}},"0.1.24":{"name":"@1kbirds/chidori","version":"0.1.24","license":"MIT","_id":"@1kbirds/chidori@0.1.24","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"os":["darwin","linux","win32"],"cpu":["x64","ia32","arm64"],"dist":{"shasum":"4aba28a3ecc6ed67219bdebbe776728d3cd12691","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-0.1.24.tgz","fileCount":33,"integrity":"sha512-bNr3Jw8xwMbMWoEfkMgqb2bXrak7iBXNAa6q5dD+OeiViVQCvFdtiz8pAEBlKFG9ySB0WgPihh8iRQPomwWEpQ==","signatures":[{"sig":"MEQCIB5ePuwmRDWaMemtF6m8+s4UJeimgzQcz0RD/J3SANf2AiBDjS7rgh0CIBrpM2837Y2B5EfKuQ8HzuEaY1vJlwSDFw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":84114051},"main":"package_node/index.js","types":"./package_node/index.d.ts","binary":{"host":"https://github.com/thousandbirdsinc/chidori/releases/download/","module_name":"chidori","module_path":"./package_node/native","remote_path":"v{version}","package_name":"{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz"},"gitHead":"731d1b3ac19a0b6647c02bae8fac0f0039f612a6","scripts":{"build":"cargo-cp-artifact -nc ./package_node/native/chidori.node -- cargo build --message-format=json-render-diagnostics --features nodejs","test-js":"jest tests/nodejs","test-rust":"cargo test","build-debug":"npm run build --","build-release":"npm run build -- --release"},"_npmUser":{"name":"thousandbirds","email":"colton@thousandbirds.ai"},"_npmVersion":"8.19.4","description":"Chidori is a library for building and running reactive AI agents.","directories":{},"_nodeVersion":"16.20.1","dependencies":{"@mapbox/node-pre-gyp":"^1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","cargo-cp-artifact":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/chidori_0.1.24_1690574941870_0.620895633225923","host":"s3://npm-registry-packages"}},"0.1.26":{"name":"@1kbirds/chidori","version":"0.1.26","license":"MIT","_id":"@1kbirds/chidori@0.1.26","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"os":["darwin","linux","win32"],"cpu":["x64","ia32","arm64"],"dist":{"shasum":"9fa0ec1930eb0b4ab43ea2aa3204c336d792715b","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-0.1.26.tgz","fileCount":18,"integrity":"sha512-7Ojrmw9hfJ8rYOdjDFb8c63g/X0Ihfhy09fRtzObF14uAUiOO/grAi8NizSCem6pbohnWkUE1SInzFbiWzJFOA==","signatures":[{"sig":"MEUCICkWbo4gNOc0egUlSdfEfvWg4cuwOpJTHMa3dOV5lK4TAiEAoUhn9obgj49HCMRGD17fSgXXopUOuk2LoLS2gJfwCG0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103491},"main":"package_node/index.js","types":"./package_node/index.d.ts","binary":{"host":"https://github.com/thousandbirdsinc/chidori/releases/download/","module_name":"chidori","module_path":"./package_node/native","remote_path":"v{version}","package_name":"{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz"},"gitHead":"605825fdfea7b7082a5058ca3615a99898ae0e1f","scripts":{"build":"cargo-cp-artifact -a cdylib _chidori  ./package_node/native/chidori.node -- cargo build --message-format=json-render-diagnostics --features nodejs","install":"node-pre-gyp install","test-js":"jest tests/nodejs","test-rust":"cargo test","build-debug":"npm run build --","build-release":"npm run build -- --release"},"_npmUser":{"name":"thousandbirds","email":"colton@thousandbirds.ai"},"_npmVersion":"9.6.7","description":"Chidori is a library for building and running reactive AI agents.","directories":{},"_nodeVersion":"18.17.0","dependencies":{"@mapbox/node-pre-gyp":"^1.0.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.1","cargo-cp-artifact":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/chidori_0.1.26_1690790523375_0.23180530701708424","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@1kbirds/chidori","version":"3.3.0","license":"Apache-2.0","_id":"@1kbirds/chidori@3.3.0","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"adf9138152d99d26abf423556b0442f02f877bd6","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.3.0.tgz","fileCount":8,"integrity":"sha512-T02xr3WT53EVdDTcIrcSXqgkaq81GxH5fYYwB19a7lvXRJWe4awaYm8dnrjCzWWT6ARNSt7id2y4yLVNcxbG1g==","signatures":[{"sig":"MEUCIQDDhd40L3aLw7xXKSTvvoL6rfEOknlfEKOao9ZVKIgcyAIgOei/S07W179vN61D3DMObdbB/Sb7NPrp5S55wT02BkA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":92212},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"}},"gitHead":"83d040f32ee0b298e6e6088d168ef8911df02505","scripts":{"build":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.22.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.3.0_1781672001591_0.7484847451322987","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"name":"@1kbirds/chidori","version":"3.4.0","keywords":["ai","agents","typescript","llm","replay"],"license":"Apache-2.0","_id":"@1kbirds/chidori@3.4.0","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"81755d9bcf1257c7ef69e52ccb9bdab5f9fdbf7a","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.4.0.tgz","fileCount":11,"integrity":"sha512-LaHQyvzdsR1/Jou3xcaUHdokiFUXSrh/vmQMjZToPopI8IDt2ywjpHDHna20N9TPXJpuwvYC53UJp3wJ1pA6fQ==","signatures":[{"sig":"MEQCIH4adigjFPak6l0AYV1TK8iTwhpGlNQhOqQJ3f8u2lVmAiAbUscIAdDf9ejvYd9NqgjaLwfn/VwbcvumnZrGeFFHgg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97513},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"},"./agent-env":{"types":"./dist/agent-env.d.ts","import":"./dist/agent-env.js"}},"gitHead":"672c931700c08a5f322ad9d5188918552da22a38","scripts":{"test":"node --test test/*.test.mjs","build":"tsc","pretest":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.22.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.4.0_1782113946892_0.7888674330530376","host":"s3://npm-registry-packages-npm-production"}},"3.4.1":{"name":"@1kbirds/chidori","version":"3.4.1","keywords":["ai","agents","typescript","llm","replay"],"license":"Apache-2.0","_id":"@1kbirds/chidori@3.4.1","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"fc555e64a1f653e6f0d25ca248b7b859445290a2","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.4.1.tgz","fileCount":11,"integrity":"sha512-UFJo48yl8vLgZci6XYB4HfSzYpYcAbhVNuGkVSUY1KRkfCF2BBnsokK8tEkn1ZDsT/1peNDeI/GF6WmC3rwSjA==","signatures":[{"sig":"MEQCIHdRD/XW2ItTIUPJ1A3T4oXWO1DYWG0Fbts2Xs6raCZWAiBK04ud4RWMwbyoCoMzmZHVhjtCpIh+y2wtw4A2Jv8y3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97513},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"},"./agent-env":{"types":"./dist/agent-env.d.ts","import":"./dist/agent-env.js"}},"gitHead":"33208e2de8709a7a87b293f7cd853f98172c7a54","scripts":{"test":"node --test test/*.test.mjs","build":"tsc","pretest":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"11.17.0","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.22.3","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.4.1_1782248775013_0.36990668813352445","host":"s3://npm-registry-packages-npm-production"}},"3.5.0":{"name":"@1kbirds/chidori","version":"3.5.0","keywords":["ai","agents","typescript","llm","replay"],"license":"Apache-2.0","_id":"@1kbirds/chidori@3.5.0","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"11798ae5ebdb68a13da92d9f40d784b19ad1c0a2","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.5.0.tgz","fileCount":11,"integrity":"sha512-A2Hw2n4AutG3o+8kfWHNA618adyVYIOMOeGiXJN9+A2KQ5XekT27i4o/twwGJoY19QnwHLhJAWlC6yMcW36KHA==","signatures":[{"sig":"MEYCIQDlKoh094TIPEKbCNnFN+lb78ExK2+0omGxc/aeJBvWUAIhANR9yVHjNpAxSsPjy+PYBPd1E/484LcXUXbqv54Nevby","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97513},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"},"./agent-env":{"types":"./dist/agent-env.d.ts","import":"./dist/agent-env.js"}},"gitHead":"8caa9b13c11a109bae8da3a32026f20209d418ff","scripts":{"test":"node --test test/*.test.mjs","build":"tsc","pretest":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"11.18.0","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.5.0_1783128656616_0.37952952802059303","host":"s3://npm-registry-packages-npm-production"}},"3.5.1":{"name":"@1kbirds/chidori","version":"3.5.1","keywords":["ai","agents","typescript","llm","replay"],"license":"Apache-2.0","_id":"@1kbirds/chidori@3.5.1","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"f0b14e75c180b23950c9972e71d214179cbac314","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.5.1.tgz","fileCount":11,"integrity":"sha512-KtLeqG1/5YhpUGKV0s/OhAhwujScARqGsU2jVmSkZ3FrmeyNxDe7OpA1zRlck7gw3/IOk7bhDetLGddpKFdeng==","signatures":[{"sig":"MEUCIQCfIDcd8ej0soSC6wocJnO46ovMIJTJDNybj3lGb+Xw/gIgdMhSpHz1dnOp1aoGoKmIVawX/DwqGJ3rbfM6GfQYmb8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97513},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"},"./agent-env":{"types":"./dist/agent-env.d.ts","import":"./dist/agent-env.js"}},"gitHead":"3e1716f38c2a9cb6614be5abd8ec979b9e58223b","scripts":{"test":"node --test test/*.test.mjs","build":"tsc","pretest":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"11.18.0","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.5.1_1783134070861_0.2920164396421945","host":"s3://npm-registry-packages-npm-production"}},"3.6.0":{"name":"@1kbirds/chidori","version":"3.6.0","keywords":["ai","agents","typescript","llm","replay"],"license":"Apache-2.0","_id":"@1kbirds/chidori@3.6.0","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"aaba026df0c3f7ce54714453fbe5a800d52b8269","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.6.0.tgz","fileCount":11,"integrity":"sha512-SehJq8SezJyvZJmq1dasTtAR2FzV9UFMb8BiENym9ZcUY0xrUCeFnqhcVDVEAyTNlc8N545GMEDTlUz7RcBMvQ==","signatures":[{"sig":"MEQCIEi91euuyVuF4MdTAsTaBQs/fb/cZOAuYW5TTOFMm8XwAiAJBONJcX/D2XCaq8pF0mltQrOkTJ5wSLHFaw7W0KLShQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":97467},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"},"./agent-env":{"types":"./dist/agent-env.d.ts","import":"./dist/agent-env.js"}},"gitHead":"65dda25b65e00a35eec9c9aea24ae84d8e533b09","scripts":{"test":"node --test test/*.test.mjs","build":"tsc","pretest":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"11.18.0","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.6.0_1783384907887_0.04166512591481841","host":"s3://npm-registry-packages-npm-production"}},"3.7.0":{"name":"@1kbirds/chidori","version":"3.7.0","keywords":["ai","agents","typescript","llm","replay"],"license":"Apache-2.0","_id":"@1kbirds/chidori@3.7.0","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"b6269eee1a5b5657cbf761cbfe9e4b8d74e38c46","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.7.0.tgz","fileCount":11,"integrity":"sha512-l2GIF4cSoXbJGCo4x/m7eNO1QX8bY2rnhJOlUUkROjAr25TPOlUO2RdDiyAt7TU7FODRAno84oDaelYBsTdTtg==","signatures":[{"sig":"MEYCIQDgtbXiMkF0/rVLOd1BCwOG2NYlKBKbpB6MKyao27H96wIhALcHq4DHMh33xAhsddG763/veq7GrPaHAztYHI1gpbdn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165541},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"},"./agent-env":{"types":"./dist/agent-env.d.ts","import":"./dist/agent-env.js"}},"gitHead":"6089250031841e18635c465b22afb936d5b5110d","scripts":{"test":"node --test test/*.test.mjs","build":"tsc","prepare":"npm run build","pretest":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"12.0.1","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.7.0_1785306516737_0.4136078595154946","host":"s3://npm-registry-packages-npm-production"}},"3.8.0":{"name":"@1kbirds/chidori","version":"3.8.0","keywords":["ai","agents","typescript","llm","replay"],"license":"Apache-2.0","_id":"@1kbirds/chidori@3.8.0","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"homepage":"https://github.com/ThousandBirdsInc/chidori","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"dist":{"shasum":"992bd4b100c8017cb5aa8aa0eb452cd962aaef1a","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.8.0.tgz","fileCount":11,"integrity":"sha512-sbpxEGIF2gP7bujrFogDybvdMe9lSc/dTovfkWE1yBm/xhnwGZCQQlRu3gMyRkWUcZ4SMfgsiQShQYX7MuiQFg==","signatures":[{"sig":"MEUCIQDSbC3aLbv0PaFynbhP3wKP/RJNb+0wwXKVshJEloVnlwIgEole8wXYqXY8BpjoNfyan67CMp0pUxOSbMdUlHiYWhY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":173372},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./agent":{"types":"./dist/agent.d.ts","import":"./dist/agent.js"},"./agent-env":{"types":"./dist/agent-env.d.ts","import":"./dist/agent-env.js"}},"gitHead":"2fee146464c6b8956632ade753a7026822d4d212","scripts":{"test":"node --test test/*.test.mjs","build":"tsc","prepare":"npm run build","pretest":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"repository":{"url":"git+https://github.com/ThousandBirdsInc/chidori.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","directories":{},"_nodeVersion":"22.23.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/chidori_3.8.0_1788049839804_0.6066029152862462","host":"s3://npm-registry-packages-npm-production"}},"3.8.1":{"name":"@1kbirds/chidori","version":"3.8.1","description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","keywords":["ai","agents","typescript","llm","replay"],"publishConfig":{"access":"public"},"homepage":"https://github.com/ThousandBirdsInc/chidori","repository":{"type":"git","url":"git+https://github.com/ThousandBirdsInc/chidori.git"},"license":"Apache-2.0","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"},"./agent":{"import":"./dist/agent.js","types":"./dist/agent.d.ts"},"./agent-env":{"import":"./dist/agent-env.js","types":"./dist/agent-env.d.ts"}},"scripts":{"build":"tsc","prepare":"npm run build","typecheck":"tsc --noEmit","pretest":"tsc","test":"node --test test/*.test.mjs"},"devDependencies":{"typescript":"^7.0.2"},"engines":{"node":">=18"},"gitHead":"223bb8779f63822c3e63a9a4347dda7483a02158","_id":"@1kbirds/chidori@3.8.1","bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"_nodeVersion":"22.23.2","_npmVersion":"12.0.2","dist":{"integrity":"sha512-etIejIbf3nfy3lhOnt1/W+qbXpTCxRw2dhatHao0HGhtMrYYFXblGZuGdOwnC1ANJcErl/N3Eh9e4WKOuavfWQ==","shasum":"5bdfa6db640a75e0203779d09ce84c8c1615a8bf","tarball":"https://registry.npmjs.org/@1kbirds/chidori/-/chidori-3.8.1.tgz","fileCount":11,"unpackedSize":173372,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1kbirds%2fchidori@3.8.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChFNga/dRVzFiZDqxpgZ+zVaz4EgMcJ78kHnouhpS+NwIhAO4lz+TvALeuHwlSldSrgmVDVoeJEzFfZGCyf0M3fXWB"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2ad247b9-ecdc-45e6-8971-19082cee50a9"}},"directories":{},"maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chidori_3.8.1_1788054359423_0.17937246612324875"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-20T21:45:06.347Z","modified":"2026-08-30T01:45:59.883Z","0.1.16":"2023-07-20T21:45:06.659Z","0.1.20":"2023-07-22T17:44:58.584Z","0.1.21":"2023-07-22T20:28:46.956Z","0.1.23":"2023-07-27T18:24:34.716Z","0.1.24":"2023-07-28T20:09:02.657Z","0.1.26":"2023-07-31T08:02:03.513Z","3.3.0":"2026-06-17T04:53:21.722Z","3.4.0":"2026-06-22T07:39:07.037Z","3.4.1":"2026-06-23T21:06:15.148Z","3.5.0":"2026-07-04T01:30:56.750Z","3.5.1":"2026-07-04T03:01:11.018Z","3.6.0":"2026-07-07T00:41:48.034Z","3.7.0":"2026-07-29T06:28:36.861Z","3.8.0":"2026-08-30T00:30:39.965Z","3.8.1":"2026-08-30T01:45:59.563Z"},"bugs":{"url":"https://github.com/ThousandBirdsInc/chidori/issues"},"license":"Apache-2.0","homepage":"https://github.com/ThousandBirdsInc/chidori","keywords":["ai","agents","typescript","llm","replay"],"repository":{"type":"git","url":"git+https://github.com/ThousandBirdsInc/chidori.git"},"description":"TypeScript SDK for the Chidori agent framework — HTTP client plus agent authoring types.","maintainers":[{"name":"thousandbirds","email":"colton@thousandbirds.ai"}],"readme":"# chidori TypeScript SDK\n\nZero-dependency TypeScript client for a running `chidori serve` instance.\nUses the global `fetch` (Node 18+, browsers). Mirrors the Python SDK.\n\n> **This package is not the runtime.** It's an optional HTTP client for driving\n> the Chidori **runtime** — the `chidori` binary — from a TypeScript app. You\n> don't need it to write or run agents (those are plain `.ts` files the runtime\n> executes directly). Install the runtime separately, no Rust toolchain needed:\n> `curl -fsSL https://raw.githubusercontent.com/ThousandBirdsInc/chidori/main/scripts/install.sh | sh`\n> — see the [project README](https://github.com/ThousandBirdsInc/chidori#%EF%B8%8F-quick-start).\n\n## Install\n\nThe package is published to npm as\n[`@1kbirds/chidori`](https://www.npmjs.com/package/@1kbirds/chidori). The\nunscoped `chidori` npm name belongs to an unrelated project, so **always import\nthe scoped name** — never `npm install chidori`:\n\n```bash\nnpm install @1kbirds/chidori\n```\n\n```ts\nimport { AgentClient, Checkpoint } from \"@1kbirds/chidori\";\n```\n\nTo build from source instead:\n\n```bash\ncd sdk/typescript\nnpm install\nnpm run build\n```\n\n### Authoring agents and tools\n\nAgent and tool files run *inside* the Chidori runtime, not as a normal Node\nprogram. They import their authoring surface — the `chidori` host object, the\n`run` definer, and every authoring type — from the **virtual** module\n`chidori:agent`:\n\n```ts\n/// <reference types=\"@1kbirds/chidori/agent-env\" />\nimport { chidori, run } from \"chidori:agent\";\n\nrun(async (input: { document: string }) => {\n  const summary = await chidori.prompt(\"Summarize:\\n\" + input.document);\n  return { summary };\n});\n```\n\n(Tool files import `type { ToolDefinition }` from the same module. The legacy\nagent form — `export async function agent(input, chidori)` — is still accepted.)\n\n> **Typing the input: use a `type` alias, not an `interface`.** The handler's\n> input parameter is constrained to `AgentJson` (JSON-compatible data), and a\n> TypeScript `interface` has no implicit index signature, so\n> `run(async (input: MyInterface) => …)` fails the constraint with a\n> confusing `Type 'AgentJson' is not assignable` error. A structurally\n> identical `type MyInput = { … }` (or an inline object type, as above)\n> satisfies it.\n>\n> **Version note:** install the SDK version matching your `chidori` binary —\n> the published types must agree with the runtime (e.g. `LlmResponseJson`\n> uses `toolCalls`, camelCase, since 3.6.x runtimes).\n\nSo there are exactly **two** specifiers, with different jobs:\n\n| Specifier | What it is | Where it's used |\n|---|---|---|\n| `chidori:agent` | Virtual module the runtime injects | Inside agent/tool files |\n| `@1kbirds/chidori` | This npm package (HTTP client + the ambient types for `chidori:agent`) | In your Node/browser app |\n\nThere is no installable package behind `chidori:agent`; it is a URL-style scheme\n(like `node:fs`) that the runtime strips and injects at execution time, so the\nunrelated `chidori` npm package can never be pulled in by mistake. The\n`/// <reference …>` line (or a `compilerOptions.types: [\"@1kbirds/chidori/agent-env\"]`\nentry in `tsconfig.json`) gives editors and `tsc` the types while you author;\nthe runtime itself needs nothing installed.\n\n## Usage\n\n```ts\nimport { AgentClient, Checkpoint, isSignalQueued } from \"@1kbirds/chidori\";\n\nconst client = new AgentClient(\"http://localhost:8080\");\n\n// Against a production server (CHIDORI_API_KEY set — see docs/deployment.md),\n// pass the bearer token; it is sent on every request, including stream():\n//   new AgentClient(\"https://agents.example.com\", { apiKey: process.env.CHIDORI_API_KEY });\n// `headers: {...}` merges extra headers for proxies / custom auth schemes.\n\n// Run an agent\nconst session = await client.run({ document: \"Rust is a systems language.\" });\nconsole.log(session.output);\n\n// Save and replay a checkpoint — zero LLM calls on replay\nconst checkpoint = await session.checkpoint();\nconst replayed = await client.replay(checkpoint);\n\n// Durable TypeScript runs may include snapshot metadata in the checkpoint.\n// The manifest is safe to inspect; raw VM snapshot bytes remain server-side.\nif (checkpoint.snapshotManifest) {\n  console.log(checkpoint.snapshotManifest.pending?.kind);\n  console.log(checkpoint.snapshotManifest.abi.engine_fork);\n}\n\nconst manifest = await client.getSnapshotManifest(session.id);\nconsole.log(manifest.policy.typescript_imports);\n\n// Live streaming: host calls, prompt stream deltas, then `done`\nfor await (const evt of client.stream({ document: \"hi\" })) {\n  if (evt.type === \"call\") console.log(evt.record.function);\n  if (evt.type === \"prompt_delta\" && evt.prompt_type === \"progress\") {\n    process.stdout.write(evt.delta);\n  }\n  if (evt.type === \"done\") console.log(evt.status, evt.output);\n}\n\n// Paused sessions (from input())\nif (session.status === \"paused\") {\n  const resumed = await client.resume(session.id, \"yes\");\n  console.log(resumed.output);\n}\n\n// Multiplayer signals (from chidori.signal / pollSignal): deliver\n// { name, payload?, from? } to a run.\nconst result = await client.signal(session.id, {\n  name: \"review\",\n  payload: { decision: \"approve\", notes: \"LGTM\" },\n  from: { kind: \"human\", id: \"mara\" },\n});\nif (isSignalQueued(result)) {\n  // run wasn't paused-waiting on this name → enqueued in the durable mailbox (202)\n  console.log(\"queued at delivery_seq\", result.delivery_seq);\n} else {\n  // run was paused-waiting on this name → resolved + resumed (200)\n  console.log(result.status, result.output);\n}\n```\n\nSee the top-level `sdk/python/chidori` for the Python equivalent.\n\n## Timeouts, retries, and errors\n\n`apiKey` sends `Authorization: Bearer <apiKey>` on every request — required\nagainst a server started with `CHIDORI_API_KEY` (any non-loopback bind). An\nexplicit `headers.Authorization` entry overrides it.\n\nEvery request is bounded by `timeoutMs` (default 300 000 — generous because\n`run()` executes the whole agent before responding; pass `0` to disable).\nIdempotent GETs are retried `retries` times (default 2, exponential backoff\nfrom `retryDelayMs`) on connection errors, timeouts, and 429/502/503/504\nresponses. POSTs are **never** retried — `run`/`resume`/`signal` are not\nidempotent. For `stream()` the timeout covers connection establishment only,\nnever the open event stream.\n\n```ts\nconst client = new AgentClient(\"http://localhost:8080\", { timeoutMs: 60_000, retries: 3 });\n```\n\nFailures throw typed errors, all extending `AgentClientError`:\n\n```ts\nimport { AgentClientError, ConnectionError, HttpError, TimeoutError } from \"@1kbirds/chidori\";\n\ntry {\n  await client.signal(sessionId, { name: \"review\", payload: { decision: \"approve\" } });\n} catch (err) {\n  if (err instanceof HttpError) {\n    // err.status distinguishes the documented semantics:\n    // 400 empty name, 404 unknown session, 409 terminal run\n    if (err.status === 409) console.log(\"run already finished:\", err.detail);\n  } else if (err instanceof TimeoutError) {\n    // server hung past timeoutMs\n  } else if (err instanceof ConnectionError) {\n    // nothing listening / connection refused\n  }\n}\n```\n\n`HttpError` carries `.status`, the raw `.body`, and `.detail` (the server's\n`error` field when the body was JSON), so status handling never string-matches\nmessages.\n\n## Snapshot-aware checkpoints\n\n`Checkpoint` contains the replay call log plus optional `snapshotManifest`\nmetadata. The manifest records the runtime ABI, deterministic policy, source\nhashes, pending host operation, and snapshot file name. Clients can use it to\ndisplay durable-resume state or diagnose why resume is blocked without handling\nthe raw `runtime.snapshot` VM bytes.\n\n`client.replay(checkpoint)` uses the call log for deterministic replay. Durable\nresume is exposed through `client.resume(sessionId, response)` for paused\nsessions, recovering through persisted host-promise metadata and the replay\njournal. Replay **is** the resume mechanism by design — there is no live-VM\nimage to restore; the manifest carries journal/scaffold metadata rather than\nserialized VM bytes.\n\nUse `client.getSnapshotManifest(sessionId)` when a UI needs only snapshot\nmetadata. The endpoint never returns the binary VM snapshot.\n\n## Tests\n\nThe SDK ships a dependency-free test suite (Node's built-in `node:test`\nrunner) that drives `AgentClient` against a stdlib `node:http` mock server,\ncovering run/replay/resume/signal, SSE stream parsing, checkpoint\nserialization, and error handling:\n\n```bash\nnpm test   # builds, then runs node --test test/*.test.mjs\n```\n\nEnd-to-end coverage against a real `chidori serve` binary lives in the Python\nSDK integration tests (`sdk/python/tests/`).\n","readmeFilename":"README.md"}