{"_id":"@a0n/aeon-iam","_rev":"2-4c10e1607a9a1e741720a118a0a54770","name":"@a0n/aeon-iam","dist-tags":{"latest":"5.0.0"},"versions":{"5.0.0":{"name":"@a0n/aeon-iam","version":"5.0.0","author":{"url":"https://buley.fyi","name":"Taylor William Buley"},"license":"UNLICENSED","_id":"@a0n/aeon-iam@5.0.0","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"dist":{"shasum":"7a7ecdd1fa89151d3ed9c7caac8f0d849a655a81","tarball":"https://registry.npmjs.org/@a0n/aeon-iam/-/aeon-iam-5.0.0.tgz","fileCount":20,"integrity":"sha512-JhjhGDkUN9YmM8uxMaIYfAUvqTfhH5fE6sK0f+mqiVnLLd1G9KFI1+UDnBxqqAhvXqx4hA1ppTMk6dq3LadCAQ==","signatures":[{"sig":"MEYCIQC8IKl+kcK3oB3BGBQB3sKJXxPL8lmiL0zWiipp7qn8zQIhAMUgZpRsEOmUMnSoQJKb8DnabOHKmoojcEhfrXO+xH/D","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130443},"main":"./src/index.ts","type":"module","_from":"file:a0n-aeon-iam-5.0.0.tgz","types":"./src/index.ts","module":"./src/index.ts","exports":{".":{"types":"./src/index.ts","default":"./src/index.ts"},"./*":{"types":"./src/*","default":"./src/*.ts"}},"scripts":{"dev":"tsup src/index.ts --format cjs,esm --watch --dts","lint":"eslint src/**/*.ts test/**/*.ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","typecheck":"bunx tsc --noEmit"},"_npmUser":{"name":"buley","email":"buley@outlook.com"},"_resolved":"/private/var/folders/kf/tkq8cmd54fl9c1wh414dj3240000gn/T/e95d037e73964e0c7d7cc030f1c675ec/a0n-aeon-iam-5.0.0.tgz","_integrity":"sha512-JhjhGDkUN9YmM8uxMaIYfAUvqTfhH5fE6sK0f+mqiVnLLd1G9KFI1+UDnBxqqAhvXqx4hA1ppTMk6dq3LadCAQ==","_npmVersion":"11.11.0","description":"Device-rooted UCAN IAM orchestration for the Aeon ecosystem.","directories":{},"_nodeVersion":"25.8.0","dependencies":{"zod":"^3.24.1","@a0n/aeon-flags":"5.0.0","@affectively/auth":"5.0.0","@a0n/aeon-preferences":"5.0.0"},"typesVersions":{"*":{"*":["src/*","src/*.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^2.1.9","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/aeon-iam_5.0.0_1773802310673_0.29907180965297075","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated and no longer supported. Do not use."}},"time":{"created":"2026-03-18T02:51:50.523Z","modified":"2026-03-27T20:49:18.452Z","5.0.0":"2026-03-18T02:51:50.824Z"},"author":{"url":"https://buley.fyi","name":"Taylor William Buley"},"license":"UNLICENSED","description":"Device-rooted UCAN IAM orchestration for the Aeon ecosystem.","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"readme":"# @a0n/aeon-iam\n\n`@a0n/aeon-iam` handles IAM-style workflows for the Aeon ecosystem with UCAN delegation, OAuth account linking, revocation, storage adapters, and MCP tool helpers.\n\nThe fair brag is that this repo covers the full shape of identity plumbing instead of stopping at token parsing. It already includes issuance, verification, revocation, provider sign-in flows, effective-capability calculation, storage backends, peer-envelope helpers, and tool surfaces for automation.\n\n## Why People May Like It\n\n- UCAN delegation issuance and verification are built in,\n- capability attenuation and effective-capability calculation are part of the core surface,\n- OAuth linking, refresh, revoke, and starter-token issuance live in the same package,\n- storage adapters exist for both D1 and Dash-backed flows,\n- peer-envelope signing and verification helpers are included,\n- and there is an MCP tool factory for IAM workflows.\n\n## Key Exports\n\n- `issueDelegation`\n- `verifyDelegationChain`\n- `computeEffectiveCapabilities`\n- `linkOAuthIdentity`\n- `unlinkOAuthIdentity`\n- `beginProviderSignin`\n- `completeProviderSignin`\n- `refreshProviderSession`\n- `revokeProviderSession`\n- `issueStarterUcan`\n- `revokeToken`\n- `revokeDevice`\n- `revokeLinkedAccount`\n- `createIamMcpTools`\n- `canonicalizePeerEnvelope`\n- `signPeerEnvelope`\n- `verifyPeerEnvelope`\n\n## Repo Guide\n\n- [src/README.md](./src/README.md): source modules\n- [test/README.md](./test/README.md): test coverage map\n\n## Why This README Is Grounded\n\nAeon IAM does not need inflated language. The strongest fair brag is that it already gives you a fairly complete identity and delegation package for UCAN-based applications.\n","readmeFilename":"README.md"}