{"_id":"@atheon-inc/codex","_rev":"16-192934db7869ee74e3adb00badf1c777","name":"@atheon-inc/codex","dist-tags":{"latest":"1.1.5"},"versions":{"0.1.2":{"name":"@atheon-inc/codex","version":"0.1.2","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"ghanekarsaurabh8@gmail.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@0.1.2","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"dist":{"shasum":"18b2e5e93ec4863651eef5c012f191f0efa22e82","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-0.1.2.tgz","fileCount":12,"integrity":"sha512-v4Tf67q/rDfakPQ68VVKoPP7w3HRimkVPZOBd6KEx/YmXVd+Kn5ebeCPsDu1jRQ8lj5D2hjJurCTpaqDlPGFVw==","signatures":[{"sig":"MEYCIQDJCrgx3nMXtHQBY4fxkNKgRCYFomZd4zQjY1fXOsawggIhAO7ozUC2WoE0GaijOV4TEni+F8sRfdJydAnqPvEGQpBW","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":45626},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"43fd87e60c3e2dddfbf7d03835f9302787dba53d","scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"},"_npmVersion":"11.3.0","description":"Javascript SDK for Atheon Advertisement Services","directories":{},"_nodeVersion":"24.2.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.9","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/codex_0.1.2_1755234868206_0.3265671484628596","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@atheon-inc/codex","version":"0.1.4","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"ghanekarsaurabh8@gmail.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@0.1.4","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"28fb535b96fe1a03abc1e2631bbb83960dd4d3d2","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-0.1.4.tgz","fileCount":11,"integrity":"sha512-CqhQKmpb1jhiAd2cSc+6KoK3qc3rd5cOLZu/QenYpGCRwSlFarITcNIB0uVrcMoIH/VUFCqNhyiufYTeHuGF/g==","signatures":[{"sig":"MEYCIQDdIcrBW9EV/eR6gFo7YN3W4VovqFcQ8Rtw5iq7QK7DxwIhALSjPLPYoWj9XpperkiwjAYRAFGiVo1LtWNRBPs7dW2+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36338},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"_npmVersion":"11.5.2","description":"Javascript SDK for Atheon Advertisement Services","directories":{},"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.9","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/codex_0.1.4_1755550385433_0.8597932543199585","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@atheon-inc/codex","version":"0.1.5","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"ghanekarsaurabh8@gmail.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@0.1.5","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"92157785a0177c32a4434f4c4f93f5b2a67d6664","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-0.1.5.tgz","fileCount":11,"integrity":"sha512-6jxt94+KdSfbfQxgHjfwd9hQ26nhX+8p3VtRfxLxwKNiCg95pJfpbzUozBngioPzfb4hErTjW7QL3rm3htRmpg==","signatures":[{"sig":"MEQCIB6ZrTD2Drd7KvljVlkKAAQMwPNW1ic8P5+KF17Ibmu8AiBIK/1VbPwby/ludleh5fatwf4t30nIjuO5jAX046EWAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":36663},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"_npmVersion":"11.6.1","description":"Javascript SDK for Atheon Advertisement Services","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.9","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/codex_0.1.5_1759947328567_0.19030823253597196","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@atheon-inc/codex","version":"0.2.0","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"ghanekarsaurabh8@gmail.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@0.2.0","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"0c6cd97196be1a75e45d690f4ae7e2a34dfa7202","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-0.2.0.tgz","fileCount":11,"integrity":"sha512-BuIIIMUcaztbVgAXir+ElB/eJ6so3YbKuUOVWep0XXfmNPkYU7rR1GAwm0SDu9ehUXOPwrcbbi2kAgJs+slobQ==","signatures":[{"sig":"MEQCIEJdyWOjjpK/NrhFu8JDvzkaHO0w3xYMliXdneILB3GpAiBKD38eREVGY4y1Q/hfW+uhoOTwkUdlCnuUGmRnPqQk/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38892},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"_npmVersion":"11.6.2","description":"Javascript SDK for Atheon Advertisement Services","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.9","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/codex_0.2.0_1762283698317_0.40023596486934077","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@atheon-inc/codex","version":"0.3.0","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"ghanekarsaurabh8@gmail.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@0.3.0","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"f100bc842b4d368d66f735de2a82f81793faac2d","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-0.3.0.tgz","fileCount":11,"integrity":"sha512-/UQWfgJXFSYeZJUgDaijR9fYHO+kgbZQvUpJaCrLTmy5Da2avpd60TVhnVV54LviwCs6on0w55Y8xPoKVHwuKQ==","signatures":[{"sig":"MEUCIQDNyrO5idVJoPvBX8Boa6/eidcJa3iG26cMe3BQqVNdIgIgGTezW6BLP+MQsKn1VFRULOWGeyHG2JxHsucZo8KYiNc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33103},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"_npmVersion":"11.6.2","description":"Javascript SDK for Atheon Advertisement Services","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.9","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/codex_0.3.0_1763394641874_0.5197128436672735","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@atheon-inc/codex","version":"0.3.1","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"ghanekarsaurabh8@gmail.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@0.3.1","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"9a182c278d94617241b81fe43785b3bb9d9f6236","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-0.3.1.tgz","fileCount":11,"integrity":"sha512-hImeHE1ADE8QaasC8OEZY4mUAaSkHrdvZH0AeNZMa8c82Ux0DqzmBP5fKc/ewPLwGwHCR5TwA5T1q1btzdqeOg==","signatures":[{"sig":"MEYCIQDI1bt5RqpsYK+va/Te9dtfFCAIQ0aw0rPbD3tskrc/KwIhALSdKPLdZ67puL+7PMXO4yctVIuQ3BxKKfzYRJRCTHOh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38829},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"_npmVersion":"11.7.0","description":"Javascript SDK for Atheon Advertisement Services","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.9","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/codex_0.3.1_1767671456565_0.2106863461411923","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@atheon-inc/codex","version":"0.4.0","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon.ad"},"license":"Apache-2.0","_id":"@atheon-inc/codex@0.4.0","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"a392f989e56fa0568cf5773641602de2c12dfafd","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-0.4.0.tgz","fileCount":11,"integrity":"sha512-iFjJKrBjstfN8khAVweSszDjj1bNIXAvFMRM9QmIF8siEIt56vJoKDY8/Jt8Dthdlco0SsStsipyt7j7Mf87aQ==","signatures":[{"sig":"MEUCIGj/kjO/EHkAln2kVBjFGg2NIuL3uZmUwdcKtw/NyOthAiEA8sJFUatC7wK+J0jxLTjDpoqm5+67df/2kDu6MFcGjzQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":38414},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"20.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.25.9","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/codex_0.4.0_1772188234960_0.7410281901250748","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@atheon-inc/codex","version":"1.0.0","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon.ad"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.0.0","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"fb3de3d1523d1713873c34c7f2da5c5269c0c694","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.0.0.tgz","fileCount":16,"integrity":"sha512-m1SkYAB2HlfA02KfBi+FANH9BjHCENbcIKBSD3AyY1alqaurbslB7CpOlBdZZ9Yoocuq+R1ROtb978DbCFY64A==","signatures":[{"sig":"MEYCIQDBgScEXQSXQr4PYdtv7MeSOGY+0Gld1BFbyxP1dPKTzQIhAJbOyw/vYE0ROK48aOUCq+0u/gzumwugdnHcROGmNW6g","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":137708},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.12.1","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.0.0_1774830995098_0.4741804279959052","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@atheon-inc/codex","version":"1.0.1","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon.ad"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.0.1","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"095fa9645d69a88691da1e6d7ae13d76bddbff85","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.0.1.tgz","fileCount":16,"integrity":"sha512-y8VZyxkhXZIvoddJUcLhb720Ofivu8T8skrbcVsF6VS6/4TIOhQ7x3eqUTRZVR787ODi4rQuZ7DBq3g6s49YRg==","signatures":[{"sig":"MEUCIDlktcJqxp1W0940KnAyw3zLq7Ikg1AK2DgOtP9eWLIoAiEA/V4i9kMUk2OI7ad1PDLT4s4VIwLG+1BorIMYjdZGZEA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":143789},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.12.1","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.0.1_1774933448780_0.19674064548999826","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@atheon-inc/codex","version":"1.0.2","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon.ad"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.0.2","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"768b58c006a0316a2e4fc200913219d44332da14","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.0.2.tgz","fileCount":16,"integrity":"sha512-eQFI2dsa6tmIV+FQJ1cQACKTI02aVvvteOm83DlviO2t8E/6SfnYe9cj5bCyeIs6sOejwimp/wNQXNRBu23XdQ==","signatures":[{"sig":"MEYCIQCNl3NKY4UU1E3X63Y3+km9AMrKDVsYZTR2XMmv3kqPLAIhAMSCja2H2J9xyP/samFT/VeXgsownwrn98bRJqme390q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":147046},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.12.1","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.0.2_1775328243220_0.46377412590430556","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@atheon-inc/codex","version":"1.1.0","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon.ad"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.1.0","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"df1a3958e16a2d2553c2b261dff33f2d821852ae","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.1.0.tgz","fileCount":16,"integrity":"sha512-7InqpEHULRlt+t021aSYKvQOQSvk+37VWLUd7BLMc4FJXMHkMtdISAmY4R0yaxudjn16woDUqcUdLhH/80AqdA==","signatures":[{"sig":"MEUCIFBKOMRxul633LvJm8DhcaFixcwn4p4DXhl55pEZuJGcAiEAuWhU+095fuckhVxrd55mMoxEhNNSX6AFagnqiHRHkY0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":150058},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.17.0","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.1.0_1781291073654_0.2524242902654028","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@atheon-inc/codex","version":"1.1.1","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon.ad"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.1.1","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"4b95b733b8838f4410a97b0df5262eb55a9151a2","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.1.1.tgz","fileCount":16,"integrity":"sha512-fwOcubx2EaLItZ35H1t/D18rhvuD3DB0nIk7C3E2VhYh5hZWpo0cClL2QZjh39KoblA01nj6vdqlxP7Nr/dMqA==","signatures":[{"sig":"MEQCIAROIlANN3zm+679kxJkzqV7U6KGPcuMpOlygRbwqMDEAiBsQvIa7V3pbwUwga8UdAkTDinbIoKploPQUlw8UI6V+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":154878},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.17.0","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.1.1_1781292952992_0.16379776448609795","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@atheon-inc/codex","version":"1.1.2","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon-inc.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.1.2","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"321e3aaa94991bf85a1c8cfc01af599aac989165","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.1.2.tgz","fileCount":16,"integrity":"sha512-vhqZZUlW3R84Jqpyh0Y4qWUTg4im2fjSPcusypJLnGaJcPK1P9iaeqHeLulr3LS488+hgwvolxaHbVgZqwO96A==","signatures":[{"sig":"MEUCIEuVTCECyvgjRmwTlGOXuO4u3OX4dV/YRquPQ2V79zmJAiEAhIGiwNFMqH8EaS8pV2CVmwHZpKXi+Cv6cmucZPLr/vE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":155626},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.17.0","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.1.2_1781558250742_0.3420755591884439","host":"s3://npm-registry-packages-npm-production"}},"1.1.3":{"name":"@atheon-inc/codex","version":"1.1.3","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon-inc.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.1.3","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"691e10289be44bc9cc701f4db836b949055dc993","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.1.3.tgz","fileCount":16,"integrity":"sha512-uNmoGDpbLaKszx7vXStw3oppitlEc/XKwefeaPuOc/9WhnyuCPBFP4u15DwLhS7t+pZ6XsKqCsKslKTKstjf+g==","signatures":[{"sig":"MEUCIEca4TVDfCNUY3W16rw92hIYoysY4Os+bXuyTdBIZsaUAiEAiAcoDxzc4qLiwdnPUmjPakfmjF9SvOnjvj6oFV4+pX0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":156070},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.17.0","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.1.3_1782266942841_0.615012519121473","host":"s3://npm-registry-packages-npm-production"}},"1.1.4":{"name":"@atheon-inc/codex","version":"1.1.4","keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon-inc.com"},"license":"Apache-2.0","_id":"@atheon-inc/codex@1.1.4","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"dist":{"shasum":"d7189ecfd55dbcd21f1c59409e659db49410a15f","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.1.4.tgz","fileCount":16,"integrity":"sha512-s12Z5BnMTNkdcgrz9F1UBVstUabT5UhQiHIjAlRIdt6joLgEVJWcARjCGEK6ErkH+bKyGYnnjYzwKZbTVztn3g==","signatures":[{"sig":"MEYCIQCynGUC6626mKKyateQ8GuWEnqs1s8Gm2hds92OEF55UgIhAJd/YynvfAGykbZfiKExG7oj47X8jD+3hBYucuFOTL5x","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":156584},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"repository":{"url":"git+https://github.com/atheon-inc/atheon-codex-js.git","type":"git"},"versioning":{"files":["src/index.ts:__version__"]},"_npmVersion":"11.17.0","description":"Javascript SDK for Atheon Analytics Services","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.27","typescript":"^6.0.2","@types/node":"^25.5.0"},"_npmOperationalInternal":{"tmp":"tmp/codex_1.1.4_1782269787974_0.18503355427582258","host":"s3://npm-registry-packages-npm-production"}},"1.1.5":{"name":"@atheon-inc/codex","version":"1.1.5","description":"Javascript SDK for Atheon Analytics Services","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/atheon-inc/atheon-codex-js.git"},"type":"module","main":"./dist/index.cjs","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build":"node build.mjs","prepublishOnly":"npm run build"},"devDependencies":{"@types/node":"^25.5.0","esbuild":"^0.27","typescript":"^6.0.2"},"versioning":{"files":["src/index.ts:__version__"]},"keywords":["atheon","api","sdk"],"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon-inc.com"},"license":"Apache-2.0","types":"./dist/index.d.ts","_id":"@atheon-inc/codex@1.1.5","bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","_nodeVersion":"24.18.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-rMPcpi2Jkcpa+FXoQlZmIJBn+K9F16brUjKQcdzMYazp4Nc1Y+NJdOuzzulunBxIFqLA6yiAVFsajOoHAqP7Jw==","shasum":"afacee1dda468a269802bc819f6b8f997a81edd9","tarball":"https://registry.npmjs.org/@atheon-inc/codex/-/codex-1.1.5.tgz","fileCount":16,"unpackedSize":158073,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@atheon-inc%2fcodex@1.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDo7wXDVFMbkqX0jsb6TdrP83w4WswdByN4xgyZrDMYGQIgcVhnev7KssHDLX3J4HLEWLzRpo17Gs23RiTcYzR0EGQ="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b3f89432-9462-4e8d-b480-2d67a8a2d299"}},"directories":{},"maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/codex_1.1.5_1783635600123_0.44085441148365057"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-15T05:14:28.146Z","modified":"2026-07-09T22:20:00.510Z","0.1.2":"2025-08-15T05:14:28.415Z","0.1.4":"2025-08-18T20:53:05.608Z","0.1.5":"2025-10-08T18:15:28.734Z","0.2.0":"2025-11-04T19:14:58.518Z","0.3.0":"2025-11-17T15:50:42.068Z","0.3.1":"2026-01-06T03:50:56.686Z","0.4.0":"2026-02-27T10:30:35.099Z","1.0.0":"2026-03-30T00:36:35.224Z","1.0.1":"2026-03-31T05:04:08.980Z","1.0.2":"2026-04-04T18:44:03.396Z","1.1.0":"2026-06-12T19:04:33.788Z","1.1.1":"2026-06-12T19:35:53.134Z","1.1.2":"2026-06-15T21:17:30.914Z","1.1.3":"2026-06-24T02:09:02.988Z","1.1.4":"2026-06-24T02:56:28.116Z","1.1.5":"2026-07-09T22:20:00.259Z"},"bugs":{"url":"https://github.com/atheon-inc/atheon-codex-js/issues"},"author":{"name":"Saurabh Ghanekar","email":"saurabh@atheon-inc.com"},"license":"Apache-2.0","homepage":"https://github.com/atheon-inc/atheon-codex-js#readme","keywords":["atheon","api","sdk"],"repository":{"type":"git","url":"git+https://github.com/atheon-inc/atheon-codex-js.git"},"description":"Javascript SDK for Atheon Analytics Services","maintainers":[{"name":"dexter_prim","email":"ghanekarsaurabh8@gmail.com"}],"readme":"# Codex: JavaScript/TypeScript SDK for Atheon\n\nThe Atheon Codex JavaScript/TypeScript SDK library provides convenient access to the Atheon Gateway from any JavaScript/TypeScript SDK application. It includes extensive type definitions, supports modern module systems (ESM & CommonJS), and seamlessly tracks LLM interactions, tools, and sub-agents using built-in async context propagation.\n\n## Installation\n\n```sh\n# install atheon-codex SDK\nnpm install @atheon-inc/codex\n# or\nyarn add @atheon-inc/codex\n# or\npnpm add @atheon-inc/codex\n```\n\n## Quick Start\n\n```typescript\nimport * as atheon from \"@atheon-inc/codex\";\n\nasync function main() {\n  // Initialise once at application startup\n  await atheon.init({ apiKey: process.env.ATHEON_API_KEY! });\n\n  // Track a completed interaction — non-blocking, enqueues in the background\n  const [interactionId, promptHash, fingerprint] = await atheon.track({\n    provider: \"openai\",\n    modelName: \"gpt-4o\",\n    input: \"How can I write blogs for my website?\",\n    output: \"Start by identifying your target audience...\",\n    tokensInput: 18,\n    tokensOutput: 120,\n    finishReason: \"stop\",\n    statusCode: 200,\n  });\n\n  // Pass track response to your frontend: <atheon-container interaction-id=\"...\" prompt-hash=\"...\" fingerprint=\"...\">\n  console.log(interactionId);\n  console.log(promptHash);\n  console.log(fingerprint);\n\n  // Flush and stop the background queue before process exit\n  await atheon.shutdown();\n}\n\nmain();\n```\n\n> **Note:** Get your API key from the [Atheon Gateway Dashboard](https://gateway.atheon-inc.com) under Project Settings. We recommend storing it in a `.env` file using [dotenv](https://github.com/motdotla/dotenv) rather than hardcoding it in source.\n\n## Usage\n\n### Initialisation\n\nCall `atheon.init()` **once** at application startup. All subsequent module-level calls share this global client automatically.\n\n```typescript\nawait atheon.init({\n  apiKey: process.env.ATHEON_API_KEY!,\n  uploadSize: 10,        // events per HTTP batch (default 10)\n  uploadInterval: 1.0,   // seconds between background flushes (default 1.0)\n  maxQueueSize: 10_000,  // max in-memory queue depth (default 10 000)\n});\n```\n\n### Streaming & Multi-Turn: `begin()` / `finish()`\n\nUse `begin()` and `finish()` when the response spans time. Wall-clock latency is measured automatically. Use `contextWith` to automatically bind wrapped tools and agents to this interaction.\n\n```typescript\nconst [interaction, ctx] = atheon.begin({\n  provider: \"anthropic\",\n  modelName: \"claude-sonnet-4-5\",\n  input: \"Summarise our Q3 report\",\n  properties: { agent: \"rag-pipeline\", environment: \"production\" },\n});\n\n// Run your logic inside contextWith to automatically track nested tools/agents\nconst finalText = await atheon.contextWith(ctx, async () => {\n  // ... stream response, call tools, run sub-agents ...\n  return await myComplexLlmLogic();\n});\n\ninteraction.setProperty(\"user_tier\", \"pro\"); // enrich mid-flight\n\nconst [interactionId, promptHash, signedToken] = await interaction.finish({\n  output: finalText,\n  tokensInput: 80,\n  tokensOutput: 220,\n  finishReason: \"stop\",\n  statusCode: 200,\n});\n```\n\n### Tool Tracking: `tool`\n\nWrap any function (sync or async) with `atheon.tool()` to record its name, latency, and errors into the active interaction automatically.\n\n```typescript\nconst search = atheon.tool(\"vector-search\", async (query: string) => {\n  return await db.search(query);\n});\n\nconst rerank = atheon.tool(\"reranker\", async (docs: string[]) => {\n  return await model.rerank(docs);\n});\n```\n\n> `atheon.tool` is a no-op if called outside an active `atheon.contextWith` block — making it completely safe to use unconditionally across your codebase.\n\n### Sub-Agent Tracking: `agent`\n\nWrap LLM-backed sub-agent functions to nest their tool calls and token usage inside the root interaction. Use `atheon.setResult()` inside the agent to log token usage and finish reasons. Everything ships in a single payload when the parent `finish()` is called.\n\n```typescript\nconst ragAgent = atheon.agent(\n  \"rag-pipeline\",\n  \"anthropic\",\n  \"claude-haiku-4-5\",\n  async (query: string) => {\n    const chunks = await search(query); // automatically attaches to ragAgent\n    const response = await llm.messages.create({ /* ... */ });\n    \n    atheon.setResult({\n      tokensInput: response.usage.input_tokens,\n      tokensOutput: response.usage.output_tokens,\n      finishReason: response.stop_reason,\n      statusCode: response.status,\n    });\n    \n    return response.content.text;\n  }\n);\n```\n\n### Direct Client Instantiation\n\nThe module-level helpers are recommended for most applications. If you need multiple isolated clients in the same process, you can instantiate the client directly. Note that `AtheonCodexClient.create` is asynchronous because it performs a security handshake on startup.\n\n```typescript\nimport { AtheonCodexClient } from \"@atheon-inc/codex\";\n\nconst client = await AtheonCodexClient.create({ \n  apiKey: process.env.ATHEON_API_KEY! \n});\n\nconst [interactionId] = client.track({\n  provider: \"openai\", \n  modelName: \"gpt-4o\", \n  input: \"...\", \n  output: \"...\"\n});\n\nawait client.shutdown();\n```\n\n## License\n\nThis SDK is licensed under the **Apache License 2.0**. See [LICENSE.md](LICENSE.md) for details.\n\n## Links\n\n  - [Atheon Documentation](https://docs.atheon-inc.com)\n  - [Gateway Dashboard](https://gateway.atheon-inc.com)\n  - [npm](https://www.google.com/search?q=https://www.npmjs.com/package/%40atheon-inc/codex)\n","readmeFilename":"README.md"}