{"_id":"@aegisaudit/sdk","_rev":"12-48cb07a884902892908d7facf353db37","name":"@aegisaudit/sdk","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"@aegisaudit/sdk","version":"0.1.0","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge"],"license":"MIT","_id":"@aegisaudit/sdk@0.1.0","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"607b9e94e37fb5e51bdf33ab0f0f562a0ef4b63d","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.1.0.tgz","fileCount":15,"integrity":"sha512-M12SW4JKNHPh+md4nc6bhPFggHVwhEETzW5CUPDEgEf+X5usYrWD6tLiG2nWlPbR4dnoCQqWomwdbNRUHC/caQ==","signatures":[{"sig":"MEQCIHdSXPzwYm97YgDgx/GnmoijxWQNAVtBi7P1UEarYb+aAiAsD06xv06avIFCbGYpjTXNGXNWwRe1DUVsSSfBtLewJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":171414},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"7ed6952ec80ce3c8903ed2fa49cd195a48263138","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.0_1772222807462_0.9400333674087562","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aegisaudit/sdk","version":"0.1.1","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge"],"license":"MIT","_id":"@aegisaudit/sdk@0.1.1","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"f0540f3ac024cecbfae3868b553876e4246ea5f5","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.1.1.tgz","fileCount":15,"integrity":"sha512-p7WwA4V5FSb2jKR0AlQ8yagJTrPF26kBbNFOglXjiDor4h0PYHluS/NZoWzER4jxaTPQcunt+ZJuYwb75w54eg==","signatures":[{"sig":"MEQCIG4lvQER3dKxdshuD/QcZaaOQWWNYFzNI+N3po2T91AQAiBctoGSqcMUlQ1EMKcUNw6aEQ0lv+OGUHJqxTpFbhFTSg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":173659},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"7ed6952ec80ce3c8903ed2fa49cd195a48263138","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.1.1_1772223212919_0.26278307233849385","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aegisaudit/sdk","version":"0.2.0","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge"],"license":"MIT","_id":"@aegisaudit/sdk@0.2.0","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"6ff10dab02b89e5361e7e5b5f29f11516ee228fb","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.2.0.tgz","fileCount":15,"integrity":"sha512-FWsEoiRFARaaBY5+nluJOJ6dPIv9MsceOo67cWUOwmTOZELu8fiCI4LhlZmspxrXypPzQN2IBW5ml3FFCpWsXg==","signatures":[{"sig":"MEYCIQD+Cc6egS+shgJUW4zLyUIEONXD4AAvN4Np5ItjLE9KtgIhAK769PhUw2AIt+hPFb+/EDlIiqyeJE5JPagy0YtwIUWr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":230141},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4f156784eb32fdfd0dea4b0d781f06150928cc39","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1772223760336_0.20048721068024977","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@aegisaudit/sdk","version":"0.2.1","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge"],"license":"MIT","_id":"@aegisaudit/sdk@0.2.1","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"473a5ef308ef911c86aa54501e3fecb3c7b88f42","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.2.1.tgz","fileCount":16,"integrity":"sha512-X6xPUW0rRlT40PLvIUT/pPDR3iq8P1iVDiGvvIL527ZzdPBIPNBKA2sEdPPYS8Q+E2rjw5aQHQeUlmcNav6WcQ==","signatures":[{"sig":"MEQCIEq+mPV5SgFgIkqfWYo5HiPBxAnSFqIrWGZeNTckStVAAiAFbE906CIaVCuMaHj9MJcyDw7Nepa7Ed351OaFQ326Xg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":234098},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"afe99313dd3cd64c06a2524f4a806c02a7c10e92","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.1_1772317472607_0.4768981084763144","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@aegisaudit/sdk","version":"0.2.2","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge"],"license":"MIT","_id":"@aegisaudit/sdk@0.2.2","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"bee0c343e234dc843300ed704ae999057470767c","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.2.2.tgz","fileCount":16,"integrity":"sha512-LfRCGEd7TJ6rQdMO17EwT5RdmlhTT9m+ICCcvLfFUP0EE/H9g1sI5s9ZWlQmQO4y3Mjfi1/1lvBRHdVnmPnwmQ==","signatures":[{"sig":"MEUCIQDEQ/ZKpwOQFGMo1UFbPryKOBO3eGNLlzuBQiJ8/GWR6QIgbrGeaYzCD9dps3P7eYF6wQqFVTrRy/IcpJaompoUFOU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":236122},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c886eda34227669cfaf0cfd123469f2c499cfed7","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.2_1772364189804_0.6378411171220204","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@aegisaudit/sdk","version":"0.3.0","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"license":"MIT","_id":"@aegisaudit/sdk@0.3.0","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"8bd9d27af659a98d9268aa79985bb12f5c3455e1","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.3.0.tgz","fileCount":22,"integrity":"sha512-LjqaqVBHn0n0FjKKklf/ONjv4aY2KUiqTQ6I7zMG86WT7qdebzZBarIAONW4VTAXYwG6ZW6ew+tYbnaIXaZ9AQ==","signatures":[{"sig":"MEYCIQDgnRpABUYe29f/d+mXGy5QZEc1F/KxXmSheszjY2YVHQIhAN/WsX1WLkVu/k6/R7FHPqjd4VICZ+15ewJwYQ9dNVfW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":741046},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a664557e60daa32966a4f72aea1594bb526b9189","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"peerDependencies":{"@x402/fetch":">=0.1.0","@x402/express":">=0.1.0"},"peerDependenciesMeta":{"@x402/fetch":{"optional":true},"@x402/express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.0_1772668000202_0.46272243534530255","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@aegisaudit/sdk","version":"0.3.1","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"license":"MIT","_id":"@aegisaudit/sdk@0.3.1","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"1a9e7bcd80d994176de464f543129b45cda9cc1b","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.3.1.tgz","fileCount":22,"integrity":"sha512-s1ahjGVX+N1GlNwsaIwU9TnSEd4OSIaccCKGiVHV+4UEpN+CkkqVHYenW27Cq+9uOG1aJIcd5a55/g93NZz5Zg==","signatures":[{"sig":"MEUCICq0Xu+YWvP0t7Pqj7nbavi4kVznHVjksifAwJ+MIFZ+AiEAudbCu+BrMU4Og3ujBqBM0uGUjnOthdpapdzKm9yRhXM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":752574},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9ee8c974d5486d9f2aa8ee29f11e71b3d8be7fb5","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"peerDependencies":{"@x402/fetch":">=0.1.0","@x402/express":">=0.1.0"},"peerDependenciesMeta":{"@x402/fetch":{"optional":true},"@x402/express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.1_1772668938851_0.996377916702748","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@aegisaudit/sdk","version":"0.3.2","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"license":"MIT","_id":"@aegisaudit/sdk@0.3.2","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"6509f92268ead8b5a1eb68addc744f5371a42e48","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.3.2.tgz","fileCount":22,"integrity":"sha512-stmroaHQACxx1DiPlmCcnokYOwuxVt2lAIozU4oGvuUAtIX1qYz8IYLpbrhBEqgWKcp0UdpZdnkngHpZZ2YRbA==","signatures":[{"sig":"MEQCICFmEkwaunY7TGr2iwNio+NWyxFSHlnaSIdm3VzNIiH5AiBJlBSetKcSdrfcW6AI0vdNeYJCZ0Xy0tHveGstAcFdiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":786155},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"329ee3a5d539603bfde3970993b333eccf83f413","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"peerDependencies":{"@x402/fetch":">=0.1.0","@x402/express":">=0.1.0"},"peerDependenciesMeta":{"@x402/fetch":{"optional":true},"@x402/express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.3.2_1772669977665_0.5105966195949199","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@aegisaudit/sdk","version":"0.4.0","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"license":"MIT","_id":"@aegisaudit/sdk@0.4.0","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"af7bef56d219f23e4e0303530830dfbf86df0fc8","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.4.0.tgz","fileCount":22,"integrity":"sha512-fm8V7anomD141qFDSzPX5N0cMS0r9RT6Y6YWas5U8Rv6pRQAfurnNLdAqOKm/fH72m983LT4t6k9jSuLTpOmlQ==","signatures":[{"sig":"MEYCIQC8Rz0ksirAaTZhJOVgDSb9emwAy8uVTr5pTRpO0Qqq7wIhAKUe2BbKsG8LDoGUyLmuT9iOzYn1hdITIfHIWXs1db/G","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":833433},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"54107349b2aeb00ad911311f0e20fa6fc135062d","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"peerDependencies":{"@x402/fetch":">=0.1.0","@x402/express":">=0.1.0"},"peerDependenciesMeta":{"@x402/fetch":{"optional":true},"@x402/express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.4.0_1772671440123_0.4396182702602942","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@aegisaudit/sdk","version":"0.5.0","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"license":"MIT","_id":"@aegisaudit/sdk@0.5.0","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegisaudit/aegis#readme","bugs":{"url":"https://github.com/aegisaudit/aegis/issues"},"dist":{"shasum":"ce698fd925d3011727750120cb2883499bdc438c","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.5.0.tgz","fileCount":22,"integrity":"sha512-/Nsr2j/KSiLxrLP+Ic+Nu7QMw4r12wn3BEU5N09daUOCsKx7qFGMHFGK2jz711jyTUXhN7X0PQgkZgKx87OG3w==","signatures":[{"sig":"MEYCIQCP55Qsq1JBhYVbu394nNyJG6rXGVrKiOvuqFWMOAnVtQIhANojT0T/DjewXDATxDcnDlSSSJCYTM4P0f/2FaQTLkQI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":958166},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ad575912c8198d655085e4866f43a04a4787a46c","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegisaudit/aegis.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"peerDependencies":{"@x402/fetch":">=0.1.0","@x402/express":">=0.1.0"},"peerDependenciesMeta":{"@x402/fetch":{"optional":true},"@x402/express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.0_1772675333591_0.5318801462762917","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@aegisaudit/sdk","version":"0.5.1","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"license":"MIT","_id":"@aegisaudit/sdk@0.5.1","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"homepage":"https://github.com/aegis-zk/aegisprotocol#readme","bugs":{"url":"https://github.com/aegis-zk/aegisprotocol/issues"},"dist":{"shasum":"a1fee95507258bf061b3ec4b0fb0e02cfbd8034f","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.5.1.tgz","fileCount":23,"integrity":"sha512-EZ2o8n1gvBBWvUWJGIgpcsl/gfrfV++9xYLw7bPpOd7Ee5fRKWOjUCPDPmvL9litOGPX+0CnZLRXNWHyFyoRFg==","signatures":[{"sig":"MEYCIQD6op1Zek1by5oavQ88ZZqIRiAX+0zHgqBRzoPTN/Vr7AIhAPG1zrackY+T9JWqQCYSeGv7C0KHo70VJhvc+pCZgduj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1036010},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2b9127c7132515704e989cc2805b5dfa7e0e80cd","scripts":{"test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"repository":{"url":"git+https://github.com/aegis-zk/aegisprotocol.git","type":"git","directory":"packages/sdk"},"_npmVersion":"11.6.2","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","directories":{},"_nodeVersion":"24.11.1","dependencies":{"viem":"^2.21.0","@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","vitest":"^2.1.0","typescript":"^5.7.0","@types/node":"^22.0.0"},"peerDependencies":{"@x402/fetch":">=0.1.0","@x402/express":">=0.1.0"},"peerDependenciesMeta":{"@x402/fetch":{"optional":true},"@x402/express":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.5.1_1773808194312_0.8861490408498081","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@aegisaudit/sdk","version":"0.6.0","description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/aegis-zk/aegisprotocol.git","directory":"packages/sdk"},"scripts":{"build":"tsup","test":"vitest run","typecheck":"tsc --noEmit","clean":"rm -rf dist","prepublishOnly":"npm run build"},"dependencies":{"@aztec/bb.js":"3.0.0-nightly.20260102","@noir-lang/noir_js":"1.0.0-beta.18","viem":"^2.21.0"},"peerDependencies":{"@x402/fetch":">=0.1.0","@x402/express":">=0.1.0"},"peerDependenciesMeta":{"@x402/fetch":{"optional":true},"@x402/express":{"optional":true}},"devDependencies":{"@types/node":"^22.0.0","tsup":"^8.3.0","typescript":"^5.7.0","vitest":"^2.1.0"},"gitHead":"2abbd576bb2d5fb67697226393b618280af1d659","_id":"@aegisaudit/sdk@0.6.0","bugs":{"url":"https://github.com/aegis-zk/aegisprotocol/issues"},"homepage":"https://github.com/aegis-zk/aegisprotocol#readme","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-zd1c0nMT9LeRY3MHwWF46fcmb3ERPCseRSvEHIC9VaOKwgZImzKG97EWftvuNRBIcONrgjACxWRX3PBWRsWefA==","shasum":"9660dd2f299be5e1943fb86c49ac74b45b38b1ce","tarball":"https://registry.npmjs.org/@aegisaudit/sdk/-/sdk-0.6.0.tgz","fileCount":24,"unpackedSize":1177055,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDcCZ9OfOiY/r6wkS3l8dTrTubAKkILC7+igoug9NTT6AIgRkY++HFSxQ4QNqqp2WLsZssUOXvkhvuxz40wTxK3V0A="}]},"_npmUser":{"name":"aegisaudit","email":"aegisdefense@proton.me"},"directories":{},"maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.6.0_1773813908735_0.2040809527771117"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-27T20:06:47.368Z","modified":"2026-03-18T06:05:09.299Z","0.1.0":"2026-02-27T20:06:47.616Z","0.1.1":"2026-02-27T20:13:33.067Z","0.2.0":"2026-02-27T20:22:40.484Z","0.2.1":"2026-02-28T22:24:32.759Z","0.2.2":"2026-03-01T11:23:09.980Z","0.3.0":"2026-03-04T23:46:40.369Z","0.3.1":"2026-03-05T00:02:19.097Z","0.3.2":"2026-03-05T00:19:37.813Z","0.4.0":"2026-03-05T00:44:00.376Z","0.5.0":"2026-03-05T01:48:53.768Z","0.5.1":"2026-03-18T04:29:54.479Z","0.6.0":"2026-03-18T06:05:08.906Z"},"bugs":{"url":"https://github.com/aegis-zk/aegisprotocol/issues"},"license":"MIT","homepage":"https://github.com/aegis-zk/aegisprotocol#readme","keywords":["aegis","zk","attestation","ai-agent","skill","base","blockchain","zero-knowledge","erc-8004","x402"],"repository":{"type":"git","url":"git+https://github.com/aegis-zk/aegisprotocol.git","directory":"packages/sdk"},"description":"TypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base","maintainers":[{"name":"aegisaudit","email":"aegisdefense@proton.me"}],"readme":"# @aegisaudit/sdk\n\n[![npm](https://img.shields.io/npm/v/@aegisaudit/sdk?color=FF3366)](https://www.npmjs.com/package/@aegisaudit/sdk)\n[![license](https://img.shields.io/badge/license-MIT-blue)](../../LICENSE)\n\nTypeScript SDK for the AEGIS Protocol — query and interact with on-chain ZK skill attestations on Base.\n\n## Install\n\n```bash\nnpm install @aegisaudit/sdk\n```\n\n## Quick Start\n\n```typescript\nimport { AegisClient } from '@aegisaudit/sdk';\n\n// Create a read-only client (no wallet needed)\nconst client = new AegisClient({ chainId: 84532 });\n\n// List all registered skills\nconst skills = await client.listAllSkills();\nconsole.log(`${skills.length} skills registered`);\n\n// Get attestations for a skill\nconst attestations = await client.getAttestations(skills[0].skillHash);\n\n// Verify a ZK proof on-chain\nconst valid = await client.verify(skills[0].skillHash, 0);\nconsole.log('Proof valid:', valid);\n\n// Get skill metadata\nconst uri = await client.getMetadataURI(skills[0].skillHash);\n```\n\n## How to Use AEGIS\n\nAEGIS is a **trust verification layer**, not a skill execution runtime. It answers the question: *\"Has this AI agent skill been audited, and can I trust the audit?\"*\n\n### What AEGIS does\n\n- Tells you if a skill has been audited (attestation exists)\n- Verifies the ZK proof on-chain (is the audit legitimate?)\n- Shows the audit level and how much ETH the auditor staked (skin in the game)\n\n### What AEGIS does NOT do\n\n- Execute or run skills\n- Host skill code or definitions\n- Provide APIs for the skills themselves\n\n### Integration Pattern (Manual)\n\nIf you're building an agent that wants to run a third-party skill safely:\n\n```typescript\nimport { AegisClient } from '@aegisaudit/sdk';\n\nconst aegis = new AegisClient({ chainId: 84532 });\n\n// 1. Look up the skill on the registry\nconst skills = await aegis.listAllSkills();\nconst skill = skills.find(s => s.skillHash === TARGET_SKILL_HASH);\n\nif (!skill) {\n  throw new Error('Skill not registered on AEGIS — no audit exists');\n}\n\n// 2. Check the attestation\nconst attestations = await aegis.getAttestations(skill.skillHash);\nconst att = attestations[0];\n\nconsole.log(`Audit level: ${att.auditLevel}`);      // 1, 2, or 3\nconsole.log(`Auditor stake: ${att.stakeAmount} wei`); // ETH at risk\n\n// 3. Verify the ZK proof on-chain\nconst proofValid = await aegis.verify(skill.skillHash, 0);\n\nif (!proofValid) {\n  throw new Error('ZK proof verification failed — do not trust this audit');\n}\n\n// 4. Now you can trust the audit → go execute the skill\n//    Get the skill code from the skill publisher (not from AEGIS)\n//    e.g., fetch from the publisher's API, npm package, or IPFS\n```\n\n### Integration Pattern (Middleware — Recommended)\n\nFor production agents, use `@aegisaudit/consumer-middleware` to **automatically** gate every tool call. It intercepts tool execution, checks AEGIS trust, and blocks untrusted tools — no manual verification code needed.\n\n```bash\nnpm install @aegisaudit/consumer-middleware\n```\n\n```typescript\nimport { TrustGate } from '@aegisaudit/consumer-middleware';\nimport { createAegisTrustHandler } from '@aegisaudit/consumer-middleware/langchain';\n\nconst gate = new TrustGate({\n  policy: {\n    minAuditLevel: 2,      // Require L2+ audits\n    blockOnDispute: true,   // Block disputed skills\n    mode: 'enforce',        // Hard block on failure\n  },\n  skills: [\n    { toolName: 'web_search', skillHash: '0x...' },\n  ],\n});\n\n// LangChain: attach as a callback\nconst agent = new AgentExecutor({\n  callbacks: [createAegisTrustHandler(gate)],\n});\n\n// Also supports CrewAI, MCP, and custom agent loops.\n```\n\nSee the [consumer middleware documentation](https://www.npmjs.com/package/@aegisaudit/consumer-middleware) for full setup guides for every framework.\n\n### Audit Levels\n\n| Level | Meaning |\n|---|---|\n| 1 | Basic — code review only |\n| 2 | Standard — code review + input validation |\n| 3 | Comprehensive — full security audit with fuzzing |\n\nHigher level = more thorough audit. The auditor's staked ETH gets slashed if the audit is disputed and found fraudulent.\n\n## API Reference\n\n### `new AegisClient(config)`\n\nCreate a client instance.\n\n```typescript\nconst client = new AegisClient({\n  chainId: 84532,           // Base Sepolia (default registry auto-resolved)\n  rpcUrl: 'https://...',    // Optional custom RPC\n  registryAddress: '0x...',  // Optional override\n});\n```\n\n### Read Operations\n\nThese work without a wallet.\n\n| Method | Description |\n|---|---|\n| `listAllSkills(options?)` | List all registered skills from on-chain events |\n| `listAllAuditors(options?)` | List all registered auditors |\n| `getAttestations(skillHash)` | Get all attestations for a specific skill |\n| `verify(skillHash, index)` | Verify an attestation's ZK proof on-chain |\n| `getAuditorReputation(commitment)` | Get an auditor's reputation data |\n| `getMetadataURI(skillHash)` | Get the metadata URI for a skill |\n| `listDisputes(options?)` | List opened disputes |\n| `listResolvedDisputes(options?)` | List resolved disputes |\n\n### Write Operations\n\nThese require a wallet via `client.setWallet(walletClient)`.\n\n| Method | Description |\n|---|---|\n| `registerSkill(params)` | Register a skill with a verified attestation |\n| `registerAuditor(commitment, stake)` | Register as an auditor by staking ETH |\n| `addStake(commitment, amount)` | Add stake to an existing auditor registration |\n| `openDispute(skillHash, index, evidence, bond)` | Dispute a skill attestation |\n\n### Prover\n\nGenerate ZK attestation proofs locally.\n\n```typescript\nimport { generateAttestation, loadProofFromFiles } from '@aegisaudit/sdk';\n\n// Generate a proof in-process (requires WASM)\nconst result = await generateAttestation({\n  skillHash: '0x...',\n  auditorSecret: '0x...',\n  score: 85,\n  metadataHash: '0x...',\n});\n\n// Or load a pre-generated proof from files\nconst proof = await loadProofFromFiles('./proof', './vkey');\n```\n\n### IPFS Metadata\n\n```typescript\nimport { fetchMetadata, uploadMetadata } from '@aegisaudit/sdk';\n\nconst metadata = await fetchMetadata('ipfs://Qm...');\n```\n\n### Constants\n\n```typescript\nimport {\n  CHAIN_CONFIG,         // { base, baseSepolia } chain configs\n  REGISTRY_ADDRESSES,   // Registry contract addresses per chain\n  DEPLOYMENT_BLOCKS,    // Block numbers for event scanning\n  MIN_AUDITOR_STAKE,    // 0.01 ETH\n  MIN_DISPUTE_BOND,     // 0.005 ETH\n  REGISTRATION_FEE,     // 0.001 ETH\n} from '@aegisaudit/sdk';\n```\n\n## Configuration\n\nThe `AegisConfig` type:\n\n```typescript\ninterface AegisConfig {\n  chainId: number;           // 84532 (Base Sepolia) or 8453 (Base)\n  rpcUrl?: string;           // Custom RPC URL (defaults to public RPC)\n  registryAddress?: Address; // Override registry address\n}\n```\n\n## Links\n\n- [AEGIS Protocol](https://aegisprotocol.tech)\n- [GitHub](https://github.com/aegis-zk/aegisprotocol)\n- [MCP Server](https://www.npmjs.com/package/@aegisaudit/mcp-server)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}