{"_id":"@absolutejs/agency","_rev":"16-03a140b86aa453b5b40adfd6bf648739","name":"@absolutejs/agency","dist-tags":{"latest":"0.7.4"},"versions":{"0.1.0":{"name":"@absolutejs/agency","version":"0.1.0","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/agency@0.1.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"e1cc65e06a0608eaacd11df7a5806459832e4fdb","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.1.0.tgz","fileCount":18,"integrity":"sha512-H6W2lNtCseBrLuRNHCS7NpUY5ct/xbSLu9TRqvBaNT6Xh4ZymkTs5SfTs7ySli3y99uxo/LZqcBS/hResfc9TQ==","signatures":[{"sig":"MEYCIQCx3aPoQ6TlwDE33a32M8AczD347f+TeLUOsFCimOHQJwIhAO+NSNEiStHjS1kLiQpL4uGgmxAm1VHpyyey4NfieM2V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1136255},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"7b65398a5998b2e7816fb9816a3a6016c29b5b04","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":1},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.9.2","description":"Provider-agnostic action authorization for AI agents: policy decisions, approval prerequisites, single-use execution leases, receipts, and AuthZEN adapters.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.1.0_1784145706775_0.2561275571302306","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@absolutejs/agency","version":"0.2.0","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.2.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"9851c91b764f56290e5608bdf8cf512813fe4317","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.2.0.tgz","fileCount":22,"integrity":"sha512-/HABfwjioGBB5nhZWqW5OZrX69+mTpBZAKwWj0PxZEVwPcDufifwlmr1D5FRIYLw/d5JZegTlVNannIgevNmuA==","signatures":[{"sig":"MEQCIFsrTlepH2ujDqTf1TI/e6BkjVMNMB8nfiZyLF5sFQ9LAiBgFAXYEiJzJbOylPtvYmnvk6Z2B2/EMGljY0TpqSrIGQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1172058},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"9851c91b764f56290e5608bdf8cf512813fe4317","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-/HABfwjioGBB5nhZWqW5OZrX69+mTpBZAKwWj0PxZEVwPcDufifwlmr1D5FRIYLw/d5JZegTlVNannIgevNmuA==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic action authorization for AI agents: policy, approvals, execution leases, receipts, kill switches, signed handoffs, simulation, and AuthZEN adapters.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.2.0_1784147650752_0.7323281534208776","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@absolutejs/agency","version":"0.3.0","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.3.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"edba4988122d23cb9953ee0a8d0aa1c0dc5189ed","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.3.0.tgz","fileCount":23,"integrity":"sha512-8rkQpnmqBi6Wm742qB/2mc0yBID+Gli9n2iAkiaIXOY8ClxX65txdTK5bMYpmp+USzxaNPXQ2q6wuieRV0BcNQ==","signatures":[{"sig":"MEQCIB5ebdZLYqOOhT1qBu1PWeJAshVw7RUvdDLNKZsRevYLAiAaraNEy1SJOeUNn9EMsN0FdEenEA3r8teEZeKutBufqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1190743},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"edba4988122d23cb9953ee0a8d0aa1c0dc5189ed","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-8rkQpnmqBi6Wm742qB/2mc0yBID+Gli9n2iAkiaIXOY8ClxX65txdTK5bMYpmp+USzxaNPXQ2q6wuieRV0BcNQ==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic action authorization for AI agents: policy, approvals, execution leases, receipts, kill switches, signed handoffs, simulation, and AuthZEN adapters.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.3.0_1784148887139_0.40059754075084464","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@absolutejs/agency","version":"0.4.0","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.4.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"bcf33336747263d0eed72dbfa7a495b3cc85d0fe","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.4.0.tgz","fileCount":23,"integrity":"sha512-EHU+o6sz3m/6NqHpWeGctMD4md0TxHIvu7QxMt9QBLHIj4lstdhqDhYouNGhHNh7QKU7JCfJnflWQGaqw7cwCQ==","signatures":[{"sig":"MEYCIQC9bbGP6f+MKllxK54pMDYA/YN+QBLS+a3DJMPFy9Ih1QIhAIi4UZ1VTSQdr4W9MLQm9Yev3og8yLlF2c8CEPQwhLKB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1198575},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"bcf33336747263d0eed72dbfa7a495b3cc85d0fe","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-EHU+o6sz3m/6NqHpWeGctMD4md0TxHIvu7QxMt9QBLHIj4lstdhqDhYouNGhHNh7QKU7JCfJnflWQGaqw7cwCQ==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic action authorization for AI agents: policy, approvals, execution leases, receipts, kill switches, signed handoffs, simulation, and AuthZEN adapters.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.4.0_1784164693642_0.5949309375724308","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@absolutejs/agency","version":"0.5.0","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/agency@0.5.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"1fb105b055493ab8d90a2e416bd1fbb33420fc76","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.5.0.tgz","fileCount":24,"integrity":"sha512-2Cy2YrihmSXF3WxwITsVOJBOJm3Oqg0WuqYx2+NXq+b0AP9XvMAjf1OyFY+kJDR4Sq6V5b65YC7QY5ovfAfoBw==","signatures":[{"sig":"MEYCIQDUq+LxUWFNbT/hiG86+Q9VfhLfSoFVoSWBqRQUWsv0+wIhAJ9YhCP+vXmAdmOMlVRYJNIn+f8J0KNO0CiPI7kY9mmR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1227234},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"a645fe7b5c9bd84e8c58b28594ad3083ded2991d","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.9.2","description":"Provider-agnostic AI agent authorization with policy, approvals, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.5.0_1784180306061_0.5877084265557788","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@absolutejs/agency","version":"0.5.1","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/agency@0.5.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"315bced8ee4d9dd792bea279471df1ffca40916e","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.5.1.tgz","fileCount":24,"integrity":"sha512-PfXHjAUDNTZDoLRuwiwN2FUafhecsLiSYtJW6ULT0Q3kx1wAPtockYwiWAQlgwKtq6JARjYsA+jvSq3cqfEWpQ==","signatures":[{"sig":"MEUCIHknP8kQm4LGzSPjxPhoDP6rK0zTDj8n8usRs4kPMxe3AiEAmTToeeET8GcpPV9CLFLQdIq58lHjlq9DESj+Ww/rocM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1232778},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"cee51a84f4bb7b4306feff5c45a2bc3d1f668294","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.9.2","description":"Provider-agnostic AI agent authorization with policy, approvals, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.5.1_1784396879697_0.06475096473400455","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@absolutejs/agency","version":"0.6.0","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.6.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"1937d03a0dc0f61939f85951e3912af0fb0789b4","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.6.0.tgz","fileCount":24,"integrity":"sha512-a92DbYQXZ5fg9Wl5Y73OIfjK/4GHNUtpctRvqTnqL1G62Mq+2cHDttkev8lK/D9c6Nhjr6+E0i4NWn9Vo69xXQ==","signatures":[{"sig":"MEYCIQDmUjDkp1IZ0Q/YieKzQav/v3B4/FK/6f0r7sBB51D/5wIhALO5fNHY+p7O8nfOLAw5nQik0Qgo/ip1afVaVr7dxaG8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1233438},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"1937d03a0dc0f61939f85951e3912af0fb0789b4","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-a92DbYQXZ5fg9Wl5Y73OIfjK/4GHNUtpctRvqTnqL1G62Mq+2cHDttkev8lK/D9c6Nhjr6+E0i4NWn9Vo69xXQ==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic AI agent authorization with policy, approvals, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.6.0_1784502348149_0.21229512374487647","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@absolutejs/agency","version":"0.6.1","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.6.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"f5d9627269b1c4ac915bf8290507fa3f3a9cc3cc","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.6.1.tgz","fileCount":25,"integrity":"sha512-Acg9CXmZ91ixtxSfpnUG7kZb7gaiG/J95zCShzm8D4ulq7t9f3nWlBjcswZaZ7kdKyE1IQJcqoSYDao8aqDBfw==","signatures":[{"sig":"MEUCIQCxwwY4oUThAlWLzIl/k/BcCKbQVqSR3G/pL9fDsQfVogIgAp1zMHtd1RZtf14LuGa1tey5LnRVvOXqSwUW7tuFNsk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1290433},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"f5d9627269b1c4ac915bf8290507fa3f3a9cc3cc","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-Acg9CXmZ91ixtxSfpnUG7kZb7gaiG/J95zCShzm8D4ulq7t9f3nWlBjcswZaZ7kdKyE1IQJcqoSYDao8aqDBfw==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic AI agent authorization with policy, approvals, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"drizzle-orm":"1.0.0-rc.4","@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.6.1_1784772885273_0.9842852427656625","host":"s3://npm-registry-packages-npm-production"}},"0.6.2":{"name":"@absolutejs/agency","version":"0.6.2","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.6.2","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"cf2b5b187867b5d1261651196eb0782cfa996a8c","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.6.2.tgz","fileCount":25,"integrity":"sha512-tSRqVFznE8wdepMOoJ1F/F34+p7rJjw0oQIiLX6nGCv4m6NLbb/9Lt+8XwfVPkR4t6f7w/GfTLbRTfndNNHARg==","signatures":[{"sig":"MEUCIQC5K6YmrzWElXcVbus/ZwJ6G+GSzR87uIhjdVo0p/MgMgIgGK/3pg8F3AHX9d/zD8SkSF6QszSOEiUyEHc9QeMFSIE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1291131},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"cf2b5b187867b5d1261651196eb0782cfa996a8c","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-tSRqVFznE8wdepMOoJ1F/F34+p7rJjw0oQIiLX6nGCv4m6NLbb/9Lt+8XwfVPkR4t6f7w/GfTLbRTfndNNHARg==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic AI agent authorization with policy, approvals, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"drizzle-orm":"1.0.0-rc.4","@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.6.2_1784776148598_0.04060452436930673","host":"s3://npm-registry-packages-npm-production"}},"0.6.3":{"name":"@absolutejs/agency","version":"0.6.3","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/agency@0.6.3","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"af16605d1a6f0375a2790e286cabc5531daa792f","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.6.3.tgz","fileCount":25,"integrity":"sha512-4bGPtlKLzVyUpHXSFXyQTEnBmScKXfEaMAknQD9ifjWeJuAIBrjSFaMg4nN7qNSldfEOKmtNxaQ0ADNeRtiIZg==","signatures":[{"sig":"MEUCIQDJeDNmLRCszAfBtAkGeuHei71q7Q2JGeqKK2p7RGl8wAIgdhzp4C2mNR36zIsFk0FimNp8rI1UbEqArx4YECCg67o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1291197},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"576fa51a23de518c91e425f6ebdfe9ab2e064c6b","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.9.2","description":"Provider-agnostic AI agent authorization with policy, approvals, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0","drizzle-orm":"1.0.0-rc.4"},"peerDependencies":{"drizzle-orm":">=1.0.0-rc.4 <2"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.6.3_1784795838874_0.3160751941930222","host":"s3://npm-registry-packages-npm-production"}},"0.6.4":{"name":"@absolutejs/agency","version":"0.6.4","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/agency@0.6.4","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"0c3d6da14d3f92ffc3b1b3c586f40e1ff215b5a7","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.6.4.tgz","fileCount":25,"integrity":"sha512-izq6zZVrBFItuuXMp3j8KwEElwzQB06GkvrJYcU8Z4CmaiOyql3eW+8lScFiZXEzp0VAowzAOgXPukIyFq9jCw==","signatures":[{"sig":"MEQCIHMI3zNsMSFpEZlQCfTCVJObub/Ubp0mXLvLyLfERwSGAiBOUMcTk+yKyjIEu3zRCOle0r9ZMmJndn3l+k+6mkFGiw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1305568},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"74aee394d8a06fa3734878e102b67d9e88747138","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.9.2","description":"Provider-agnostic AI agent authorization with policy, approvals, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0","drizzle-orm":"1.0.0-rc.4"},"peerDependencies":{"drizzle-orm":">=1.0.0-rc.4 <2"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.6.4_1784805706112_0.8104358135007999","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@absolutejs/agency","version":"0.7.0","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/agency@0.7.0","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"ef7a56994a5c549eecb63fd52c4be543c48c942a","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.7.0.tgz","fileCount":25,"integrity":"sha512-3E2mzQiIPNIOQxB49GIteUhFR7HwZEwyvUGKVyrHnQV+gvnuuF/eqj/8PJvgukRB4R0sRxVe1a4OYkbZAPuA0w==","signatures":[{"sig":"MEUCIEi/qFuSNDBKrFbWz7kc+/ao7pydD14n+EbRPRDmO01MAiEAj0zCwBRsAgWcWeEYCB99SaoluCpLNsjnG2c3/5V/XuA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1327687},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"af1ef591d71f298be0b5703ecbc71369fdb77ff1","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.9.2","description":"Provider-agnostic AI agent authorization with policy, approvals, rejections, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0","drizzle-orm":"1.0.0-rc.4"},"peerDependencies":{"drizzle-orm":">=1.0.0-rc.4 <2"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.7.0_1784856241532_0.5945030187352085","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"@absolutejs/agency","version":"0.7.1","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.7.1","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"0f16d0fed58c3e113fc638975f73ad1fb9735d64","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.7.1.tgz","fileCount":25,"integrity":"sha512-JO083TLtpWlTE0CgtThdAs4ITxWACiUDJI5ZOC0c7zZuJAXm4rKE69Vr42g2xBZV0aZypP26UWpxpESxQeDvvw==","signatures":[{"sig":"MEUCIHH6YfJJeZzHDdZ2HehN/jeJ2Kg5/W83GqBXjuQTpKHDAiEAqNnXsW15EShDMFbsVs+V42IX2zE9jQXfZ0DNJHY6mK0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1328828},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"0f16d0fed58c3e113fc638975f73ad1fb9735d64","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-JO083TLtpWlTE0CgtThdAs4ITxWACiUDJI5ZOC0c7zZuJAXm4rKE69Vr42g2xBZV0aZypP26UWpxpESxQeDvvw==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic AI agent authorization with policy, approvals, rejections, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0","drizzle-orm":"1.0.0-rc.4"},"peerDependencies":{"drizzle-orm":">=1.0.0-rc.4 <2"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.7.1_1784857875750_0.8812825563326023","host":"s3://npm-registry-packages-npm-production"}},"0.7.2":{"name":"@absolutejs/agency","version":"0.7.2","author":"Alex Kahn","license":"MIT","_id":"@absolutejs/agency@0.7.2","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"8452651562846f935b6ab9ee2dd4da2c9f23833b","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.7.2.tgz","fileCount":25,"integrity":"sha512-HTLCTX/qlO1pjz7ZMkuxRMOixtIK3S+O/O9gNQWqvD/MLQojdCF7xm/3dl0caOPx0enqWS7Bd64o89FiRpVZqw==","signatures":[{"sig":"MEYCIQDe2HKMXKdpiFCj/rl9n5vZqQYYmDfK3CNvocZX2ViNjAIhAMN267L93KT7XhBPuqJjYPwMU0NBAGWPfSURjd9CkciU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1331780},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","shasum":"8452651562846f935b6ab9ee2dd4da2c9f23833b","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run build"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"_integrity":"sha512-HTLCTX/qlO1pjz7ZMkuxRMOixtIK3S+O/O9gNQWqvD/MLQojdCF7xm/3dl0caOPx0enqWS7Bd64o89FiRpVZqw==","absolutejs":{"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.8.3","description":"Provider-agnostic AI agent authorization with policy, approvals, rejections, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"24.3.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0","drizzle-orm":"1.0.0-rc.4"},"peerDependencies":{"drizzle-orm":">=1.0.0-rc.4 <2"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.7.2_1784933813294_0.3853030017459287","host":"s3://npm-registry-packages-npm-production"}},"0.7.3":{"name":"@absolutejs/agency","version":"0.7.3","author":{"name":"Alex Kahn"},"license":"MIT","_id":"@absolutejs/agency@0.7.3","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"dist":{"shasum":"1de3d1b2448368569de5b4e9e512b8a39665e3ac","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.7.3.tgz","fileCount":25,"integrity":"sha512-htWVOVl/vmgDCMT2qwYZOnDUSatoReiLkuQ/D1n6p7Co6h/bW+Wg4VB9xO8yqTBBTPnNpJhQUn2fQD7WlsTSNw==","signatures":[{"sig":"MEUCIQDXSh2xeCFohIt2NCX9NB7AU6n0RvjnPRPp1NY0mD5f0AIgA/s0Gws5Rf9RHR6NzclT7EbPwBtMQitvABcd9p9LjNM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":675325},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"gitHead":"6b8fdbce993f8c45416119066a417c0737d216c4","scripts":{"test":"bun test tests/","build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","format":"prettier --write \"./**/*.{ts,json,md}\"","release":"bun run format && bun run check:package && bun publish","typecheck":"tsc --noEmit","check:package":"bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts","verify-package":"absolute-manifest verify-package"},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"absolutejs":{"runtimePeers":{"drizzle-orm":{"range":">=1.0.0-rc.4 <2","tested":"1.0.0-rc.4","optional":false,"buildExternals":["drizzle-orm","drizzle-orm/*"],"artifactImports":["drizzle-orm","drizzle-orm/pg-core"]}},"manifestContract":2},"repository":{"url":"git+https://github.com/absolutejs/agency.git","type":"git"},"_npmVersion":"10.9.2","description":"Provider-agnostic AI agent authorization with policy, approvals, rejections, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"@sinclair/typebox":"^0.34.0","@absolutejs/manifest":"^0.7.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@types/bun":"^1.3.14","typescript":"^5.9.0","drizzle-orm":"1.0.0-rc.4"},"peerDependencies":{"drizzle-orm":">=1.0.0-rc.4 <2"},"_npmOperationalInternal":{"tmp":"tmp/agency_0.7.3_1784961530673_0.470042443025956","host":"s3://npm-registry-packages-npm-production"}},"0.7.4":{"name":"@absolutejs/agency","version":"0.7.4","description":"Provider-agnostic AI agent authorization with policy, approvals, rejections, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","type":"module","license":"MIT","author":"Alex Kahn","repository":{"type":"git","url":"git+https://github.com/absolutejs/agency.git"},"homepage":"https://github.com/absolutejs/agency","bugs":{"url":"https://github.com/absolutejs/agency/issues"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./authzen":{"types":"./dist/authzen.d.ts","import":"./dist/authzen.js","default":"./dist/authzen.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"publishConfig":{"access":"public"},"scripts":{"build":"rm -rf dist && bun build src/index.ts src/authzen.ts src/manifest.ts --outdir dist --root src --sourcemap --target=bun --external drizzle-orm --external 'drizzle-orm/*' && tsc --project tsconfig.build.json && absolute-manifest emit","typecheck":"tsc --noEmit","test":"bun test tests/","format":"prettier --write \"./**/*.{ts,json,md}\"","verify-package":"absolute-manifest verify-package","check:package":"bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts","release":"bun run format && bun run check:package && bun publish"},"dependencies":{"@absolutejs/manifest":"^0.7.2","@sinclair/typebox":"^0.34.0"},"devDependencies":{"@types/bun":"^1.3.14","prettier":"^3.8.3","typescript":"^5.9.0","drizzle-orm":"1.0.0-rc.4"},"absolutejs":{"manifestContract":2,"runtimePeers":{"drizzle-orm":{"artifactImports":["drizzle-orm","drizzle-orm/pg-core"],"range":">=1.0.0-rc.4 <2","tested":"1.0.0-rc.4","optional":false,"buildExternals":["drizzle-orm","drizzle-orm/*"]}}},"peerDependencies":{"drizzle-orm":">=1.0.0-rc.4 <2"},"_id":"@absolutejs/agency@0.7.4","_integrity":"sha512-NmWqseXKiMietNHijMgwPEkeEHfbsv/kLwNMA6uQ924cnZQRjZACva1zpYWgQRHgqcmWmt4KgGXs9t+0lQ9Grw==","_nodeVersion":"24.3.0","_npmVersion":"10.8.3","shasum":"fec730437d3bf43cd11d7bf275b0ae058d87882f","dist":{"integrity":"sha512-NmWqseXKiMietNHijMgwPEkeEHfbsv/kLwNMA6uQ924cnZQRjZACva1zpYWgQRHgqcmWmt4KgGXs9t+0lQ9Grw==","shasum":"fec730437d3bf43cd11d7bf275b0ae058d87882f","tarball":"https://registry.npmjs.org/@absolutejs/agency/-/agency-0.7.4.tgz","fileCount":25,"unpackedSize":677635,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHKIwIENtY+ajwYK0uYve13uvRZMp2y7cZND9+guisl0AiEA9Cmtb5KJ1PbtZY08CCJlibsJ1gmP1BQkyaHpgRr4lSU="}]},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agency_0.7.4_1785517476186_0.46475592483844186"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-15T20:01:46.638Z","modified":"2026-07-31T17:04:36.567Z","0.1.0":"2026-07-15T20:01:46.990Z","0.2.0":"2026-07-15T20:34:10.962Z","0.3.0":"2026-07-15T20:54:47.313Z","0.4.0":"2026-07-16T01:18:13.825Z","0.5.0":"2026-07-16T05:38:26.212Z","0.5.1":"2026-07-18T17:47:59.835Z","0.6.0":"2026-07-19T23:05:48.325Z","0.6.1":"2026-07-23T02:14:45.467Z","0.6.2":"2026-07-23T03:09:08.778Z","0.6.3":"2026-07-23T08:37:19.111Z","0.6.4":"2026-07-23T11:21:46.307Z","0.7.0":"2026-07-24T01:24:01.674Z","0.7.1":"2026-07-24T01:51:15.934Z","0.7.2":"2026-07-24T22:56:53.464Z","0.7.3":"2026-07-25T06:38:50.795Z","0.7.4":"2026-07-31T17:04:36.357Z"},"bugs":{"url":"https://github.com/absolutejs/agency/issues"},"author":"Alex Kahn","license":"MIT","homepage":"https://github.com/absolutejs/agency","repository":{"type":"git","url":"git+https://github.com/absolutejs/agency.git"},"description":"Provider-agnostic AI agent authorization with policy, approvals, rejections, durable delegation, execution leases, receipts, kill switches, and signed handoffs.","maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"readme":"# @absolutejs/agency\n\nProvider-neutral action authorization for AI agents.\n\nAuthentication says which agent is acting and on whose behalf. Agency decides\nwhether that exact action may happen now, coordinates prerequisites such as\nhuman approval or terminal human rejection, issues a short-lived single-use\nexecution lease, and records a receipt after execution.\n\n```ts\nimport { createAgency, createMemoryAgencyStore } from \"@absolutejs/agency\";\n\nconst agency = createAgency({\n  policy: yourPolicyDecisionPoint,\n  store: createMemoryAgencyStore(),\n});\n\nconst { action, decision } = await agency.request({\n  action: \"send_email\",\n  actor: {\n    agentId: \"sales-agent\",\n    delegationId: \"delegation-123\",\n    scopes: [\"email:send\"],\n    userId: \"user-123\",\n  },\n  effects: [\"send\", \"external-network\"],\n  input: { subject: \"Hello\", to: \"buyer@example.com\" },\n  resource: { id: \"buyer@example.com\", type: \"email_recipient\" },\n});\n\nif (decision.kind === \"allow\") {\n  const lease = await agency.issueLease(action.actionId);\n  const { receipt } = await agency.execute({\n    executor: \"email-provider\",\n    leaseId: lease.leaseId,\n    run: () => email.send(action.input),\n  });\n}\n\nif (decision.kind === \"deny\" && decision.requestable) {\n  await agency.reject({\n    actionId: action.actionId,\n    reason: \"The recipient is outside the approved customer account.\",\n    rejectedBy: \"operator-123\",\n  });\n}\n```\n\nThe core contract is deliberately provider-neutral. `@absolutejs/agency/authzen`\ncontains adapters for the OpenID AuthZEN Authorization API, its Access Request\nand Approval Profile (AARP), and MCP tool mappings compatible with the COAZ\nprofile direction.\n\n## Agentic control plane\n\n`createAgentControlPlane()` inventories an agent's registrations, delegations,\ntasks, credential grants, allowances, mandates, leases, and other capabilities\nthrough small `AgentControlSource` adapters. Revocation activates a durable kill\nswitch first, then fans out cleanup to every source. Pass the control plane to\n`createAgency({ control, ... })`; action requests, lease issuance, and execution\nthen fail closed while the agent is disabled.\n\n## Handoffs, simulation, and telemetry\n\n`createAgentDelegationAuthority()` issues durable, revocable delegation grants\ninside Agency. Every child must attenuate its parent's user, audience, expiry,\naction scopes, effects, resource boundaries, and spend ceiling; delegation\ndepth is bounded and revocation cascades to descendants. Pass the authority as\n`createAgency({ delegations: authority, ... })` to re-check the complete active\nchain when an action is requested, when its execution lease is issued, and\nimmediately before that lease is consumed.\n\n```ts\nconst delegations = createAgentDelegationAuthority({\n  audience: \"https://app.example\",\n  store: createMemoryAgentDelegationStore(), // use PostgreSQL in production\n});\n\nconst grant = await delegations.issue({\n  audience: \"https://app.example\",\n  issuerAgentId: \"user-agent\",\n  subjectAgentId: \"calendar-agent\",\n  userId: \"user-1\",\n  scopes: [\"calendar.create\"],\n  effects: [\"write\", \"external-network\"],\n  resourceTypes: [\"calendar\"],\n  expiresAt: Date.now() + 3_600_000,\n});\n```\n\n- `signAgentHandoff()` / `verifyAgentHandoff()` create audience-bound,\n  expiring, replay-protected agent-to-agent capability envelopes. Use\n  `attenuateAgentHandoff()` for additional hops so scopes, spend, expiry, and\n  user identity cannot escalate.\n- `signAgentHandoffWith()` / `verifyAgentHandoffWith()` accept independent\n  signer and verifier providers over canonical bytes. Cloud KMS/HSM adapters\n  can keep private keys non-exportable, rotate by `keyId`, and reject algorithms\n  without changing the handoff wire contract. HS256 remains available for\n  compatibility and local development.\n- `simulateAction()` evaluates policy and produces the same canonical binding\n  without storing an action, issuing a lease, or running an effect.\n- `createAgencyTelemetryEmitter()` maps every Agency event to stable\n  `agent.*` event names and attributes that can feed OpenTelemetry or any audit\n  sink without coupling the core package to a telemetry vendor.\n\nMemory stores are development defaults. Production deployments should supply\ndurable, transactional stores for Agency state, kill switches, and handoff\nnonces.\n\n### PostgreSQL production state\n\n`agencyPostgresSchemaSql()` creates indexed tables for actions, approvals,\nrejections, leases, receipts, kill switches, and replay nonces. The adapters\naccept a small structural `AgencySqlClient`, so Bun SQL, Neon, `pg`, and\ntransaction-aware host clients can be used without coupling the core package to\na database driver.\n\n```ts\nconst store = createPostgresAgencyStore({ client: sqlClient });\nconst controlStore = createPostgresAgentControlStore({ client: sqlClient });\nconst replayStore = createPostgresHandoffReplayStore({ client: sqlClient });\n```\n\nLease consumption is one conditional `UPDATE`, making concurrent execution\nattempts safe across processes. Handoff nonces are persisted as SHA-256 digests,\nnot bearer values. Apply `agencyPostgresSchemaSql()` during deployment before\nstarting workers.\n\nSecurity invariants:\n\n- Approval and rejection are bound to the canonical action, actor, resource,\n  effects, input digest, spend, and expiry.\n- Approval-versus-rejection decisions are first-writer-wins, including across\n  PostgreSQL processes; a later concurrent decision cannot replace the original\n  operator decision.\n- A rejected action can never receive an execution lease.\n- Policy is re-evaluated after approval and immediately before issuing a lease.\n- Execution leases are short-lived and single-use.\n- A consumed lease remains consumed when provider execution fails.\n- Successful and failed executions produce receipts.\n- The default policy helper is deny-all; permissive policy is explicit.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}