{"_id":"@agenticprimitives/entitlements","_rev":"5-71819ee53268de92e169790066180ed2","name":"@agenticprimitives/entitlements","dist-tags":{"latest":"0.0.0-alpha.5"},"versions":{"0.0.0-alpha.1":{"name":"@agenticprimitives/entitlements","version":"0.0.0-alpha.1","keywords":["agentic","primitives","entitlements","authorization","verifiable-credentials"],"license":"MIT","_id":"@agenticprimitives/entitlements@0.0.0-alpha.1","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/entitlements","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"7ecc50a432ebb3889772f76047d219e6f9fe7d21","tarball":"https://registry.npmjs.org/@agenticprimitives/entitlements/-/entitlements-0.0.0-alpha.1.tgz","fileCount":16,"integrity":"sha512-SkUyfDxZK14ezr9NZbgjToMDmtKn26oD+8EW7Ewosmc5JS9RbhGPkBH8CgPY7Y4mMnqCHu40upEq2w7lhlYXzw==","signatures":[{"sig":"MEUCIEx/AHYMf32CCGuK7+PJ8b4Ajsx7ZnDT4bQKSKWuNcoqAiEAtLq0w73mX63RI5M/4A+e4+6Y1M3TWsbH5V/74IoSvpM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25090},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-entitlements-0.0.0-alpha.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/88c2524615f6e07052dbfbd1a052979c/agenticprimitives-entitlements-0.0.0-alpha.1.tgz","_integrity":"sha512-SkUyfDxZK14ezr9NZbgjToMDmtKn26oD+8EW7Ewosmc5JS9RbhGPkBH8CgPY7Y4mMnqCHu40upEq2w7lhlYXzw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/entitlements"},"_npmVersion":"11.16.0","description":"Durable resource/action/field/purpose/classification authorization over VC-compatible entitlement credentials (spec 277 §10). Matching engine + resolver; VC-proof/status layer is additive.","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/entitlements_0.0.0-alpha.1_1781714775643_0.7123401909863432","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.2":{"name":"@agenticprimitives/entitlements","version":"0.0.0-alpha.2","keywords":["agentic","primitives","entitlements","authorization","verifiable-credentials"],"license":"MIT","_id":"@agenticprimitives/entitlements@0.0.0-alpha.2","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/entitlements","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"6fea2689acd87434b36840e64ab8d58a97d894e4","tarball":"https://registry.npmjs.org/@agenticprimitives/entitlements/-/entitlements-0.0.0-alpha.2.tgz","fileCount":16,"integrity":"sha512-5tH6AfekNcytMhmO18OFDFwWn6HFCQ2OOOXcOdxHWAIbMvAC2LOc6KLYdzPhIdPGH+Xg0q2Dna4p0jnBLpHukA==","signatures":[{"sig":"MEQCIBku+KJ8wwKU4WvcZsY5yKfPz7hGwRtA73GUzQdklfo/AiArhPdkuBqfpc9jbyX7GvvdOTjZiIr8Ot9sOmsxNoFDQA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27395},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-entitlements-0.0.0-alpha.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/751361478b2385a90b2174b98d1e6a24/agenticprimitives-entitlements-0.0.0-alpha.2.tgz","_integrity":"sha512-5tH6AfekNcytMhmO18OFDFwWn6HFCQ2OOOXcOdxHWAIbMvAC2LOc6KLYdzPhIdPGH+Xg0q2Dna4p0jnBLpHukA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/entitlements"},"_npmVersion":"11.16.0","description":"Durable resource/action/field/purpose/classification authorization over VC-compatible entitlement credentials (spec 277 §10). Matching engine + resolver; VC-proof/status layer is additive.","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/entitlements_0.0.0-alpha.2_1781837939194_0.3103741739673933","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.3":{"name":"@agenticprimitives/entitlements","version":"0.0.0-alpha.3","keywords":["agentic","primitives","entitlements","authorization","verifiable-credentials"],"license":"MIT","_id":"@agenticprimitives/entitlements@0.0.0-alpha.3","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/entitlements","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"624dbf12b427245b91df01d8197b0ebadef2d54a","tarball":"https://registry.npmjs.org/@agenticprimitives/entitlements/-/entitlements-0.0.0-alpha.3.tgz","fileCount":20,"integrity":"sha512-ljv4HVkRPvlcPaZ03zJL366FAD/Jlc7TRhDdN8eUNxzGnqK9QsLPnu0CMW1rpbdu4d00nC1AV4oyui2g2XWLRA==","signatures":[{"sig":"MEUCIQCRjlXddGtyEVvFR2AUaySp2myIe5tK3v3YBsDi07LJ6gIgDumUuudYgjhZb7G8HGsDDGEdlWRNc0YQJMStAONUe20=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDT3A7+VyDXchTHS/oEC9BFOM8HcNqUWwiprIQNXCuauAIhAOND5+3d9DZpF07Sy/BZSbPND1+z0ZIk8tuBbbygvRrV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39034},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-entitlements-0.0.0-alpha.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d0c030e-47b9-48b8-af0b-740ffc72f1a5"}},"_resolved":"/tmp/0ef7011cad0751d796f8e32a905b1580/agenticprimitives-entitlements-0.0.0-alpha.3.tgz","_integrity":"sha512-ljv4HVkRPvlcPaZ03zJL366FAD/Jlc7TRhDdN8eUNxzGnqK9QsLPnu0CMW1rpbdu4d00nC1AV4oyui2g2XWLRA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/entitlements"},"_npmVersion":"11.19.0","description":"Durable resource/action/field/purpose/classification authorization over VC-compatible entitlement credentials (spec 277 §10). Matching engine + resolver; VC-proof/status layer is additive.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/entitlements_0.0.0-alpha.3_1789164166848_0.33084147160916877","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.4":{"name":"@agenticprimitives/entitlements","version":"0.0.0-alpha.4","keywords":["agentic","primitives","entitlements","authorization","verifiable-credentials"],"license":"MIT","_id":"@agenticprimitives/entitlements@0.0.0-alpha.4","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/entitlements","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"bddd306ba6d4ddbd39b425bacd67014a3f60f64a","tarball":"https://registry.npmjs.org/@agenticprimitives/entitlements/-/entitlements-0.0.0-alpha.4.tgz","fileCount":20,"integrity":"sha512-TWoBj5KkxC3t9xpQonHCjfLtMZw+kZPySY6NQje+Fa6P3BucQiUzhIhkOjypwAeT6vee9hupTllbGJPm7Ztfdw==","signatures":[{"sig":"MEUCIAPjtvbZ5meH81RxtL72HqaiyOoG5YoycuVeJCWc7Q+lAiEA+tPZdbDgNNP65bcd3c5aTrXBcnc/ZBAa9DBtKDMG5X4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIBs5oRES97RquYmEb7tXCUZfxnnDyQpt9y9QWMHd0aiwAiEA/zQC3hUU5fQ8z+RVxNGkrYgvk36D/viWEpLVUh/HpD0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39034},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-entitlements-0.0.0-alpha.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d0c030e-47b9-48b8-af0b-740ffc72f1a5"}},"_resolved":"/tmp/a86f9beecaa157827b2dac4dcea5134f/agenticprimitives-entitlements-0.0.0-alpha.4.tgz","_integrity":"sha512-TWoBj5KkxC3t9xpQonHCjfLtMZw+kZPySY6NQje+Fa6P3BucQiUzhIhkOjypwAeT6vee9hupTllbGJPm7Ztfdw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/entitlements"},"_npmVersion":"11.19.0","description":"Durable resource/action/field/purpose/classification authorization over VC-compatible entitlement credentials (spec 277 §10). Matching engine + resolver; VC-proof/status layer is additive.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"tmp":"tmp/entitlements_0.0.0-alpha.4_1789230586282_0.3240169601815712","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.5":{"_id":"@agenticprimitives/entitlements@0.0.0-alpha.5","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"5e6a0d99e2f04c8a49d8edc6253316f1673c7c35","tarball":"https://registry.npmjs.org/@agenticprimitives/entitlements/-/entitlements-0.0.0-alpha.5.tgz","fileCount":20,"integrity":"sha512-G30WebZtHPnfGTtQhzqZEpbDB3Jv1df1+4bvfNvX1OOx6baglW8uRADCbukx4a0gBwQqJ4qUts4eoea/q7Ma8g==","signatures":[{"sig":"MEYCIQCOi6k6sn0AhnOfBShhawkdaAOUlMuxe7LEICRjXVpnGQIhAKe7bl4SdIhSAiYm+Pqi0nYbsjA1dJgGuEAy8PsZnMV3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEWzUQGWXotayP5M115G+lbTiMrKPqm6aHRNW8wq9SYDAiEAtDhjn2A0ph/0PU8ZQO5uo/XO+L0paXrg4VybashrON0="}],"unpackedSize":39528},"main":"./dist/index.js","name":"@agenticprimitives/entitlements","type":"module","_from":"file:agenticprimitives-entitlements-0.0.0-alpha.5.tgz","types":"./dist/index.d.ts","author":{"url":"https://agenticprimitives.dev","name":"Agentic Trust Labs"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"license":"MIT","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest"},"version":"0.0.0-alpha.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d0c030e-47b9-48b8-af0b-740ffc72f1a5"}},"homepage":"https://agenticprimitives.dev","keywords":["agentic","primitives","entitlements","authorization","verifiable-credentials","agentic-primitives","agenticprimitives","ai-agents","agent-authority","agentic-trust"],"_resolved":"/tmp/c3ea58569ed992486f3b432ccddc285c/agenticprimitives-entitlements-0.0.0-alpha.5.tgz","_integrity":"sha512-G30WebZtHPnfGTtQhzqZEpbDB3Jv1df1+4bvfNvX1OOx6baglW8uRADCbukx4a0gBwQqJ4qUts4eoea/q7Ma8g==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/entitlements"},"_npmVersion":"11.19.0","description":"Durable resource/action/field/purpose/classification authorization over VC-compatible entitlement credentials (spec 277 §10). Matching engine + resolver; VC-proof/status layer is additive.","directories":{},"maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/entitlements_0.0.0-alpha.5_1789814946911_0.9656935108744746"}}},"time":{"created":"2026-06-17T16:46:15.477Z","modified":"2026-09-19T10:49:07.146Z","0.0.0-alpha.1":"2026-06-17T16:46:15.799Z","0.0.0-alpha.2":"2026-06-19T02:58:59.352Z","0.0.0-alpha.3":"2026-09-11T22:02:46.953Z","0.0.0-alpha.4":"2026-09-12T16:29:46.399Z","0.0.0-alpha.5":"2026-09-19T10:49:06.990Z"},"bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"license":"MIT","homepage":"https://agenticprimitives.dev","keywords":["agentic","primitives","entitlements","authorization","verifiable-credentials","agentic-primitives","agenticprimitives","ai-agents","agent-authority","agentic-trust"],"repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/entitlements"},"description":"Durable resource/action/field/purpose/classification authorization over VC-compatible entitlement credentials (spec 277 §10). Matching engine + resolver; VC-proof/status layer is additive.","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"readme":"# @agenticprimitives/entitlements\n\n> Part of **[Agentic Primitives](https://agenticprimitives.dev)** — the open-source trust substrate for agentic applications: identity that can sign, authority checked at act time, evidence the owner carries. [Developer kit](https://github.com/agentictrustlabs/agentic-primitives) · [All packages](https://agenticprimitives.dev/developers)\n\nDurable **resource/action/field/purpose/classification authorization** over VC-compatible\nentitlement credentials (spec 277 §10) — the check the vault / MCP runtime runs **before**\ndecrypting any field.\n\n```ts\nimport { InMemoryEntitlementResolver } from '@agenticprimitives/entitlements';\n\nconst resolver = new InMemoryEntitlementResolver([entitlementCredential]);\nconst decision = await resolver.resolve({\n  actor: 'eip155:8453:0xsession…',\n  principal: 'eip155:8453:0xowner…',\n  audience: 'urn:mcp:server:person',\n  resource: 'person-pii',\n  action: 'read',\n  fields: ['email'],\n  purpose: 'support-ticket',\n  classification: 'pii.sensitive',\n  at: new Date(),\n});\n// decision.decision === 'allow' | 'deny'; decision.allowedFields scopes the projection\n```\n\nFail-closed: allowed only if some credential matches on every dimension. This release is the\n**matching engine** + in-memory resolver; VC proof verification, status-list revocation, and storage\ncaches layer on top (see [spec 277 §10](../../specs/277-mcp-delegated-vault-authorization.md)).\n","readmeFilename":"README.md","author":{"url":"https://agenticprimitives.dev","name":"Agentic Trust Labs"}}