{"_id":"@0gent/core","_rev":"9-2e0996c143b3d5ba53360e072fa4c5b4","name":"@0gent/core","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@0gent/core","version":"0.1.0","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.1.0","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"b1009fc40c0bc155847fc295e6c4d1889c3e3ae2","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.1.0.tgz","fileCount":6,"integrity":"sha512-teFEFOtoubB9pyBjGRD984Q5aNBzz7jcfsuQctqQMfGi6z/oozpubXZbkP/yRiHjEGX5hyQ+43aR41ojkBqW1w==","signatures":[{"sig":"MEYCIQCcmGm/T7sVMG1fzqnUwb9ufqIqohR/dyCCHNEXyFtVSwIhAJcYT0f5SwNCFahVZjy/jSJFMKB8cmvGzhtmb+Jg3PB5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76114},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"a6946ca4683ee55b43bd369bf664837a3a8e2dbf","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.0_1777418354944_0.35783524594106875","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@0gent/core","version":"0.1.1","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.1.1","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"12606a6acada417a86306e27980efc3ebfbde453","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.1.1.tgz","fileCount":6,"integrity":"sha512-QRmV+o/T5Yn01daAYSHh2CE8Y/76RslBpwAWhYhp+F3egVTECH9zCMOKsBzavv0N2sTKwVKMATSO8iK5frLwkA==","signatures":[{"sig":"MEYCIQD4LFyQj1x4wVBfRVtzpLpDbDvYrVj7kx1o7c2qGX4juAIhAMWCdjObYb+V6ktWsWw56BDlSeYyl/FBsTOseWyXXSPk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82651},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"a88fa324f8f4fbbef79841460ca1060c52755b2f","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.1.1_1777423370961_0.6944609665659085","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@0gent/core","version":"0.2.0","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.2.0","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"30c13f244152e5908a94b767cb274ea8b3f1e2c7","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.2.0.tgz","fileCount":6,"integrity":"sha512-zcR22kmLlg0NAfuTfC1JrAKAMjROyCrdV7u4I+PUpK17BYwWmryPzIiKfDapPy8r8Bp2OUzRvBv5uB6UjsKoZA==","signatures":[{"sig":"MEYCIQCeek33sqeXkbE9bCd+z1oyKSpgeTopSccuT6lI6zjCzwIhAIkKDILmgT7bXDqhzr+nmY/AGecRCdxOSsWpBeIOTMZ+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89402},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"5010fed16bd1e8361511213f642b0ef325f474ee","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.0_1777477292118_0.00693237659482393","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@0gent/core","version":"0.2.1","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.2.1","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"2ef9af1365ed101aef99b193c85aa4a23df00804","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.2.1.tgz","fileCount":6,"integrity":"sha512-Chk/OiKCba7TdVAdUkrc+PHin+ilM+8xVqRd1fm0eii57FsfRGnhwQQXubmacJnb8g4RDWbj5Kha19xE7wW7cw==","signatures":[{"sig":"MEYCIQC+wEatskjn/IcZclqlFp+v8yzPgrGWpqUuomWZ7YntggIhANvUIfzqz8Y4EyPBCfzsjcagfvAOZttSzVAUm+E1fAye","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89687},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"5010fed16bd1e8361511213f642b0ef325f474ee","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.1_1777477441075_0.9556479167643595","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@0gent/core","version":"0.2.2","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.2.2","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"2e6287677e5c9aab49e680a239155f633294490e","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.2.2.tgz","fileCount":6,"integrity":"sha512-QQ0GHBsnwEa9gg1r6CH2gXLOqMG48/YHR6rXcM7qU7/zRisvAlafJK8yND3k/U6S9cfKi640e4Edx6M4upCqmg==","signatures":[{"sig":"MEUCIGavVXQOdvQlCNFH3Vq+YTbHEwIDcUCCP7GAJxW3+JusAiEA6PecoCu295ui+1o3Iq6d3ae38DkClT5Q0jQ+BZ0+DzI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97150},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"2953f77e48acb82d6724a406dd6df6e2028b38bb","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.2_1777548628024_0.10549946007923028","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@0gent/core","version":"0.2.3","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.2.3","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"9695389f429a1d2658f92959c019a45885cd8e2b","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.2.3.tgz","fileCount":6,"integrity":"sha512-oe0x0nGlS+rCXEdsiLP8M6hxD4FSQ50iXhWuWWL9hzoNxqGL1gCdQTqpLlWwUQ3S4pyYH91ajlCLZkMJxNdcpQ==","signatures":[{"sig":"MEUCICsfB6TbSOwSFe6yhBfzZRnl6hJvVVIJL9mP/oqCStikAiEA6NH+glffsAVerCsCJh3h2PO7iJnjtZN8gm/kAPh/4yE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99120},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"07ade26f25fce4622cb72e1ff0d8365e17100dac","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.3_1777550420681_0.5553984791302244","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@0gent/core","version":"0.2.4","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.2.4","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"f12a73700b5bbb4fa07f980f40731745842daef7","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.2.4.tgz","fileCount":6,"integrity":"sha512-5+W5O8ijeLcCeomGSDwUxWoDeJ55G3thjWdTkUCyA4IGG0GDDf+Aznpfg04ErQgrOHUA3jXZt/m3MitXjDPfTg==","signatures":[{"sig":"MEYCIQCYf1DoaKwLO9M8FJxWluNuN6r0iCWyHO0ScWD5fL4LjwIhAMW5/3vLxZ3v69kmqFoT1s9B0iHVvUSBhYHvIoqBvfj+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102353},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"d6b03be88b1534fae73ba0baa216e1dce101ffc8","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.4_1777551797521_0.6085870281659098","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@0gent/core","version":"0.2.5","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","_id":"@0gent/core@0.2.5","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"homepage":"https://github.com/martinvibes/0gent#readme","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"bin":{"0gent":"dist/cli.js"},"dist":{"shasum":"5eb40a27d9649b204c851663b9475165ef05cf9a","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.2.5.tgz","fileCount":6,"integrity":"sha512-7w3FJLyqaNbxLNcDoTbhH7OtZN/3ktPlZ7d9onrJZgzby1YQ5kSnegnCqPuIyYGcx3gEuy2xMCmiRqYeDLdSLQ==","signatures":[{"sig":"MEUCIQDVgHxsbPv+IRjsRgA+JFppU0sLoGxwwJiFLrfJY5fUrwIgSD5MRKLuj5fAmRjVs0rBdnP1QVJIaho7kKPuNDDw4rM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":102669},"main":"./dist/sdk.js","type":"module","types":"./dist/sdk.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/sdk.d.ts","import":"./dist/sdk.js"}},"gitHead":"4d57fd83f21f4bf6cecb0613decf0a86379cfcec","scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"repository":{"url":"git+https://github.com/martinvibes/0gent.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.2","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.1","bip39":"^3.1.0","chalk":"^5.3.0","ethers":"^6.13.0","inquirer":"^9.2.15","commander":"^12.1.0","cli-table3":"^0.6.5","qrcode-terminal":"^0.12.0","@0gfoundation/0g-ts-sdk":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.7.3","@types/node":"^22.0.0","@types/inquirer":"^9.0.7","@types/qrcode-terminal":"^0.12.2"},"_npmOperationalInternal":{"tmp":"tmp/core_0.2.5_1777574767537_0.36202118662393046","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@0gent/core","version":"0.3.0","description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","type":"module","bin":{"0gent":"dist/cli.js"},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","exports":{".":{"import":"./dist/sdk.js","types":"./dist/sdk.d.ts"}},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/martinvibes/0gent.git","directory":"packages/core"},"engines":{"node":">=18.0.0"},"dependencies":{"@0gfoundation/0g-ts-sdk":"^1.2.1","bip39":"^3.1.0","chalk":"^5.3.0","cli-table3":"^0.6.5","commander":"^12.1.0","ethers":"^6.13.0","inquirer":"^9.2.15","ora":"^8.0.1","qrcode-terminal":"^0.12.0"},"devDependencies":{"@types/inquirer":"^9.0.7","@types/node":"^22.0.0","@types/qrcode-terminal":"^0.12.2","tsup":"^8.0.0","typescript":"^5.7.3"},"_id":"@0gent/core@0.3.0","gitHead":"4b80a401b154321876f89f5d8baedf76db195a5f","bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"homepage":"https://github.com/martinvibes/0gent#readme","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-myHcsL1galp9BPjQRwG/tvuwTFE95zX4C/PanzZPOnsbEOZp78qpbrUIG8IsgwYoA7mztN/1qLnEYDNIGN5fDA==","shasum":"a62d102e9a5f24a128cf0e750bdf6d3c3c25c8d0","tarball":"https://registry.npmjs.org/@0gent/core/-/core-0.3.0.tgz","fileCount":6,"unpackedSize":112814,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCHvkJDfLQZu4taby5Pal7O7v8yoY/gTcQvO9BeTHfragIgHX7NSYt8kuuoPvXZmCnRnlwvD1oz5n739rhuqQ+ddfI="}]},"_npmUser":{"name":"martinvibes","email":"martinmachiebe21@gmail.com"},"directories":{},"maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.3.0_1781880733815_0.8370339070010346"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-28T23:19:14.839Z","modified":"2026-06-19T14:52:14.106Z","0.1.0":"2026-04-28T23:19:15.082Z","0.1.1":"2026-04-29T00:42:51.157Z","0.2.0":"2026-04-29T15:41:32.296Z","0.2.1":"2026-04-29T15:44:01.231Z","0.2.2":"2026-04-30T11:30:28.175Z","0.2.3":"2026-04-30T12:00:20.825Z","0.2.4":"2026-04-30T12:23:17.668Z","0.2.5":"2026-04-30T18:46:07.688Z","0.3.0":"2026-06-19T14:52:13.988Z"},"bugs":{"url":"https://github.com/martinvibes/0gent/issues"},"author":{"name":"0GENT","email":"hello@0gent.xyz"},"license":"MIT","homepage":"https://github.com/martinvibes/0gent#readme","keywords":["0g","0g-chain","ai","agent","agentic","x402","infrastructure","phone","email","wallet","crypto"],"repository":{"type":"git","url":"git+https://github.com/martinvibes/0gent.git","directory":"packages/core"},"description":"Decentralized infrastructure for autonomous AI agents on 0G Chain","maintainers":[{"name":"martinvibes","email":"martinmachiebe21@gmail.com"}],"readme":"# @0gent/core\n\n> The agent-native CLI and SDK for 0GENT — real email inboxes, on-chain identity, and pay-per-call AI inference for autonomous agents on **Celo & 0G Chain**.\n\n[![npm](https://img.shields.io/npm/v/@0gent/core.svg?color=9200E1)](https://npmjs.com/package/@0gent/core)\n[![node](https://img.shields.io/badge/node-%3E%3D18-brightgreen.svg)](https://nodejs.org)\n[![Celo](https://img.shields.io/badge/Celo-42220-FCFF52.svg)](https://celoscan.io)\n[![0G](https://img.shields.io/badge/0G%20Chain-16661-9200E1.svg)](https://chainscan.0g.ai)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n```bash\nnpm i -g @0gent/core\n0gent setup                       # select Celo (default) or 0G Chain\n0gent compute infer \"What can you do for my agent?\"\n```\n\n---\n\n## Table of contents\n\n- [Overview](#overview)\n- [Install](#install)\n- [Quick start](#quick-start)\n- [Status legend](#status-legend)\n- [Command reference](#command-reference)\n  - [Setup & wallet](#setup--wallet)\n  - [Identity](#identity)\n  - [Email](#email)\n  - [Compute (AI inference)](#compute-ai-inference)\n  - [Memory (0G Storage)](#memory-0g-storage)\n  - [Phone & SMS](#phone--sms)\n  - [Utility](#utility)\n- [SDK](#sdk)\n- [How a paid call works](#how-a-paid-call-works)\n- [Security model](#security-model)\n- [Environment variables](#environment-variables)\n- [Troubleshooting](#troubleshooting)\n- [FAQ](#faq)\n- [Links](#links)\n\n---\n\n## Overview\n\n`@0gent/core` is the official client for the 0GENT API at `api.0gent.xyz`. One package ships two interfaces:\n\n- **`0gent` CLI** — for terminals and agent pipelines.\n- **`ZeroGent` SDK** — typed TypeScript class importable as `@0gent/core`.\n\n**Identity model.** There are no user accounts. The wallet that signs each x402 payment becomes the owner of the resource it just paid for (an inbox, an NFT, a memory entry). Re-paying from the same wallet proves continued ownership. No API keys, no sessions.\n\n**Payments.** **USDC** on **Celo** (chain ID 42220) or native **0G tokens** on **0G Chain** (chain ID 16661). Celo is the default — select your chain once at setup and never think about it again.\n\n**Custody.** Non-custodial. The seed phrase never leaves your machine. The 0GENT server only ever sees public addresses and verifies payments by reading on-chain events.\n\n---\n\n**Multi-chain.** Pick your chain at `0gent setup`. **Celo** (pay with USDC — the default) or **0G Chain** (pay with 0G tokens). Same wallet, same commands, same services across both chains.\n\n---\n\n## Install\n\n```bash\nnpm i -g @0gent/core\n```\n\nOr run any command without a global install — perfect for one-off agent scripts or CI:\n\n```bash\nnpx @0gent/core compute providers\nnpx @0gent/core phone search --country US --area 415\nnpx @0gent/core compute infer \"Summarise this in 10 words: ...\"\n```\n\nRequires **Node.js ≥ 18**.\n\n---\n\n## Quick start\n\nThe fastest path from zero to a working agent identity with a real inbox, defaulting to **Celo + USDC**:\n\n```bash\n# 1. Generate an encrypted local wallet (BIP-39, AES-256-GCM)\n#    — select Celo (default) when prompted for chain\n0gent setup\n\n# 2. Fund the wallet with USDC on Celo\n#    — prints QR code + funding link; Celo faucet at faucet.celo.org\n0gent wallet fund\n\n# 3. Mint your agent identity NFT — ERC-8004 on Celo ($0.50 USDC)\n0gent identity mint\n\n# 4. Claim a real <name>@0gent.xyz inbox ($2.00 USDC)\n0gent email create --name scout\n\n# 5. Send an actual email ($0.08 USDC)\n0gent email send <inbox-id> --to user@example.com --subject \"Hi\" --body \"from the agent\"\n\n# 6. Ask an LLM, paid in USDC ($0.10 USDC)\n0gent compute infer \"What is Celo in one sentence?\"\n\n# 7. Search real phone-number inventory (free)\n0gent phone search --country US --area 415\n```\n\nEvery paid step is a real on-chain transaction. Every resource is owned by your wallet, recorded in `AgentRegistry.sol`, permanently.\n\n> **Using 0G Chain instead?** Run `0gent setup`, select **0G Chain**, and fund with 0G tokens (free testnet tokens at [faucet.0g.ai](https://faucet.0g.ai)). All commands are identical; prices are quoted in 0G tokens.\n\n---\n\n## Status legend\n\n- ✅ **Live** — wired end-to-end and verified in production at `api.0gent.xyz`.\n- 🟡 **In dev** — code is shipped but the upstream provider isn't credentialed yet; calls return 5xx until it is.\n\n---\n\n## Command reference\n\nPrices below are shown in **USDC** (Celo default). The equivalent 0G Chain prices are noted in parentheses where they differ. All costs are settled at request time via the x402 protocol — one payment per call, no subscriptions.\n\n### Setup & wallet\n\n✅ All wallet operations run **locally**. The seed phrase never touches the server.\n\n| Command | Cost | Notes |\n|---|---|---|\n| `0gent setup` | free | One-time interactive setup. Generates a BIP-39 wallet, encrypts it at `~/.0gent/`, and prompts for chain (Celo is default). |\n| `0gent wallet create [--name N]` | free | Generate an additional BIP-39 wallet locally. |\n| `0gent wallet list` | free | List all locally stored wallets. |\n| `0gent wallet show` | free | Show the active wallet's address. |\n| `0gent wallet use <idOrLabel>` | free | Switch the default payer. |\n| `0gent wallet fund` | free | Print the funding QR code and open the appropriate faucet/bridge link for the active chain. |\n| `0gent wallet export [idOrLabel]` | free | Reveal the mnemonic. **Prints only — never transmits.** |\n| `0gent balance` | free | On-chain balance read for the active wallet (USDC on Celo; 0G tokens on 0G Chain). |\n\n### Identity\n\n| Command | Cost | Status | Notes |\n|---|---|---|---|\n| `0gent identity mint [--name N]` | $0.50 USDC (0.5 0G) | ✅ | Mints an ERC-8004 agent identity NFT on Celo, or ERC-721 on 0G Chain. One per wallet. Metadata pinned on 0G Storage. |\n| `0gent identity show` | free | ✅ | Show your minted token (id, metadataURI, resource count). |\n\n### Email\n\nEnd-to-end: outbound via Resend, inbound parsed by a Cloudflare Email Worker (full MIME via `postal-mime`) and pushed to the backend webhook. All inboxes are `<name>@0gent.xyz`.\n\n| Command | Cost | Status | Notes |\n|---|---|---|---|\n| `0gent email create --name N` | $2.00 USDC (2.0 0G) | ✅ | Provisions `<N>@0gent.xyz` and registers it on-chain. |\n| `0gent email send <id> --to A --subject S --body B` | $0.08 USDC (0.1 0G) | ✅ | Sends a real email via Resend. |\n| `0gent email read <id> [--limit N] [--compact]` | $0.05 USDC (0.05 0G) | ✅ | Card view by default; `--compact` for a dense table. |\n| `0gent email threads <id>` | $0.05 USDC (0.05 0G) | ✅ | List conversation threads for the inbox. |\n\n### Compute (AI inference)\n\n**0G Compute Network** — pay-per-call inference against decentralized model providers (e.g. `qwen/qwen-2.5-7b-instruct`). The 0GENT operator pre-funds a serving-broker ledger; agents reimburse the operator per call via x402, and the broker pays the upstream provider on-chain. Agents do **not** need to maintain their own ledger with the 0G Compute Network.\n\n| Command | Cost | Status | Notes |\n|---|---|---|---|\n| `0gent compute providers` | free | ✅ | Live discovery — table of available providers and models. No wallet required. |\n| `0gent compute status` | free | ✅ | Operator ledger balance + `ready` flag. `ready: true` means inference will succeed. |\n| `0gent compute infer \"<prompt>\" [--model M] [--max-tokens N] [--system \"...\"]` | $0.10 USDC (0.2 0G) | ✅ | Pay-per-call LLM. Returns `{ response, model, provider, usage }` in OpenAI shape. |\n\nSample output on Celo:\n\n```bash\n$ 0gent compute infer \"Reply with one short sentence: what is Celo?\"\n[x402] Paying $0.10 USDC on Celo...\n[x402] Approving USDC spend...\n[x402] Waiting for confirmation (0xa3f1...)\n✓ Inference complete\n\n  ┌─ response ─────────────────────────────────────────\n  │ Celo is a mobile-first EVM blockchain focused on\n  │ financial inclusion using stablecoin payments.\n  └────────────────────────────────────────────────────\n\n  Model:    qwen2.5-7b-instruct\n  Provider: 0xa48f01…7836\n  Tokens:   41 (25 in / 16 out)\n```\n\n### Memory (0G Storage)\n\nAgent memory is stored on [0G Storage](https://0g.ai) — a decentralised storage network — indexed by your wallet address. Reads and writes are free at the API level (storage costs are absorbed by the operator).\n\n| Command | Cost | Status | Notes |\n|---|---|---|---|\n| `0gent memory set <key> <value>` | free | ✅ | Persist arbitrary JSON, indexed by your wallet. |\n| `0gent memory get <key>` | free | ✅ | Read a value by key. |\n| `0gent memory list` | free | ✅ | List keys and 0G Storage root hashes. |\n| `0gent memory delete <key>` | free | ✅ | Remove an entry. |\n\n### Phone & SMS ✅\n\nLive end-to-end on **Telnyx** (verified account, worldwide coverage, messaging profile attached). **Twilio** is also wired as a runtime fallback — switch providers with `PHONE_PROVIDER=twilio`, zero code edits required. Numbers are owned by your wallet and leased for 30 days.\n\n| Command | Cost | Status | Notes |\n|---|---|---|---|\n| `0gent phone countries [--region <name>]` | free | ✅ | List the 50 curated supported countries; full upstream inventory is 170+. |\n| `0gent phone search [--country US] [--area 415]` | free | ✅ | Real upstream inventory. Country aliases (`UK→GB`, `USA→US`, full names) resolve automatically. |\n| `0gent phone provision [<phoneNumber>] [--country US]` | $3.00 USDC (6.0 0G) | ✅ | Pass an E.164 number to purchase that exact number, or `--country` to grab the first available. CLI pre-validates E.164 format before any payment. |\n| `0gent phone sms <phoneId> --to +1... --body \"...\"` | $0.10 USDC (0.1 0G) | ✅ | End-to-end SMS delivery verified. Pre-flight catches To==From, missing fields, and invalid E.164 **before** x402 charges. |\n| `0gent phone logs <phoneId>` | free | ✅ | Reads local DB; provider-agnostic. |\n\n### Utility\n\n| Command | Cost | Notes |\n|---|---|---|\n| `0gent list` | free | All on-chain resources owned by your wallet. |\n| `0gent skill` | free | Print the live `skill.md` from the API — the LLM-readable capability manifest. |\n| `0gent pricing` | free | Live price table from `/pricing`. |\n| `0gent health` | free | API + chain status. |\n| `0gent doctor` | free | Diagnose your setup (config, wallet, RPC, contracts). Non-zero exit if anything fails. |\n\n---\n\n## SDK\n\nInstall as a library dependency (not global):\n\n```bash\nnpm i @0gent/core\n```\n\n```ts\nimport { ZeroGent } from '@0gent/core';\n\n// Generate a fresh wallet locally — no network call.\nconst wallet = ZeroGent.createWallet('my-agent');\n// → { name, address, mnemonic, privateKey, createdAt }\n\n// Construct a client. It auto-pays x402 challenges using your private key.\n// chain defaults to Celo (42220); pass chain: 16661 to use 0G Chain.\nconst z = new ZeroGent({\n  privateKey: wallet.privateKey,\n  api: 'https://api.0gent.xyz',                          // optional\n  onPaymentStatus: (msg) => console.log('[pay]', msg),   // optional progress hook\n});\n\n// ── Free reads ───────────────────────────────────────\nawait z.health();\nawait z.balance();\nawait z.pricing();\n\n// ── Identity (paid) ──────────────────────────────────\nconst id = await z.identityMint('support-bot');    // $0.50 USDC on Celo\n\n// ── Email (paid) ─────────────────────────────────────\nconst inbox = await z.emailCreate('support');      // $2.00 USDC on Celo\nawait z.emailSend(\n  inbox.id,\n  'user@example.com',\n  'Receipt',\n  'Thanks for your order.'                         // $0.08 USDC on Celo\n);\nconst messages = await z.emailRead(inbox.id);      // $0.05 USDC on Celo\n\n// ── Compute (free reads + paid inference) ────────────\nconst providers = await z.computeProviders();      // free\nconst status    = await z.computeStatus();         // free\nconst reply     = await z.computeInfer(            // $0.10 USDC on Celo\n  'What is Celo in one sentence?',\n  { maxTokens: 80 }\n);\n// reply: { response, model, provider, usage }\n\n// ── Memory (free) ────────────────────────────────────\nawait z.memory.set('last_conv', { user: 'alice', topic: 'pricing' });\nconst m = await z.memory.get('last_conv');\n\n// ── On-chain reads (free) ────────────────────────────\nconst resources = await z.listResources();\n```\n\n---\n\n## How a paid call works\n\nThe following diagram shows what happens when an agent calls `z.computeInfer(...)`. Every other paid endpoint follows the same flow.\n\n```\n1. Agent       z.computeInfer('what is Celo?')\n                    │\n2. Server      ▶ 402 Payment Required\n                    \"pay $0.10 USDC to ZeroGentPayment.pay(nonce, 'compute-infer')\"\n                    │\n3. SDK         ▶ approves USDC spend (ERC-20 approve), then calls ZeroGentPayment on\n                    Celo or 0G Chain, waits for on-chain confirmation\n                    │\n4. Server      ▶ reads PaymentReceived event for that nonce → verified\n                    │\n5. Server      ▶ broker.inference.getRequestHeaders(provider, body) → signed headers\n                    │\n6. Server      ▶ POST {provider}/chat/completions with broker headers\n                    │\n7. Provider    ▶ qwen-2.5-7b returns OpenAI-format completion\n                    │\n8. Agent       ◀ { response, model, provider, usage }\n```\n\nThree contracts are deployed on both **Celo (42220)** and **0G Chain (16661)**:\n\n- `ZeroGentPayment` — receives x402 payments; nonce-based replay protection\n- `AgentRegistry` — tracks resource ownership per wallet address\n- `ZeroGentIdentity` — ERC-8004 agent NFT on Celo / ERC-721 on 0G Chain; metadata on 0G Storage\n\n---\n\n## Security model\n\n| Question | Answer |\n|---|---|\n| Where are my keys stored? | Locally at `~/.0gent/`, encrypted with **AES-256-GCM**, key derived via PBKDF2 (200 000 iterations) from your passphrase. |\n| Can the 0GENT server spend my funds? | **No.** It only sees your public address. Every payment is signed locally by the SDK before broadcast. |\n| Can I run my own backend? | Yes. Pass `api: 'https://your-host'` to `ZeroGent` or set `OGENT_API`. |\n| Replay protection? | On-chain. Each x402 payment includes a unique nonce, enforced in `ZeroGentPayment.sol`. The same nonce cannot be reused. |\n| What if I lose my mnemonic? | Same as any self-custody wallet — funds are unrecoverable. Save the mnemonic when `0gent setup` shows it. |\n| What data does the server store? | Resource metadata (inbox address, NFT token ID, etc.) in SQLite. No message content is stored server-side beyond forwarding. |\n\n---\n\n## Environment variables\n\n| Variable | Purpose | Default |\n|---|---|---|\n| `OGENT_API` | Override the API endpoint | `https://api.0gent.xyz` |\n| `OGENT_CONFIG_DIR` | Override wallet and config location | `~/.0gent` |\n| `OGENT_WALLET_PASSPHRASE` | Skip the passphrase prompt (CI / agent runtimes) | — |\n\n---\n\n## Troubleshooting\n\n```bash\n0gent doctor\n```\n\n`doctor` walks every subsystem (config, wallet, RPC, contracts) and prints a pass/fail line per check. Exits non-zero if anything is broken — safe to gate CI on.\n\n**Common issues:**\n\n- **`No wallet configured`** — Run `0gent setup` first. (`0gent compute providers` and `0gent compute status` are exceptions — they work without a wallet.)\n- **`HTTP 503: 0G Compute ledger not yet funded`** — The operator backend hasn't deposited into its broker ledger. Check `0gent compute status`; if `ready: false`, inference is temporarily offline.\n- **`Insufficient balance` on a paid call** — On **Celo**, fund your wallet with USDC (bridge from Ethereum at [app.celo.org](https://app.celo.org) or use a CEX). On **0G Chain**, fund with 0G tokens; free testnet tokens at [faucet.0g.ai](https://faucet.0g.ai).\n- **Slow `[x402] Waiting for confirmation`** — Block times on Celo are ~5s; on 0G Chain ~3s. Longer delays usually indicate RPC pressure. The SDK auto-retries.\n- **`USDC approve failed`** — Make sure the USDC contract address for Celo is correct. `0gent doctor` validates this automatically.\n\n---\n\n## FAQ\n\n**Does it work on Celo?**\nYes — Celo is the **default chain**. Run `0gent setup`, select Celo (or just press Enter), and fund with USDC. All commands work identically. Prices are in USDC.\n\n**Is this real or a simulation?**\nReal. Real on-chain payments. Real emails delivered. Real LLM completions returned. Running on Celo mainnet and 0G mainnet.\n\n**What if I lose my mnemonic?**\nSame as MetaMask, same as any self-custody wallet. Save it when `0gent setup` shows it. There is no reset or recovery mechanism.\n\n**Can I use this on 0G mainnet?**\nYes — 0G mainnet (chain 16661) is fully supported. Free testnet 0G is available at [faucet.0g.ai](https://faucet.0g.ai) if you want to experiment without real tokens.\n\n**My agent is a Python script — can I use this?**\nThe CLI is Node-based, but every paid action is just HTTP + an EVM signature. The skill catalog at [`https://api.0gent.xyz/skill.md`](https://api.0gent.xyz/skill.md) documents the full raw HTTP API. Any language with an EVM-compatible signing library (ethers, web3.py, viem, etc.) works.\n\n**How does the server verify my payment?**\nBy reading `PaymentReceived` events from `ZeroGentPayment` on-chain, matching the nonce you signed in the x402 challenge. No cookies, no API keys, no sessions — the chain is the source of truth.\n\n**Why not USDC on 0G Chain?**\n0G Chain doesn't have native USDC, so payments there use the native 0G token. On Celo, USDC is natively available and widely held — so Celo payments use USDC, which is why Celo is the default.\n\n**Why ERC-721 (0G Chain) vs ERC-8004 (Celo)?**\nOn Celo we implement ERC-8004 agent identity. On 0G Chain we use vanilla ERC-721 (ERC-7857 wasn't in 0G's docs when we shipped). Both store metadata on 0G Storage. Migrating the 0G contract later is a one-contract swap.\n\n**Can I have multiple wallets / agents?**\nYes. Use `0gent wallet create` to generate additional wallets and `0gent wallet use` to switch between them. Each wallet has its own set of owned resources.\n\n---\n\n## Links\n\n- 🌐 Site — [0gent.xyz](https://0gent.xyz)\n- 📘 Skill manifest (LLM-readable) — [api.0gent.xyz/skill.md](https://api.0gent.xyz/skill.md)\n- 📦 Source — [github.com/martinvibes/0gent](https://github.com/martinvibes/0gent)\n- 🔗 Celo explorer — [celoscan.io](https://celoscan.io)\n- 🔗 0G explorer — [chainscan.0g.ai](https://chainscan.0g.ai)\n- 💧 Free testnet 0G — [faucet.0g.ai](https://faucet.0g.ai)\n- 🏆 Built for the [0G APAC Hackathon](https://www.hackquest.io/hackathons/0G-APAC-Hackathon)\n\n---\n\n## License\n\nMIT © 0GENT\n","readmeFilename":"README.md"}