{"_id":"@agentaos/sdk","_rev":"9-e7f1ff6f1512532d270059d849476d0b","name":"@agentaos/sdk","dist-tags":{"latest":"3.1.0"},"versions":{"0.2.0":{"name":"@agentaos/sdk","version":"0.2.0","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@0.2.0","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"c5872122062ba01dd8436efddc839b05c2f6fbfa","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-0.2.0.tgz","fileCount":39,"integrity":"sha512-r/Voir7eKOl4LmS7/T3FBtpG4aOJnw4ycKW7Mv7kZCqQbyURM92xVCyojAtJQ04n4XHuNjbRw6Ndbj2f7/atUQ==","signatures":[{"sig":"MEUCIGTIAZDF98ClJBl8Mzw9Li8O8Ka0EN7PoH/yWcZ7s4cbAiEAlNT2y2C73tosJpKv1qU7uVoO3AW4JO2Yio93GWK+nUU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152635},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/3ee13d0cebf30048033b198b371e1faf/agentaos-sdk-0.2.0.tgz","_integrity":"sha512-r/Voir7eKOl4LmS7/T3FBtpG4aOJnw4ycKW7Mv7kZCqQbyURM92xVCyojAtJQ04n4XHuNjbRw6Ndbj2f7/atUQ==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.4","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@agentaos/core":"0.2.0","@agentaos/engine":"0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.0_1772467521569_0.4380292938204895","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@agentaos/sdk","version":"0.2.1","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@0.2.1","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"1f0b14744feb58ab8db842fcc4a1b1e9bf9ac877","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-0.2.1.tgz","fileCount":39,"integrity":"sha512-zieGiaZQzfzEHNzRNN06Cw/Ruo6Qrowb/kBKmdsrs9besowjoJFtgOU45csRgcNigGRqqRcFadK+yuOwIew+WA==","signatures":[{"sig":"MEQCICZyMBycndDENwGLKdTA5cTiwI/0foAdmv1Xwvt9x3NVAiB6SZgSuLPEQbVAAZRwqW4ur3HQsWAQqqtZ9ppUciiSyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152635},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-0.2.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/0b26a47b5ddfc4f1ef0cad8e3f10b6dd/agentaos-sdk-0.2.1.tgz","_integrity":"sha512-zieGiaZQzfzEHNzRNN06Cw/Ruo6Qrowb/kBKmdsrs9besowjoJFtgOU45csRgcNigGRqqRcFadK+yuOwIew+WA==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.4","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.22.0","dependencies":{"@agentaos/core":"0.2.1","@agentaos/engine":"0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_0.2.1_1772478367195_0.3998325637278177","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@agentaos/sdk","version":"1.0.0","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@1.0.0","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"7f2734b447a58eb70ce3a2742711ac5a17377c3b","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-1.0.0.tgz","fileCount":39,"integrity":"sha512-nd8AFQk5LUc4JXIIproEBKrWFjOoTNtmI60XPFciGwAzmxfNGrMBrYrPQDo+inrQyqujIFURtrOH3KP2g9PAHA==","signatures":[{"sig":"MEUCIBpRMNZ833+HxE6R/TVSO/PkmNXWwAGqAFR8w3mVwQYbAiEA9h1OrRQ3HBFVOJZ6cA2pXZ+jfkRtfI7r0+7lKvj3+NE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152635},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-1.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/c02a43c9011f80122613e517d9d3c8a2/agentaos-sdk-1.0.0.tgz","_integrity":"sha512-nd8AFQk5LUc4JXIIproEBKrWFjOoTNtmI60XPFciGwAzmxfNGrMBrYrPQDo+inrQyqujIFURtrOH3KP2g9PAHA==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.4","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@agentaos/core":"1.0.0","@agentaos/engine":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.0_1774482546156_0.8851906459489542","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@agentaos/sdk","version":"1.1.0","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@1.1.0","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"d8c0e7051604ddeade4c2edbc21102ee58ead8a5","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-1.1.0.tgz","fileCount":39,"integrity":"sha512-XwfBJU+LF+rn6btoPIrZipiw5QmJ5wOOdzdtToXlnk3g8Z2hRF+xweKfjuxilLNAU4lL1Sxzg3v4oxxvJv4DXQ==","signatures":[{"sig":"MEQCIDV2f/CyXIUTJBrryBZG+6lmaZy5YoA28GoFwAVGMBjFAiBX/1k9NE4RSbWPS7vTKztG8mpBvAtc7u1h7m0qScZXjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152635},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-1.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/4beef07a71e958cfd89fcddb12064889/agentaos-sdk-1.1.0.tgz","_integrity":"sha512-XwfBJU+LF+rn6btoPIrZipiw5QmJ5wOOdzdtToXlnk3g8Z2hRF+xweKfjuxilLNAU4lL1Sxzg3v4oxxvJv4DXQ==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.4","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@agentaos/core":"1.1.0","@agentaos/engine":"1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.0_1774521569353_0.19964795778818978","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@agentaos/sdk","version":"1.1.1","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@1.1.1","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"198bb05c809592fe702183f784311b48b90e16cf","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-1.1.1.tgz","fileCount":39,"integrity":"sha512-sRvCAFXySLjTNJzAUzWnt9UKVVH0+HQnaqpQLV+ZcW23f3nRzUmRB3eBfXJroMyVlWvI/GCiIUz7XGagXWoqxA==","signatures":[{"sig":"MEQCIDxEMP6JoKauQTSutZOYdDSPp5f+OGAhHEBtH1umEILqAiBSst1XnRc74MH9kJe0ZW4dj0BKm8y1Ic3PgUz/0tPO/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152635},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-1.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/80a8eb110fa6bfd8c13eed71293fcdc8/agentaos-sdk-1.1.1.tgz","_integrity":"sha512-sRvCAFXySLjTNJzAUzWnt9UKVVH0+HQnaqpQLV+ZcW23f3nRzUmRB3eBfXJroMyVlWvI/GCiIUz7XGagXWoqxA==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.4","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.22.1","dependencies":{"@agentaos/core":"1.1.1","@agentaos/engine":"1.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.1_1774641795911_0.9272551397515578","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@agentaos/sdk","version":"1.2.0","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@1.2.0","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"198916971c2807e99bec632ed48e9bae34a203d5","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-1.2.0.tgz","fileCount":39,"integrity":"sha512-iZfXhniGd1aGXxog7TuE+eML2/YFWmsUumsy1nnEjgK8sR60xPkVtRnQntDZCOf5I5TOEkkTWxvTFkqIYgwx1g==","signatures":[{"sig":"MEUCIBDoWZ5hXSaHTA6/U4ToEoG0vl69Qp4JHEZS7tjOSK/UAiEA3a5m5cVD5GyU7fcS0O2n7vesydm491N3/+D2yxvOSfA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":152635},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-1.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/d4c3cfe0190bfd0a3491ab15ae1c3bf1/agentaos-sdk-1.2.0.tgz","_integrity":"sha512-iZfXhniGd1aGXxog7TuE+eML2/YFWmsUumsy1nnEjgK8sR60xPkVtRnQntDZCOf5I5TOEkkTWxvTFkqIYgwx1g==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.7","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@agentaos/core":"1.2.0","@agentaos/engine":"1.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.2.0_1775640346082_0.008299431307395855","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@agentaos/sdk","version":"2.0.0","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@2.0.0","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"e05145112bca6dd35872d8dc2f8dd3158bfbaa76","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-2.0.0.tgz","fileCount":27,"integrity":"sha512-AyHCICVvoQORrrzLLcTC36+htwfx9pHwV3TjcPoKPZtymtcMC4rGhdR5crO42Lx/L7CyFrJOq5TGfuyRH+KEoA==","signatures":[{"sig":"MEUCIQCGjEI7HkuqKXP/iTafvYaW2V2yKuM3ip9ah3NThvjrUAIgXhLnjnKG4kc1XMruGM6UcMOC3b5nerWh+8Fe/4Pvoo0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99709},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-2.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/40c1b53c1eb8c52f1523c9456b78df32/agentaos-sdk-2.0.0.tgz","_integrity":"sha512-AyHCICVvoQORrrzLLcTC36+htwfx9pHwV3TjcPoKPZtymtcMC4rGhdR5crO42Lx/L7CyFrJOq5TGfuyRH+KEoA==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.8","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@agentaos/core":"2.0.0","@agentaos/engine":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.0_1786455858247_0.3684368009239054","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@agentaos/sdk","version":"3.0.0","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","_id":"@agentaos/sdk@3.0.0","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"homepage":"https://github.com/AgentaOS/agentaos","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"4abcd5e1db4943e8925a6096d461ed447af89101","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-3.0.0.tgz","fileCount":27,"integrity":"sha512-akFGbjbvH0lcR7CnODv2+8HdzQy4MP8Ap2R7DRXXZ7T8qm+Ae0tAIQ4iLGc3ZBOBgX/MKkJOk1HObWGiCZEMZQ==","signatures":[{"sig":"MEUCIQCLMsSrB2I1bJ474+BSZ/+Zl30uH2to35nOcqbnVntpCgIgJgjvQ9ac6s1bPkhcJbq6ooR1gPSo8jbXELOcsW1pB5o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEaS3Uw4qtemirzXnfBfGlqaPL2l85CSZ/S2Omjze4EDAiEA3ddxYLgRRHXoixtf/01m26bZotbcU0erRNU4oKzeiog=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99709},"main":"./dist/index.js","type":"module","_from":"file:agentaos-sdk-3.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"_resolved":"/tmp/955ebbafce5a7ca345c41d52b8a647e2/agentaos-sdk-3.0.0.tgz","_integrity":"sha512-akFGbjbvH0lcR7CnODv2+8HdzQy4MP8Ap2R7DRXXZ7T8qm+Ae0tAIQ4iLGc3ZBOBgX/MKkJOk1HObWGiCZEMZQ==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.8","description":"SDK for threshold signing — the key never exists","directories":{},"_nodeVersion":"22.23.2","dependencies":{"@agentaos/core":"3.0.0","@agentaos/engine":"3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/sdk_3.0.0_1788968250245_0.6604822815942022","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"_id":"@agentaos/sdk@3.1.0","bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"dist":{"shasum":"b41e16469f1d6f5cedf7eaf81a94ec354a30d650","tarball":"https://registry.npmjs.org/@agentaos/sdk/-/sdk-3.1.0.tgz","fileCount":27,"integrity":"sha512-rRTXga+wHYICROckAnBUPa1OYcuOUylChCiG0hycgomVxqgJjv6LzCWWLv8R964mYsCnywOHLOE6yoH0oU15Rg==","signatures":[{"sig":"MEUCIEyd9Bz8rWqbBOKc7EvT3hlP1iB03dd25ipiYRXnkQc2AiEAuY2g4SLAsX9qlK+DAF2xQ8ZB+sHIy/nOoHiubQESjDg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDmZZw6ab9dHIEKTpLUXBFCbMAJoAkgWmewhU7PPSvoVgIgQYA9LG+LEkLojY9vfESr7sFJ+xiP6PuR2M3aUlHz0kU="}],"unpackedSize":99709},"main":"./dist/index.js","name":"@agentaos/sdk","type":"module","_from":"file:agentaos-sdk-3.1.0.tgz","types":"./dist/index.d.ts","author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"engines":{"node":">=20.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"license":"Apache-2.0","scripts":{"lint":"biome check src/","test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"version":"3.1.0","_npmUser":{"name":"panche","email":"panche@agentokratia.com"},"homepage":"https://github.com/AgentaOS/agentaos","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"_resolved":"/tmp/a3dc5c38f0f797e8307101921080549f/agentaos-sdk-3.1.0.tgz","_integrity":"sha512-rRTXga+wHYICROckAnBUPa1OYcuOUylChCiG0hycgomVxqgJjv6LzCWWLv8R964mYsCnywOHLOE6yoH0oU15Rg==","repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"_npmVersion":"10.9.8","description":"SDK for threshold signing — the key never exists","directories":{},"maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"_nodeVersion":"22.23.2","dependencies":{"@agentaos/core":"3.1.0","@agentaos/engine":"3.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^20.0.0"},"peerDependencies":{"viem":"^2.0.0"},"peerDependenciesMeta":{"viem":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_3.1.0_1788975522897_0.8636296701994606"}}},"time":{"created":"2026-03-02T16:05:21.459Z","modified":"2026-09-09T17:38:43.217Z","0.2.0":"2026-03-02T16:05:21.712Z","0.2.1":"2026-03-02T19:06:07.370Z","1.0.0":"2026-03-25T23:49:06.360Z","1.1.0":"2026-03-26T10:39:29.494Z","1.1.1":"2026-03-27T20:03:16.082Z","1.2.0":"2026-04-08T09:25:46.285Z","2.0.0":"2026-08-11T13:44:18.383Z","3.0.0":"2026-09-09T15:37:30.338Z","3.1.0":"2026-09-09T17:38:42.983Z"},"bugs":{"url":"https://github.com/AgentaOS/agentaos/issues"},"author":{"name":"AgentaOS","email":"hello@agentaos.ai"},"license":"Apache-2.0","homepage":"https://github.com/AgentaOS/agentaos","keywords":["threshold","wallet","mpc","ecdsa","sdk","signer","agent","viem"],"repository":{"url":"git+https://github.com/AgentaOS/agentaos.git","type":"git","directory":"packages/signer"},"description":"SDK for threshold signing — the key never exists","maintainers":[{"name":"panche","email":"panche@agentokratia.com"}],"readme":"# @agentaos/sdk\n\n**AgentaOS SDK -- threshold signing where the key never exists.**\n\n[![License: Apache-2.0](https://img.shields.io/badge/License-Apache--2.0-green.svg)](../../LICENSE)\n[![npm](https://img.shields.io/npm/v/@agentaos/sdk)](https://www.npmjs.com/package/@agentaos/sdk)\n[![Node.js](https://img.shields.io/badge/Node.js-20%2B-339933.svg)](https://nodejs.org)\n\nThe TypeScript SDK for [AgentaOS](https://github.com/AgentaOS/agentaos). Sign Ethereum transactions and messages using 2-of-3 threshold ECDSA -- the full private key is never constructed.\n\n## Install\n\n```bash\nnpm install @agentaos/sdk\n# or\npnpm add @agentaos/sdk\n```\n\n## Quick Start\n\n### Using the `Agenta` facade (recommended)\n\n```typescript\nimport { Agenta } from '@agentaos/sdk';\n\nconst agent = await Agenta.connect({\n  apiSecret: process.env.AGENTA_API_SECRET,  // base64 key share\n  apiKey: process.env.AGENTA_API_KEY,         // API key for auth\n});\n\n// Sign and broadcast a transaction\nconst { txHash } = await agent.signTransaction({\n  to: '0x...',\n  value: '0.01',\n  network: 'base-sepolia',\n});\n\nconsole.log(`Transaction: ${txHash}`);\n\n// Query server data\nconst signers = await agent.listSigners();\nconst balance = await agent.getBalance(signers[0].id, 'base-sepolia');\n\n// Always clean up\nagent.destroy();\n```\n\n### Using `ThresholdSigner` directly\n\n```typescript\nimport { ThresholdSigner } from '@agentaos/sdk';\n\nconst signer = await ThresholdSigner.fromSecret({\n  apiSecret: process.env.AGENTA_API_SECRET,\n  apiKey: process.env.AGENTA_API_KEY,\n});\n\n// Sign a transaction\nconst { txHash, signature } = await signer.signTransaction({\n  to: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045',\n  value: '0.001',\n  network: 'base-sepolia',\n});\n\n// Sign a message (EIP-191)\nconst { signature } = await signer.signMessage('Hello AgentaOS');\n\nconsole.log(`Address: ${signer.address}`);\nsigner.destroy(); // wipe key material from memory\n```\n\n### viem Integration\n\n```typescript\nimport { Agenta } from '@agentaos/sdk';\nimport { createWalletClient, http } from 'viem';\nimport { baseSepolia } from 'viem/chains';\n\nconst agent = await Agenta.connect({ ... });\n\nconst client = createWalletClient({\n  account: agent.toViemAccount(),\n  chain: baseSepolia,\n  transport: http(),\n});\n\nconst hash = await client.sendTransaction({\n  to: '0x...',\n  value: 1000000000000000n, // 0.001 ETH\n});\n\nagent.destroy();\n```\n\n## API\n\n### `Agenta` (facade)\n\n| Method | Description |\n|--------|-------------|\n| `Agenta.connect(opts)` | Connect to server, load key share, return initialized instance |\n| `agent.address` | Ethereum address derived from the threshold key |\n| `agent.signTransaction(tx)` | Sign and broadcast a transaction |\n| `agent.signMessage(msg)` | Sign a message (EIP-191) |\n| `agent.toViemAccount()` | Get a viem-compatible account |\n| `agent.listSigners()` | List all signers on the server |\n| `agent.getBalance(id, network)` | Get ETH balance for a signer |\n| `agent.getTokenBalances(id, chainId)` | Get tracked token balances |\n| `agent.listNetworks()` | List supported networks |\n| `agent.getPolicies(id)` | Get signer's policy rules |\n| `agent.getAuditLog(opts?)` | Query the audit log |\n| `agent.simulate(id, tx)` | Simulate a transaction (gas estimate) |\n| `agent.resolveAddress(addressOrEns)` | Resolve ENS name or validate address |\n| `agent.destroy()` | Wipe key material from memory |\n\n### `ThresholdSigner`\n\n| Method | Description |\n|--------|-------------|\n| `ThresholdSigner.fromSecret(opts)` | Load signer from API Secret (base64 key share) |\n| `signer.signTransaction(tx)` | Sign and broadcast |\n| `signer.signMessage(msg)` | Sign EIP-191 message |\n| `signer.toViemAccount()` | viem account adapter |\n| `signer.address` | Ethereum address |\n| `signer.destroy()` | Wipe share from memory |\n\n### `AgentaApi`\n\nLow-level API client for server read operations. Used internally by `Agenta`, but available for advanced use:\n\n```typescript\nimport { AgentaApi, HttpClient } from '@agentaos/sdk';\n\nconst client = new HttpClient({ apiKey: '...' });\nconst api = new AgentaApi(client);\n\nconst health = await api.getHealth();\nconst networks = await api.listNetworks();\n```\n\n## Security\n\n- **The full private key never exists** -- not in memory, not in transit, not ever\n- Key material is wiped from memory on `destroy()` using `buffer.fill(0)`\n- Signing is an interactive multi-round CGGMP24 protocol between your share and the server's share\n- The server enforces policies before co-signing (spending limits, allowlists, rate limits)\n- API key authentication on every request (SHA-256 hash stored server-side)\n\n## Environment Variables\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `AGENTA_API_SECRET` | Base64-encoded key share | Yes |\n| `AGENTA_API_KEY` | API key for authentication | Yes |\n| `AGENTA_SERVER` | Server URL (defaults to `https://api.agentaos.ai`) | No |\n\n## License\n\nApache-2.0 -- see [LICENSE](../../LICENSE).\n","readmeFilename":"README.md"}