{"_id":"@a-dray/aglib","_rev":"11-04a8e5176bf0817df83ed670d0ed2fbe","name":"@a-dray/aglib","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"@a-dray/aglib","version":"0.1.0","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.1.0","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"39c1c3c0809c2814e8d2a0eb211f4766518abd42","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.1.0.tgz","fileCount":108,"integrity":"sha512-d60vZxtbJn7z7G0VRg5IaGGRYXK+Lf/vpXyqe+CNuclYuWJI5AGc2wnrsuwVT5Nub3ZIdltJQVE+7GlgCcjxWw==","signatures":[{"sig":"MEYCIQDHRCisNiLgldGF5SWdIeYgpnUVE3fbyKbWUOsZdBriqgIhAIGan0sGbJdlOCbQgpvi0pz4K2LNlBwENuxB5zfU4o2Y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":829350},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"b56cd64991d0137878373437137114969bfca4bb","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"a-dray","email":"adamdray246@gmail.com"},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.1.0_1788338694614_0.7479547022780613","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@a-dray/aglib","version":"0.1.1","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.1.1","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"2fa8bbf707766e498ee84e6c28ea3cc5a76f110a","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.1.1.tgz","fileCount":114,"integrity":"sha512-SpAuZ6DWMb34pmmZ1uw7bRmdthL/F3WrZSGqgbPNbusBxa9TxNrqHwg3a6ROnm3+a+C3f3DPcwlJKRSDSGUOAg==","signatures":[{"sig":"MEYCIQCKD8aWWENXxpBF1yOvh32mW5AAvZzckEHpezz41zVvZQIhANqx4lQjDz3Syv7XMI9qJNYLWtfUAIkeFCKmy5u5J06A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDE6VYwvKCikQSMOrdUFvWQw9YgaLrSjmVJDeKlAU4TjQIgMzSguC/8194YsMRhKvEYuk9E+gNVZv9dOD0FNnqLqXg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":903534},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"0903759159eee350193f8d6608e09be5dcb05dd2","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.1.1_1788384413777_0.2772298528966166","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@a-dray/aglib","version":"0.2.0","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.2.0","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"f0896906b8eb5f341387450280e0a31c939337a6","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.2.0.tgz","fileCount":114,"integrity":"sha512-wzVwmat5aRUz+r3issMQv8xQExhZiRIaKfvCNmy7LXI6IBuVjXjuwHM23Eu+UW2qoIGS0sxzGhTZd8HjXPvckA==","signatures":[{"sig":"MEUCIQCwiSMP5Yw7PA6HelcaKLLoY8O5OA0+3feAELUv/hKa/gIgJjiCyNBfjV/wU48pbyeMlGNVn0VQpYifcALNX8wsNnw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQD7GOIjgivpKqmA89MP5ja8j/cOy1tDtv9twcx6WWvetQIgA0+FYspqWdBXTeV3zzIBXc+NxL3yIpTw9P3p28r4eMo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":910183},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"65e1cdadbaa3e86ee3e9eaccde591f7d301b8521","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.2.0_1788601053952_0.19427162658513497","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@a-dray/aglib","version":"0.3.0","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.3.0","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"942581d456adc874b1107df0c5c4968a35bc9e65","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.3.0.tgz","fileCount":114,"integrity":"sha512-mbk3oI03HFy5spgoZ6Zcx1crfEbodl904+9FTMWKw5OxtWFfmJKOqvJICAJZ9wZ4ECNwShu39ECYuFTJdawefg==","signatures":[{"sig":"MEUCIGTQz1IfBKEYVOnsaH1RpKb/TTSoQckbzGHZQr6t/RhGAiEA16v8ttBOlcIPUp1Th9BL8Kzv8T0Weos/lRHVjgoaBks=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHcyPeZSlQcTPzn+zfM+nMNykJlL4m/Tw6VaDRGEOv83AiAryqUSR1EQvH7o4qzMa95mgGRRKkL2KNOJWR2tLfN5pw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":916160},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"2901bbf9bc8d820e442fa3b6907868c5d219ac5c","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.3.0_1788858225640_0.005301304610611179","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@a-dray/aglib","version":"0.3.1","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.3.1","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"b1618e9020b82afc5c5b0f075a8a0e960746b978","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.3.1.tgz","fileCount":114,"integrity":"sha512-eDjfiEd+Dh+rsNYUN6cokIlA9SkqE8UEi3mpuWtJMdttIwl4nPkpalk0I7a3PTOqDa2g3YY5NlgGWaDT7LTHbA==","signatures":[{"sig":"MEQCIBQdU/b6xGllIjH03fCYw9SDGSJnFGFZkAMpESQZ2pdWAiANpquzxYJiiUnuQpK7N0e/rHN6cBh69SwESxWn4m6lPg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCy3jhHblRdrz0GXwBDRWbze8y/uwUdlVpEYFBxKQ/zggIhAI2nyXMVWNEQoy0uXc+ECHUFKdTO9B9Odow79kkYfUdb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":922071},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"3a51420e45e23990c77280744df15fd9213d7790","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.3.1_1788861428108_0.5754314178797098","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@a-dray/aglib","version":"0.3.2","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.3.2","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"51e138ba33070aa0d57fc2d1e6451928f8fbe66e","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.3.2.tgz","fileCount":114,"integrity":"sha512-njhqCy9w0VEJV0x961CNXtomoAKGQrz9dp+7bFIdlZdp13HWaGgXR+cmLHAzMRquld3Rz5n7DymaNK/2Cpaxug==","signatures":[{"sig":"MEYCIQD+HTB4CCCwXWLMV+gRg1okpQN6JIDV3krm1ieRqnz1mQIhAMh4w52YEKx4Sa818e5pk3EY2ogYxK4KZlSBJAASYAVr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICQuiLGZSnHhs5XKBhhOFS00ZZOMYFZSxihtt5kYmn7RAiBj+6Nw/FsopCg7giSMz9Mah9dyjq/DE73Y+rzvKpa5uA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":933158},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"83df296f54e8b2dfca295a88a8fed1b1da0d0717","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.3.2_1788944053738_0.5133627426812524","host":"s3://npm-registry-packages-npm-production"}},"0.3.3":{"name":"@a-dray/aglib","version":"0.3.3","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.3.3","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"4e4040641db2588abbc0333fd1bc5a3d3b840c1c","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.3.3.tgz","fileCount":114,"integrity":"sha512-3Lb1LkucWqPmAi+NJ6lZ/VpRISoP8u9lLM2ZyPeIIkVFo1hn2b6Pjf34pZRDLDTrHNzM/JT9uoLnWzvmuT0oZA==","signatures":[{"sig":"MEQCICmQGOT+FAUd+ahMgUd22/MSjsqOGiH3Hl0uObkMc1e5AiAqSW24X7x/FjfhrMUxsRi4r0pMb41bu2OAtWSMhme1TQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFsRiihTYlRPNpINCDt/3EIsUmqWBzbxH5M39G08PYK5AiBRD1HcVMNZ/Rwjj2jNwgifFb/PfiAmYGJhP0kXIn3aUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":936512},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"81bc87330609b19684df992e9727dba71f638f59","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.3.3_1788944351295_0.08626007769846789","host":"s3://npm-registry-packages-npm-production"}},"0.3.4":{"name":"@a-dray/aglib","version":"0.3.4","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.3.4","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"cb73217753bafdcdce406537b9102d264329897a","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.3.4.tgz","fileCount":114,"integrity":"sha512-hapuBAWJ9zQZ1EKIXk9CKhrOa+VucPALYa86clJS35fsInydbesgx90dA1DUukq76P9Hfwi6ZYLdc1cUBL2a6Q==","signatures":[{"sig":"MEQCIBtv1njP7koX/NZjymnprYMyuTN8zOmw2F7vNJkI6ejJAiB4QuqvyZ9SjoL09TvBboUY//KXkafgEJUmNnLHbNEGgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIApc0jdEITEMTyOepk0lqTv6xqmGkoDPQ3ocPssKxCodAiEA1w6Ybn/vCxTiD6QAAdYjXt3HtJ/UN0jNFiDDGMvM9XQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":958891},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"68ec52619d854ed98b072e55535f69fa73b90542","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"@types/bun":"^1.3.14","typescript":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.3.4_1789232757385_0.01848940973049107","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@a-dray/aglib","version":"0.4.0","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.4.0","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"33a07a2cefd04ad13e9fb9e5c824ae8e3b3d008a","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.4.0.tgz","fileCount":117,"integrity":"sha512-JLBOXNxokbC26S27fhDY7G/qj+n6eZjFFw9NEAwdMl/KaYNigrpxbaafRz4cg3b1ajISMFueAbY8/5FEkeK+rQ==","signatures":[{"sig":"MEUCIQCypBkFK+bdyzO87mejP96nJLd/ZT9gKbyx0U4yQD3yigIgO/ojW/uRss8rA+jomFlz3zZfL2FUnnkLkRFoEjZCSbs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDFB6Ih6MhhDO4KuqilZSntmUVpbmtg/8X/Y9cxcBvRtAIhAIEpFP0oHr/qpO4IyrlgY/5cqZcTx/rrDSsDOIaC67Zz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1087879},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-responses":{"types":"./dist/model/adapters/openai-responses/index.d.ts","import":"./dist/model/adapters/openai-responses/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"a56e7c4e18b76d1a0a61b3dfe48876043f733789","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ws":"^8.18.0","openai":"^7.10.0","@types/ws":"^8.18.1","@types/bun":"^1.3.14","typescript":"^6.0.3"},"peerDependencies":{"ws":"^8.18.0","openai":"^7.10.0"},"peerDependenciesMeta":{"ws":{"optional":true},"openai":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.4.0_1789235425713_0.48438108961057935","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@a-dray/aglib","version":"0.4.1","author":{"name":"Adam Dray"},"license":"MIT","_id":"@a-dray/aglib@0.4.1","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"homepage":"https://github.com/aj-dray/aglib#readme","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"018756a76405bf40e4bf1647cdef9f8ffc99c0d0","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.4.1.tgz","fileCount":117,"integrity":"sha512-FSdJCPFEA8bdun6S1SkHBdlP9+mNXiOqgkO8FjoBH4CEG+WTfNVfC3HU8CeRWva68BGvU6ba49HUErf3Hf2UOA==","signatures":[{"sig":"MEUCIQC8AcDoDLivRooxRK23w+uY24jR2wmqXQhM909ETVRElwIgeNrm5PSn/K0bCRghxXCnazBnur1ju/A4aR4QcZBSz4Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQClFsDh2z7M2up2/A/3JhT5OmJAzt/V2Q4Wn1sa1DS/5wIhAMWNK48yB9BNvHgRCzk6Mayyr6b7OoajEEcl92eRNtNQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1088495},"type":"module","engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-responses":{"types":"./dist/model/adapters/openai-responses/index.d.ts","import":"./dist/model/adapters/openai-responses/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"5fd9619227bdfdad06f362fc2e62177191b8f38c","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ws":"^8.18.0","openai":"^7.10.0","@types/ws":"^8.18.1","@types/bun":"^1.3.14","typescript":"^6.0.3"},"peerDependencies":{"ws":"^8.18.0","openai":"^7.10.0"},"peerDependenciesMeta":{"ws":{"optional":true},"openai":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/aglib_0.4.1_1789377213593_0.7943232858920561","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"_id":"@a-dray/aglib@0.5.0","bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"dist":{"shasum":"2c8d212135f47039820d3806b79ba10f9ba58763","tarball":"https://registry.npmjs.org/@a-dray/aglib/-/aglib-0.5.0.tgz","fileCount":117,"integrity":"sha512-GuF64TLfsSwKntydNW2g73IuLNte/UQGtEFE7aolgWX+0EzImYXifFadXNVRMCq2T20V2dE1v8gAB9XpHCSUvg==","signatures":[{"sig":"MEYCIQCvMkTL8Rx8s2qI4Z0asVmdeZT9WgzhMtmQK98VpdFYhQIhAKZtRtLQa1fEK5Uf+2DyXhhTUjBFW0jhVVFbwbW9CHTj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDyTf6/6bnOL86nDN+V8JJ9flIB0Mphr1sq2+pOjYmCZQIhALayHQiH4QyYj2RfnhVyMrqEbleVEYIg3V0Z/mlFpHye"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-dray%2faglib@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1093027},"name":"@a-dray/aglib","type":"module","author":{"name":"Adam Dray"},"engines":{"node":">=22.5.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./model":{"types":"./dist/model/index.d.ts","import":"./dist/model/index.js"},"./store":{"types":"./dist/store/index.d.ts","import":"./dist/store/index.js"},"./tools":{"types":"./dist/tools/index.d.ts","import":"./dist/tools/index.js"},"./render":{"types":"./dist/render.d.ts","import":"./dist/render.js"},"./harness":{"types":"./dist/harness/index.d.ts","import":"./dist/harness/index.js"},"./sandbox":{"types":"./dist/sandbox/index.d.ts","import":"./dist/sandbox/index.js"},"./session":{"types":"./dist/session/index.d.ts","import":"./dist/session/index.js"},"./terminal":{"types":"./dist/terminal.d.ts","import":"./dist/terminal.js"},"./model/conformance":{"types":"./dist/model/conformance.d.ts","import":"./dist/model/conformance.js"},"./store/conformance":{"types":"./dist/store/conformance.d.ts","import":"./dist/store/conformance.js"},"./model/adapters/fake":{"types":"./dist/model/adapters/fake/index.d.ts","import":"./dist/model/adapters/fake/index.js"},"./sandbox/conformance":{"types":"./dist/sandbox/conformance.d.ts","import":"./dist/sandbox/conformance.js"},"./harness/adapters/acp":{"types":"./dist/harness/adapters/acp/index.d.ts","import":"./dist/harness/adapters/acp/index.js"},"./store/adapters/sqlite":{"types":"./dist/store/adapters/sqlite.d.ts","import":"./dist/store/adapters/sqlite.js"},"./sandbox/adapters/local":{"types":"./dist/sandbox/adapters/local.d.ts","import":"./dist/sandbox/adapters/local.js"},"./sandbox/adapters/docker":{"types":"./dist/sandbox/adapters/docker.d.ts","import":"./dist/sandbox/adapters/docker.js"},"./model/adapters/anthropic":{"types":"./dist/model/adapters/anthropic/index.d.ts","import":"./dist/model/adapters/anthropic/index.js"},"./model/adapters/openai-responses":{"types":"./dist/model/adapters/openai-responses/index.d.ts","import":"./dist/model/adapters/openai-responses/index.js"},"./model/adapters/openai-compatible":{"types":"./dist/model/adapters/openai-compatible/index.d.ts","import":"./dist/model/adapters/openai-compatible/index.js"}},"gitHead":"abbb6c20f34630dea9040f1c0e94d7c1a1899383","license":"MIT","scripts":{"docs":"bun scripts/docs.ts","test":"bun run build && bun test src scripts recipes","build":"bun scripts/build.ts","check":"bun run typecheck && bun test src scripts && bun run build && bun run node:verify && bun run recipes:verify && bun run docs:check && bun scripts/checks.ts","checks":"bun run build && bun scripts/checks.ts","recipe":"bun run build && bun scripts/recipe.ts","prepack":"bun run build","prepare":"bun run build","release":"bun scripts/release.ts","typecheck":"tsc -p tsconfig.json && tsc -p tsconfig.scripts.json","docs:check":"bun scripts/docs.ts --check","node:verify":"node scripts/node-verify.mjs","recipes:verify":"tsc -p tsconfig.recipes.json && bun test recipes"},"version":"0.5.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44400edc-a28f-4892-afc8-1b1c7e355dfc"}},"homepage":"https://github.com/aj-dray/aglib#readme","repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"workspaces":["recipes/*"],"_npmVersion":"12.0.2","description":"A small TypeScript toolkit for building your own agent harness.","directories":{},"maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"zod":"^4.4.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ws":"^8.18.0","openai":"^7.10.0","@types/ws":"^8.18.1","@types/bun":"^1.3.14","typescript":"^6.0.3"},"peerDependencies":{"ws":"^8.18.0","openai":"^7.10.0"},"peerDependenciesMeta":{"ws":{"optional":true},"openai":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aglib_0.5.0_1789394308108_0.8290420910753877"}}},"time":{"created":"2026-09-02T08:44:54.397Z","modified":"2026-09-14T13:58:28.562Z","0.1.0":"2026-09-02T08:44:54.738Z","0.1.1":"2026-09-02T21:26:53.873Z","0.2.0":"2026-09-05T09:37:34.051Z","0.3.0":"2026-09-08T09:03:45.737Z","0.3.1":"2026-09-08T09:57:08.211Z","0.3.2":"2026-09-09T08:54:13.832Z","0.3.3":"2026-09-09T08:59:11.415Z","0.3.4":"2026-09-12T17:05:57.491Z","0.4.0":"2026-09-12T17:50:25.806Z","0.4.1":"2026-09-14T09:13:33.714Z","0.5.0":"2026-09-14T13:58:28.195Z"},"bugs":{"url":"https://github.com/aj-dray/aglib/issues"},"author":{"name":"Adam Dray"},"license":"MIT","homepage":"https://github.com/aj-dray/aglib#readme","repository":{"url":"git+https://github.com/aj-dray/aglib.git","type":"git"},"description":"A small TypeScript toolkit for building your own agent harness.","maintainers":[{"name":"a-dray","email":"adamdray246@gmail.com"}],"readme":"# aglib\n\nA small TypeScript toolkit for building **production agents** — the kind with a\ndurable log, a permission rule on every call, somewhere contained to run, and an\nanswer for what happens when the process dies mid-turn.\n\nYou bring the product — users, tenancy, channels, UI, deployment, policy. aglib\ngives you a session log that *is* the state, a loop that runs against it, tools\nunder your own permission rule, somewhere contained to run them, and four seams\nwith adapters: **model, store, sandbox, harness**.\n\nWhose loop does the reasoning is a decision here, not an assumption. Write your\nown, compose a vendor's agent library, or drive one over a protocol — the log,\nthe rendering, the accounting and the handoff are the same in all three, and what\n*differs* is declared rather than discovered.\n\n> **Pre-release.** The API changes without deprecation aliases, so pin an exact version: `bun add aglib@npm:@a-dray/aglib@<version>`. The unscoped name is a lookalike of an existing package; the alias keeps imports as `aglib`.\n\n## Run one\n\n```bash\nbun install --frozen-lockfile\necho 'OPENROUTER_API_KEY=sk-or-...' > .env\n\nbun run recipe native-agent                      # a conversation, in your terminal\nbun run recipe native-agent \"what did I decide?\"  # …or one shot, for a pipe\n```\n\n## The shape\n\n```text\nsrc/\n  json.ts  result.ts  content.ts  agent.ts  run.ts  render.ts  terminal.ts\n\n  session/    the log — this IS the session's state\n  tools/      declaring and running tools\n  model/      store/      sandbox/      harness/      each: <port>.ts → adapters/\n```\n\nFour ports, each with adapters. Three ship an executable conformance suite;\n`harness` does not, because what one must prove depends on what it declares. Our\nown loop is `harness/adapters/native`, beside the others rather than above them.\n\n**`src/` is the library** — everything published to npm, and nothing that knows\nwhat your agent is for. **`recipes/` is where most of it earns its place** —\nrunnable programs that each answer one production question. An export needs a\nconsumer: a recipe that composes it, or a conformance suite run against an\nimplementation here. A surface with neither fails `bun run check`.\n\n## Three recipes\n\nOne per answer to \"who does the reasoning\". Each is the smallest thing that\nstill makes its point, and between them they exercise every seam.\n\n| Recipe | Whose loop | What it shows |\n| --- | --- | --- |\n| [`native-agent`](recipes/native-agent/README.md) | ours | The whole surface in one program — memory, skills, subagents, a sandbox you choose — and the one thing only our own loop offers: a message reaching a busy session mid-turn. |\n| [`vendored-agent`](recipes/vendored-agent/README.md) | a vendor's, from its library | What a vendor library must expose for the log to stay the state. Pi's tools are values you re-point at your sandbox and its transcript is a field you assign, so an interrupted run continues — `recovery: \"history\"`. Its README says what the tiers below that get you. |\n| [`coding-agent`](recipes/coding-agent/README.md) | a vendor's, over a protocol | The cheapest containment on offer: any ACP agent started *inside* your sandbox, its work arriving as your entries, for one row of argv. |\n\n## Where to read next\n\n| Question | Document |\n| --- | --- |\n| What is this, for whom, and why? | [`docs/PRODUCT.md`](docs/PRODUCT.md) |\n| What is the outward surface? | [`docs/INTERFACE.md`](docs/INTERFACE.md) |\n| How does it work, and who owns each part? | [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) |\n| How is the source written? | [`docs/CODE.md`](docs/CODE.md) |\n| How do I work in here? | [`AGENTS.md`](AGENTS.md) |\n\n[`docs/REFERENCE.md`](docs/REFERENCE.md) is generated by `bun run docs`.\n\n## Development\n\n```bash\nbun run check     # typecheck, tests, build, Node verification, recipes, docs, invariants\n```\n\n`bun run check` is the green gate. A failing check is a decision, not an\nobstacle: fix the code, or change the check deliberately in the same commit\nwith the reason in the message.\n\nLive tests cost money and are opt-in twice — the credential, and a flag:\n`AGLIB_LIVE_MODEL=1` for the cases that reach a provider, `AGLIB_LIVE_ACP=1` for\nthe ones that start a vendor's agent over `npx`. The Docker cases need no flag:\nthey run where a daemon and the image are already there, and name themselves\nwhen they skip.\n\n## License\n\nMIT. See [`LICENSE`](LICENSE).\n","readmeFilename":"README.md"}