{"_id":"@ai0x0/codex-ts","_rev":"22-27c2ec9a435d4dca4278af6d123ce061","name":"@ai0x0/codex-ts","dist-tags":{"latest":"0.9.0"},"versions":{"0.1.0":{"name":"@ai0x0/codex-ts","version":"0.1.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.1.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"7a7498387242a94b0602b6125066e7fb2af0f499","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.1.0.tgz","fileCount":130,"integrity":"sha512-HxP2yQztjIw+CUSrJcMCKxmqCp2dN4AittWdpslUIuQBrF78g3fk5qzqRswAypq8DzaizQNBHbWYVaMeoeasWA==","signatures":[{"sig":"MEYCIQDQwBGmLS4wfuUPcwOyGblp1rqM3xN1wC+mxoy0LlADzAIhAJ6VpqNUYPQe7G28Ih8Lo/CVnZHlHGJRvb9Fr8ZN+L7U","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":189272},"type":"module","_from":"file:ai0x0-codex-ts-0.1.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/b91a00e751b9845acadd2f87c2719371/ai0x0-codex-ts-0.1.0.tgz","_integrity":"sha512-HxP2yQztjIw+CUSrJcMCKxmqCp2dN4AittWdpslUIuQBrF78g3fk5qzqRswAypq8DzaizQNBHbWYVaMeoeasWA==","_npmVersion":"10.9.8","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.1.0_1780541423727_0.9529781174857959","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ai0x0/codex-ts","version":"0.2.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.2.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"ecd6965841548d2bd005677da8b57d52ad27c6eb","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.2.0.tgz","fileCount":166,"integrity":"sha512-hqfKy8e+6dgzufEIk8+jncpHY3c5B5wgz50gBDaaBe82OKg5WiMg6x5WT6iDKX9fR28q/KcjLKBr+9wcaEnx/g==","signatures":[{"sig":"MEUCIQC0uMrjaKakT+xmkDNQweev6I2q6CQBOpS7RUBbQPvtIgIgadibieiPnqTXC+kgvugR4xMWkg3ZN5C0p9ZMX+0Ca0c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":334830},"type":"module","_from":"file:ai0x0-codex-ts-0.2.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/41a70beb8eeb60a81bffc6068ede4498/ai0x0-codex-ts-0.2.0.tgz","_integrity":"sha512-hqfKy8e+6dgzufEIk8+jncpHY3c5B5wgz50gBDaaBe82OKg5WiMg6x5WT6iDKX9fR28q/KcjLKBr+9wcaEnx/g==","_npmVersion":"10.9.8","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.2.0_1780592996621_0.8088405683952538","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@ai0x0/codex-ts","version":"0.2.1","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.2.1","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"8f51fd50457dd7c32de6ac311c268555464b98d0","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.2.1.tgz","fileCount":170,"integrity":"sha512-N96rkWLnT2nL6a3VQk1etuxpmvduAZ74vb37gjdEfsCbUTrm+qmGIf8yFzHjnkraxJ1vfSmhV0MPMlaJyffm/g==","signatures":[{"sig":"MEQCIHxo9qCXT7RNvVT1dUvoHjyu4iHaF5vOPI+upVSlSzZOAiA662TYPIza0KRdbcxH/J9L0uArxmKw6C1NE/0Qgjqbmw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":345668},"type":"module","_from":"file:ai0x0-codex-ts-0.2.1.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/8fa2fd0a2d05fd8eef4f957296e26858/ai0x0-codex-ts-0.2.1.tgz","_integrity":"sha512-N96rkWLnT2nL6a3VQk1etuxpmvduAZ74vb37gjdEfsCbUTrm+qmGIf8yFzHjnkraxJ1vfSmhV0MPMlaJyffm/g==","_npmVersion":"10.9.8","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.2.1_1780911450765_0.25382835155379335","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@ai0x0/codex-ts","version":"0.3.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.3.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"b9b1413a2953335701d1004fac3fa32afcce37ab","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.3.0.tgz","fileCount":174,"integrity":"sha512-xacbVNBNadWsRV6JJcQd21mL1Arr4s+VKMIiTGBHuAV5jM6YghVdAkFyeUzFgutzjm01MmYsi3my9XyBIfAGfw==","signatures":[{"sig":"MEUCIQCj6P/ys1GsHItwZPyIyTARgg6Ljk/EzqFkza3JJeXrfwIgPNlebKjC/gQFKEvLSA5Zfirmzekhge2zhYe2MnL91ao=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":351087},"type":"module","_from":"file:ai0x0-codex-ts-0.3.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/4fc9cef30e75be88dee9f0ecfafdaf35/ai0x0-codex-ts-0.3.0.tgz","_integrity":"sha512-xacbVNBNadWsRV6JJcQd21mL1Arr4s+VKMIiTGBHuAV5jM6YghVdAkFyeUzFgutzjm01MmYsi3my9XyBIfAGfw==","_npmVersion":"10.9.8","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.3.0_1781600497037_0.41989517290293965","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@ai0x0/codex-ts","version":"0.4.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.4.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"7d6d97c0f10b6f1b55200e56ca1fed63e18074a4","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.4.0.tgz","fileCount":178,"integrity":"sha512-MwWxbYj7gXMKsBqXXz9rXrahM6bMD5Y6kLwkp1VCnp0qqCzd4lHZjoYqJFeFm5VmkZ6DZjxZ76Tl56Zj0TElGw==","signatures":[{"sig":"MEYCIQDaytYBwYyj9ZLAqvnjVHJgPcZ2dyaYo+hbFbls517ymgIhAMVmxhjbeOh5Z8Wkz9ZbX8cl0mTp4OwK+J/z6eGmrZKY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":358076},"type":"module","_from":"file:ai0x0-codex-ts-0.4.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/a43c50366e1f58cd9df0bd04222eae23/ai0x0-codex-ts-0.4.0.tgz","_integrity":"sha512-MwWxbYj7gXMKsBqXXz9rXrahM6bMD5Y6kLwkp1VCnp0qqCzd4lHZjoYqJFeFm5VmkZ6DZjxZ76Tl56Zj0TElGw==","_npmVersion":"10.9.8","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.4.0_1781667432231_0.9679484773998897","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@ai0x0/codex-ts","version":"0.4.1","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.4.1","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"08b1877d819394769da0e6bbafd946174d3813cf","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.4.1.tgz","fileCount":178,"integrity":"sha512-MUmLAy0zOmyIfmDjRv+ow4OLVP+CNt9yA6m/mg2wVKBU9kq8ZonvkVhF9gK6kzO618mkZ8KSdw9rrTXr+cMKpQ==","signatures":[{"sig":"MEQCIF/DlNuKHI+UfYEnuj9lKzrLd96GONlPnCffhXU0f938AiAcBe0DU64C4FdPSTXmOatW4DcgwVTkxe4LbK4Jj2fBww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":361226},"type":"module","_from":"file:ai0x0-codex-ts-0.4.1.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/c0c4c9ef5e13a7567d0eaf19eb349794/ai0x0-codex-ts-0.4.1.tgz","_integrity":"sha512-MUmLAy0zOmyIfmDjRv+ow4OLVP+CNt9yA6m/mg2wVKBU9kq8ZonvkVhF9gK6kzO618mkZ8KSdw9rrTXr+cMKpQ==","_npmVersion":"10.9.8","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.4.1_1781672257556_0.8623039845757086","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@ai0x0/codex-ts","version":"0.5.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.5.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"2b9750f4ec02db5cc988c324bbf7af70d1bd6206","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.5.0.tgz","fileCount":187,"integrity":"sha512-uVNPHPj0fA8vZiw4FPjUFYvth+pxPpnDqy0Xmgaqj5nxn0M+FIgwUdDM4/d6ibPdI3juBz8P5GiVyCbdhu1cNg==","signatures":[{"sig":"MEUCIQDxJJKEtl8HDOxYtc2u7o+59DlUrKLgo+dY9E7GymXwZQIgRTkKUCnMHcXTfK/BbWzDTBydr7jsKFFLoN8e7XRDMQg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":394527},"type":"module","_from":"file:ai0x0-codex-ts-0.5.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/257a32f5cf446a57668880b288f77a82/ai0x0-codex-ts-0.5.0.tgz","_integrity":"sha512-uVNPHPj0fA8vZiw4FPjUFYvth+pxPpnDqy0Xmgaqj5nxn0M+FIgwUdDM4/d6ibPdI3juBz8P5GiVyCbdhu1cNg==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.5.0_1781686409485_0.60152426584162","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@ai0x0/codex-ts","version":"0.5.1","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.5.1","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"6664d104b39503ba393ae1134725008afef70164","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.5.1.tgz","fileCount":187,"integrity":"sha512-WOEcHDmgfW+KAjVDmDyf6K/SqHugob0Bz7H81Ja930/8IVczVvcUqy34l7pU3xpO1+lw1jmuAlVGFfvaryplXw==","signatures":[{"sig":"MEUCID+3VznNWUS/XnECWOChFeyLkeAvAUDMB1Np82w3aaueAiEAkz4sJzUgr0Ciy0Sm1pbr0mUWhOUQiTKLBj5s+8ls5LI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":396329},"type":"module","_from":"file:ai0x0-codex-ts-0.5.1.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/808966da7bddf73ae282c09200f536b1/ai0x0-codex-ts-0.5.1.tgz","_integrity":"sha512-WOEcHDmgfW+KAjVDmDyf6K/SqHugob0Bz7H81Ja930/8IVczVvcUqy34l7pU3xpO1+lw1jmuAlVGFfvaryplXw==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.5.1_1782737976190_0.25571523242127303","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@ai0x0/codex-ts","version":"0.5.2","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.5.2","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"8fb1e9bd1e1b9452a90d2ad273ba42f0b34cb7e3","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.5.2.tgz","fileCount":187,"integrity":"sha512-LwcuaNB9GkxC2Oqk36npt9x2uPTUVH43ti28VexyHwlPoKHneZ9iYCxjL+2y3eWSadu9bTrbD0Kn/B2qnnYkJw==","signatures":[{"sig":"MEUCIHq/7eiXYQKhTeYTkDa3kbA9nVMc3McA2M5axJNZIz+6AiEA4iYUJ3fsRMG38HeqWeyfL1fLrJ/JQ2j51ppzDwJLeU0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":397228},"type":"module","_from":"file:ai0x0-codex-ts-0.5.2.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/7bddc9a19a688a3c505dcb8d833302f5/ai0x0-codex-ts-0.5.2.tgz","_integrity":"sha512-LwcuaNB9GkxC2Oqk36npt9x2uPTUVH43ti28VexyHwlPoKHneZ9iYCxjL+2y3eWSadu9bTrbD0Kn/B2qnnYkJw==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.5.2_1782744383918_0.16291058019111593","host":"s3://npm-registry-packages-npm-production"}},"0.5.3":{"name":"@ai0x0/codex-ts","version":"0.5.3","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.5.3","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"3cc0e53e3654eba8d1ca67217cc2a5269d07c0ca","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.5.3.tgz","fileCount":191,"integrity":"sha512-HQcu1LXPsYBbdRTh/SLgmdxrF4M/MiQUC25ttZ9bJdevovSAeZgCnCdDcnDc2n+ZxsAp8nTG2nCUGIqoyFhZrA==","signatures":[{"sig":"MEYCIQCeB9adu8t+liSQWIiW6LjLI/MnhPwXeQ2VL7hqevzbxAIhALCgmDnS5uXWPhmH4mjpAbU/l+9HQUVtC11021AJR2xr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":405803},"type":"module","_from":"file:ai0x0-codex-ts-0.5.3.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/2c86b3f72d2c04fdfdd149c9cfcf34bb/ai0x0-codex-ts-0.5.3.tgz","_integrity":"sha512-HQcu1LXPsYBbdRTh/SLgmdxrF4M/MiQUC25ttZ9bJdevovSAeZgCnCdDcnDc2n+ZxsAp8nTG2nCUGIqoyFhZrA==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.5.3_1782756803030_0.9173941899473459","host":"s3://npm-registry-packages-npm-production"}},"0.5.4":{"name":"@ai0x0/codex-ts","version":"0.5.4","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.5.4","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"410f1e2cc349d846b0d14078ca427f26c18551b3","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.5.4.tgz","fileCount":191,"integrity":"sha512-GgH+ksZRzp19nzQS1rkmLHL1hEJKfNwybVVBFWY+leZ0KEueyu2J5Jor5O6XK5uBbf4W3T8v5ZawPz6NyuzE8Q==","signatures":[{"sig":"MEYCIQCc2SUxXRQ2cdxUzKAbn8fUkjf4PNP0tegLILz4HkmrKAIhAJi6HDR3F657b07XBlUVNZVH2s2ZlFH+ZWQYXdm++2Af","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":406282},"type":"module","_from":"file:ai0x0-codex-ts-0.5.4.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/d9fc082b3246d7a48891487b2ebcbca9/ai0x0-codex-ts-0.5.4.tgz","_integrity":"sha512-GgH+ksZRzp19nzQS1rkmLHL1hEJKfNwybVVBFWY+leZ0KEueyu2J5Jor5O6XK5uBbf4W3T8v5ZawPz6NyuzE8Q==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.5.4_1783583669502_0.8890139066659213","host":"s3://npm-registry-packages-npm-production"}},"0.5.5":{"name":"@ai0x0/codex-ts","version":"0.5.5","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.5.5","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"feb838520b0afc4e06b117f1e7615dcc07ab0b86","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.5.5.tgz","fileCount":191,"integrity":"sha512-TJqq+NRSLt/h3cbBnNYbWKEcQeu19wX9K4Jx9uu67f1ovbAv562UCZLxhqKeYNGRZDJZ1z3DPvxA78WIcw2XoA==","signatures":[{"sig":"MEQCIBBXlsR1pmm7PjO8791LQGci6ogN+zgxGSUKstnxqrebAiARv7VzkG3DHgazfmvzyXAyLP9k7upi9q54hxHU9Kj0Yg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":414153},"type":"module","_from":"file:ai0x0-codex-ts-0.5.5.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/5831d83a7c71148a3a0768209fc18fde/ai0x0-codex-ts-0.5.5.tgz","_integrity":"sha512-TJqq+NRSLt/h3cbBnNYbWKEcQeu19wX9K4Jx9uu67f1ovbAv562UCZLxhqKeYNGRZDJZ1z3DPvxA78WIcw2XoA==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.5.5_1783911474939_0.13565203608001464","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@ai0x0/codex-ts","version":"0.6.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.6.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"93d96d6a5669b78c34017dc373422b14ffc9420a","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.6.0.tgz","fileCount":195,"integrity":"sha512-HAqIr+IpGqx3IsgSLZrxw6of6g7TVmq7pXup6rR0w3GKXT6zmr5q0vLEG7YnoXECSZwQvBOG8g8Oa0cEJMEkpg==","signatures":[{"sig":"MEYCIQDkbJq7M/TJqjfbc3tIXuulMYyH0pgJpmLQk4FK6nxaiAIhAOvKTgkG3HlOgjbyZgv/fjCnvv49+Y4EV+kMe1cDhnIk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":459510},"type":"module","_from":"file:ai0x0-codex-ts-0.6.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/7bddf66797f905039b85e263a3f446b8/ai0x0-codex-ts-0.6.0.tgz","_integrity":"sha512-HAqIr+IpGqx3IsgSLZrxw6of6g7TVmq7pXup6rR0w3GKXT6zmr5q0vLEG7YnoXECSZwQvBOG8g8Oa0cEJMEkpg==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.6.0_1784297642801_0.35847444304249265","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@ai0x0/codex-ts","version":"0.6.1","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.6.1","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"09c5f3bfb70dda86071260fbf186883ed7fdb48f","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.6.1.tgz","fileCount":203,"integrity":"sha512-YYyW/wtJNEZl6Wckek6pGQoJwAR6lMCp68lWGP5PeKOpBb05RBqJGAe3Hw45eo1myCWDmPGcKSzjCdkxDhEIqg==","signatures":[{"sig":"MEUCIQDObBI6wn084rVpvrhQNTize26HXTqnRTfKYL/FgFc9cwIgbWfvRkmwDx1qCvU7QEkLIV6KJrvBFfg2jg4mdlsTnq8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":482185},"type":"module","_from":"file:ai0x0-codex-ts-0.6.1.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/5ad0670c79a7ae39293574d4f3b8e56b/ai0x0-codex-ts-0.6.1.tgz","_integrity":"sha512-YYyW/wtJNEZl6Wckek6pGQoJwAR6lMCp68lWGP5PeKOpBb05RBqJGAe3Hw45eo1myCWDmPGcKSzjCdkxDhEIqg==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.6.1_1784301869143_0.7857688171409167","host":"s3://npm-registry-packages-npm-production"}},"0.6.2":{"name":"@ai0x0/codex-ts","version":"0.6.2","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.6.2","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"108f4580fe0ccc939d522747eaaf39f668e186fb","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.6.2.tgz","fileCount":207,"integrity":"sha512-08f4ZKfysVobFFg0JBIOeMOWoJvzfeeuyqBa9D2uQkEFXHciywEi02Ir5ny4yNPJUYUVMBU+ymzhqcaPaR15NA==","signatures":[{"sig":"MEUCIQDFEslKA1UpBYOImNq20Sj0J0Mwgfa6YsvqhfsNc4L52wIgUN5nBf17d9mAItLR7O6YHsbybFNo7eAxnOAIsEYgrRs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":493507},"type":"module","_from":"file:ai0x0-codex-ts-0.6.2.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/ef072204cf8f9f8ff9350ee57e718078/ai0x0-codex-ts-0.6.2.tgz","_integrity":"sha512-08f4ZKfysVobFFg0JBIOeMOWoJvzfeeuyqBa9D2uQkEFXHciywEi02Ir5ny4yNPJUYUVMBU+ymzhqcaPaR15NA==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.6.2_1784362818619_0.1812061308693913","host":"s3://npm-registry-packages-npm-production"}},"0.6.3":{"name":"@ai0x0/codex-ts","version":"0.6.3","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.6.3","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"8882490d104f58b3f1977cb793a2e153e4341512","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.6.3.tgz","fileCount":207,"integrity":"sha512-28WN3mznpQO4hyrkLCQYsUjqC9+WuKSrlpdAt4biKGgsKdMxVV9nBtjYOTZlaA28BrwAUL28TTShnCyLaM05IQ==","signatures":[{"sig":"MEUCIDRGnMQuC+CIb87kWTekJvFFzBEmCDbvefL0R+ot66SwAiEA/TNFY0/1aezffqINNsMJ6yT7AMuMHJZOJlRgu2DGglQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":502068},"type":"module","_from":"file:ai0x0-codex-ts-0.6.3.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/6949985af26f7f6c3ce7c301fe43cca4/ai0x0-codex-ts-0.6.3.tgz","_integrity":"sha512-28WN3mznpQO4hyrkLCQYsUjqC9+WuKSrlpdAt4biKGgsKdMxVV9nBtjYOTZlaA28BrwAUL28TTShnCyLaM05IQ==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.6.3_1784376422753_0.4118034345709982","host":"s3://npm-registry-packages-npm-production"}},"0.6.4":{"name":"@ai0x0/codex-ts","version":"0.6.4","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.6.4","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"28f6dd80a27fc0dc6bb87c095fe24ce355265eb0","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.6.4.tgz","fileCount":211,"integrity":"sha512-g2438TlhPBzyru9BCaqCSVT9tkbrlNDkzBY1RTx2ON8kCG09NBOfLAVRzPdFWvIPTzxtnJqR6vITvWjXlvNDyw==","signatures":[{"sig":"MEYCIQDFXW0kqltXwAtSfx1oMYxO7Zgj6g5gE1pRVAtDHjVQiwIhAMYuHS5XoeToa3+0jWUjHBE5g2o5TRfdjQ1qKIIbe9P1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":513903},"type":"module","_from":"file:ai0x0-codex-ts-0.6.4.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/076709e3f7292157aef16b0ec86e0fad/ai0x0-codex-ts-0.6.4.tgz","_integrity":"sha512-g2438TlhPBzyru9BCaqCSVT9tkbrlNDkzBY1RTx2ON8kCG09NBOfLAVRzPdFWvIPTzxtnJqR6vITvWjXlvNDyw==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.6.4_1784391900098_0.27971305431478255","host":"s3://npm-registry-packages-npm-production"}},"0.6.5":{"name":"@ai0x0/codex-ts","version":"0.6.5","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.6.5","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"9ff61b0feeed680e14f6e2151aa75fdfdb46662e","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.6.5.tgz","fileCount":215,"integrity":"sha512-4ar+6YUtW55ArnhVHLxxwdZ7LBBLPKrAHelLiWX3OsttB2CxwXEnyjs5dtxxM9oUslpmhrX0oJxsliDahCwl3g==","signatures":[{"sig":"MEUCIQDz2AcSpM7HnuL6k/+HzFTxvjR7n1B3RbpRHW7utnt/OAIgdqVbBgw3vwj6kHrjbHjlGOKgNjH1pPi2CdNzYwoKnmU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":523197},"type":"module","_from":"file:ai0x0-codex-ts-0.6.5.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/543720ca295c787f5e720c76ae32c12e/ai0x0-codex-ts-0.6.5.tgz","_integrity":"sha512-4ar+6YUtW55ArnhVHLxxwdZ7LBBLPKrAHelLiWX3OsttB2CxwXEnyjs5dtxxM9oUslpmhrX0oJxsliDahCwl3g==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.6.5_1785002445010_0.05901495688890801","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@ai0x0/codex-ts","version":"0.7.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.7.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"06625a8ca07ece9aebdfb5e7cadfa54cf568bb7b","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.7.0.tgz","fileCount":223,"integrity":"sha512-jRUebWD7NgSS8mg/EQE9TarqltJMnb3VW/ubozOOGlbyayZwD5gFEosIQCfqYGrE1FrEgJGbnrtk9fWgoV8CBA==","signatures":[{"sig":"MEYCIQDCVOs9aJ+EKEoIICJ3AaRX9wlrTIkC2k17E2p9zBLPfQIhAJmj0AfA6/SfOT4ctAkyVklyk6BygiGsrJgd+nnb3RtF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":629272},"type":"module","_from":"file:ai0x0-codex-ts-0.7.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/635edb71d3fcf85a29c96612ca5c264b/ai0x0-codex-ts-0.7.0.tgz","_integrity":"sha512-jRUebWD7NgSS8mg/EQE9TarqltJMnb3VW/ubozOOGlbyayZwD5gFEosIQCfqYGrE1FrEgJGbnrtk9fWgoV8CBA==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.7.0_1785290210164_0.5046231524268938","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@ai0x0/codex-ts","version":"0.8.0","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.8.0","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"f4bf1c6fb5e2d5700b588be6b975a7288fa0f563","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.8.0.tgz","fileCount":243,"integrity":"sha512-ha2lboSIaY/s7cnlUShV0jMDqX8BfsvsKYS1rgmRyo7Y9pH8mp2hTq2XD373nOJ+OWleKhk2Ftb6n6zpH5Meng==","signatures":[{"sig":"MEUCICBLV6oZHDZJp2/OuvPZ6IqVBY3MNJxPU+FMAtfCJ7c+AiEAvM/4a7E5jua+QrK+PX4TwpkW5zJH+9dU82PyEdCsYzo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":652867},"type":"module","_from":"file:ai0x0-codex-ts-0.8.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./host":{"types":"./dist/host/src/index.d.ts","import":"./dist/host/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/bf842959c1262e489ad8e11fa3be82d1/ai0x0-codex-ts-0.8.0.tgz","_integrity":"sha512-ha2lboSIaY/s7cnlUShV0jMDqX8BfsvsKYS1rgmRyo7Y9pH8mp2hTq2XD373nOJ+OWleKhk2Ftb6n6zpH5Meng==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.8.0_1789302080634_0.2874090761971442","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@ai0x0/codex-ts","version":"0.8.1","license":"Apache-2.0","_id":"@ai0x0/codex-ts@0.8.1","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"dist":{"shasum":"eb358476859d98e2472afedebbb5508c4d9ecb44","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.8.1.tgz","fileCount":247,"integrity":"sha512-P+QX7Dqt9hTSvWsXxPkjMCPmN/3rNH1w+C9lAVbzk/ZecvWAHYUm6zJF6dyxMnUY/80L/yHO3O7RQBcP6vYoAQ==","signatures":[{"sig":"MEUCIQCnd3ruupYJuqjz7f5q54vYttzIf/gSuvSs/CHQG6BGiQIgR5SkM+nbV437ME9/XYVvS+s2Jogr8k3+YF3G8TgahnQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCaIOi1wIM1/+/9VkVi5kdb5wcvlkPN1g4kBb2P1m5gZgIgYMkjc/JtBeLVUVeGGrEHwp1xvLnM+QMlzFYo9OZC734=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":678413},"type":"module","_from":"file:ai0x0-codex-ts-0.8.1.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./host":{"types":"./dist/host/src/index.d.ts","import":"./dist/host/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/04801b0a329c20ad4dfa74411b1d2c19/ai0x0-codex-ts-0.8.1.tgz","_integrity":"sha512-P+QX7Dqt9hTSvWsXxPkjMCPmN/3rNH1w+C9lAVbzk/ZecvWAHYUm6zJF6dyxMnUY/80L/yHO3O7RQBcP6vYoAQ==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"tmp":"tmp/codex-ts_0.8.1_1789912693892_0.5402976200134255","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"_id":"@ai0x0/codex-ts@0.9.0","dist":{"shasum":"5fe1f05cf413eb809a6b992fe31e19ea3bb1fbbd","tarball":"https://registry.npmjs.org/@ai0x0/codex-ts/-/codex-ts-0.9.0.tgz","fileCount":247,"integrity":"sha512-ngyGls8XrrGyuVt//DGYz4JljbLfO37gyDFAU5JwLobgUV26aKCiqjB9XR8ZxKox4nZnTwUBLtg53WCjrg/n6Q==","signatures":[{"sig":"MEUCIH2hEsbDlF/AdNIQTggA+VXZ1n1rcSR2NfBBawy5tB4cAiEA30ETRtatQu8BLwtcFFEf6jU3+wNehwvZBIbEtMrEe3Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD9RkvmmkIidr+x1f7X5CJgNk3AG1llv+GpSA5W+c9IVQIgEJZ05kRbpAowdO31PFPcZj/ezM3BifJRzQjDnvc6hlE="}],"unpackedSize":688317},"name":"@ai0x0/codex-ts","type":"module","_from":"file:ai0x0-codex-ts-0.9.0.tgz","engines":{"node":">=18"},"exports":{".":{"types":"./dist/core/src/index.d.ts","import":"./dist/core/src/index.js"},"./host":{"types":"./dist/host/src/index.d.ts","import":"./dist/host/src/index.js"},"./state":{"types":"./dist/state/src/index.d.ts","import":"./dist/state/src/index.js"},"./tools":{"types":"./dist/tools/src/index.d.ts","import":"./dist/tools/src/index.js"},"./ext/goal":{"types":"./dist/ext/goal/src/index.d.ts","import":"./dist/ext/goal/src/index.js"},"./protocol":{"types":"./dist/protocol/src/index.d.ts","import":"./dist/protocol/src/index.js"},"./thread-store":{"types":"./dist/thread-store/src/index.d.ts","import":"./dist/thread-store/src/index.js"}},"license":"Apache-2.0","scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit","test:watch":"vitest"},"version":"0.9.0","_npmUser":{"name":"mushan01","email":"MuShan0x0@gmail.com"},"_resolved":"/tmp/6688b2e047bab65b761965a5039e1d11/ai0x0-codex-ts-0.9.0.tgz","_integrity":"sha512-ngyGls8XrrGyuVt//DGYz4JljbLfO37gyDFAU5JwLobgUV26aKCiqjB9XR8ZxKox4nZnTwUBLtg53WCjrg/n6Q==","_npmVersion":"10.9.8","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","directories":{},"maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.3","typescript":"^5.8.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/codex-ts_0.9.0_1789989710065_0.13100719495028534"}}},"time":{"created":"2026-06-04T02:50:23.526Z","modified":"2026-09-21T11:21:50.394Z","0.1.0":"2026-06-04T02:50:23.875Z","0.2.0":"2026-06-04T17:09:56.795Z","0.2.1":"2026-06-08T09:37:30.910Z","0.3.0":"2026-06-16T09:01:37.198Z","0.4.0":"2026-06-17T03:37:12.461Z","0.4.1":"2026-06-17T04:57:37.711Z","0.5.0":"2026-06-17T08:53:29.638Z","0.5.1":"2026-06-29T12:59:36.369Z","0.5.2":"2026-06-29T14:46:24.072Z","0.5.3":"2026-06-29T18:13:23.283Z","0.5.4":"2026-07-09T07:54:29.646Z","0.5.5":"2026-07-13T02:57:55.098Z","0.6.0":"2026-07-17T14:14:02.954Z","0.6.1":"2026-07-17T15:24:29.430Z","0.6.2":"2026-07-18T08:20:18.771Z","0.6.3":"2026-07-18T12:07:02.951Z","0.6.4":"2026-07-18T16:25:00.249Z","0.6.5":"2026-07-25T18:00:45.183Z","0.7.0":"2026-07-29T01:56:50.319Z","0.8.0":"2026-09-13T12:21:20.775Z","0.8.1":"2026-09-20T13:58:13.997Z","0.9.0":"2026-09-21T11:21:50.222Z"},"license":"Apache-2.0","description":"A TypeScript port of the codex-rs agent core — runs the Codex sampling loop (Responses API streaming + tool calls + auto-compaction) directly in Node or the browser, with no spawned process.","maintainers":[{"name":"mushan01","email":"MuShan0x0@gmail.com"}],"readme":"# @ai0x0/codex-ts\n\nA TypeScript port of the codex-rs agent core — runs the Codex sampling loop\n(Responses API streaming + tool calls + auto-compaction) directly in Node or the\nbrowser, with no spawned process.\n\n```ts\nimport { CodexThread } from \"@ai0x0/codex-ts\";\n\nconst thread = new CodexThread({\n  apiKey: \"…\",\n  baseUrl: \"https://api.openai.com/v1\",\n  model: \"gpt-5.4\",\n});\n\nconst turnId = await thread.submit({\n  type: \"UserInput\",\n  items: [{ type: \"text\", text: \"hello\" }],\n});\n\nfor (;;) {\n  const { msg } = await thread.nextEvent();\n  if (msg.type === \"AgentMessage\") console.log(msg.event.message);\n  if (msg.type === \"TurnComplete\") break;\n}\n```\n\n## Retries\n\nTransient Responses failures are retried automatically with exponential\nbackoff — mirrors codex-rs's stream retry loop (`responses_retry.rs`).\n\nA failure is **retried** when it happens **before any visible output has\nstreamed** and is transient:\n\n- a network error (fetch rejects: connection reset, DNS, CORS-masked failure…);\n- an HTTP `408`, `409`, `429`, or any `5xx` (e.g. a `502` during a deploy\n  window);\n- the SSE stream dropping before the first text delta;\n- a `response.failed` event whose error code is transient (e.g.\n  `rate_limit_exceeded`) or unrecognised — matching codex-rs, which defaults\n  `response.failed` to retryable;\n- a `response.incomplete` event (surfaced as a stream error carrying\n  `incomplete_details.reason`).\n\nA failure is **not retried** when:\n\n- visible output has already streamed (a re-stream would duplicate text);\n- the error is terminal — `4xx` other than the above (e.g. `400`, `401`), or the\n  turn was interrupted (`AbortError`);\n- a `response.failed` event carries a terminal error code — `insufficient_quota`,\n  `usage_not_included`, `cyber_policy`, `invalid_prompt`, `bio_policy`,\n  `server_is_overloaded`, `slow_down` (mirrors the non-retryable `CodexErr`\n  variants in `protocol/src/error.rs`), or `context_length_exceeded`, which\n  instead triggers compaction / the context self-heal;\n- the retry budget (`maxRetries`) is exhausted.\n\nEach retry waits an exponential backoff — `200ms × 2^(n-1)` with ±10% jitter —\nhonoring a server `Retry-After` header when present, or a provider\n`…please try again in 1.5s` hint on a rate limit (mirrors `try_parse_retry_after`).\nA `Warning` event (`Reconnecting... n/m`) is emitted before each attempt so the UI\ncan surface it.\n\nWhen the retries are exhausted (or the failure was terminal), the turn emits an\n`Error` event whose `codex_error_info` classifies the cause, followed by a final\n`TurnComplete` carrying the same error — so a loop awaiting `TurnComplete` always\nterminates. An **interrupted** turn instead ends with `TurnAborted`\n(`reason: \"interrupted\"`), mirroring codex-rs, which never sends `TurnComplete`\nfor an aborted turn.\n\n### Configuration\n\n```ts\nconst thread = new CodexThread({\n  apiKey: \"…\",\n  model: \"gpt-5.4\",\n  // Max retries for transient request/stream failures. Default: 5.\n  // Pass 0 to disable retries entirely.\n  maxRetries: 5,\n});\n```\n\n| Option       | Default | Meaning                                                    |\n| ------------ | ------- | ---------------------------------------------------------- |\n| `maxRetries` | `5`     | Max retry attempts after the initial request. `0` disables. |\n\nThe same budget covers both the initial request and a stream that drops before\nany output; `Retry-After` overrides the computed backoff for that attempt.\n","readmeFilename":"README.md"}