{"_id":"@alibaba-group/opensandbox-code-interpreter","_rev":"12-618c8401db8ef17d95e39f7d814efd9f","name":"@alibaba-group/opensandbox-code-interpreter","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0-dev1":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.0-dev1","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.0-dev1","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"6167fd7dcae544e7b84a6033d27d3a9c4acfec5c","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.0-dev1.tgz","fileCount":29,"integrity":"sha512-5Qtv3bmxJRLZU0tq21atxIzfU85pQkZJ7cAiLQhikIgIoRqilYedr6YE7BnHreiYT0Jjz5SxR7i8AzW3U7NmKw==","signatures":[{"sig":"MEYCIQCKOwcxwBAO7NtnSPIlD8m2aODECSm4vnyOJnVVEoIgOgIhAJsq2DKdHJxFGznW54/FmA5xvYgzH474kbMnLXgj8y/5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35326},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.0-dev1.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/private/var/folders/h9/6pl21ljj1ynbb221s4f87h3r0000gn/T/2c70c02d23d1936740d8df213576dad2/alibaba-group-opensandbox-code-interpreter-0.1.0-dev1.tgz","_integrity":"sha512-5Qtv3bmxJRLZU0tq21atxIzfU85pQkZJ7cAiLQhikIgIoRqilYedr6YE7BnHreiYT0Jjz5SxR7i8AzW3U7NmKw==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@alibaba-group/opensandbox":"^0.1.0-dev1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.0-dev1_1768449460505_0.9929261794322899","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-dev3":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.0-dev3","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.0-dev3","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"fb48555407e4f71584b71ab2ecaca9882bc20f7d","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.0-dev3.tgz","fileCount":29,"integrity":"sha512-uL2ZCicG3B/Oe267b3ZI5dVMXXlFDGzYAkVxLthmIlryHdwFuHNRbZwZmFwOrxIme4WCWdngRxRmuDcum8He9g==","signatures":[{"sig":"MEQCIAqUJ9X406SRvl8yU2JLM/0e+x/jT/aZnNu+I/0Fsst8AiBXojuVmXnnJ8kuDsHwYB91oFkdMufoGI4ZgTQRoKv2Aw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35326},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.0-dev3.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/0a303a8da4a378847962c0f2699601b8/alibaba-group-opensandbox-code-interpreter-0.1.0-dev3.tgz","_integrity":"sha512-uL2ZCicG3B/Oe267b3ZI5dVMXXlFDGzYAkVxLthmIlryHdwFuHNRbZwZmFwOrxIme4WCWdngRxRmuDcum8He9g==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@alibaba-group/opensandbox":"^0.1.0-dev3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.0-dev3_1768550424840_0.23145911755798476","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-dev4":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.0-dev4","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.0-dev4","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"45d35aee1e526067c7bc5bf665ce2b452702d32e","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.0-dev4.tgz","fileCount":29,"integrity":"sha512-rcGo0kSm1b04VYSfFJ2Zv+9qRp/Ak8E6oQ+ZF9TFzXgE2j/DXV8Uhu9kZMVWwdTLcQ8+D+QHDQEVjPWVnfxOIw==","signatures":[{"sig":"MEUCIBU5jCgAh5Y5a1Yf2w4HF47i/QQU7HMeZPP9B7IGF3keAiEA4GrhSzqkTS7CQ3GGpSdpqhmq2q74Behe5gz2sgBvWq0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35544},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.0-dev4.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/39754dcb62a5d5b0c3ed268ca7077009/alibaba-group-opensandbox-code-interpreter-0.1.0-dev4.tgz","_integrity":"sha512-rcGo0kSm1b04VYSfFJ2Zv+9qRp/Ak8E6oQ+ZF9TFzXgE2j/DXV8Uhu9kZMVWwdTLcQ8+D+QHDQEVjPWVnfxOIw==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@alibaba-group/opensandbox":"^0.1.0-dev4"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.0-dev4_1768797323983_0.5104864088547973","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.0","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.0","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"6c379afc8f24cbcc49f71fa60191bc72cd71861c","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.0.tgz","fileCount":29,"integrity":"sha512-h8qZZb6XjPFGG+CPsJ/M+/ZKpmM9tZINhh/n6KVNJJNRg8wG3Nq5xM9D/+Qy8VimkjdURtHJZ4dpSvxaOYD/6g==","signatures":[{"sig":"MEYCIQDo6YJqkHpMFBdOtxeUEQt33+owt1fW/QrMwkDshYo6JwIhAIyRHNOa2Zh1pbBmvPkYZ3huaHCDDw33zuOJqE83MITq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35534},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.0.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/1e28cf828ea7712f84480c08871a0c06/alibaba-group-opensandbox-code-interpreter-0.1.0.tgz","_integrity":"sha512-h8qZZb6XjPFGG+CPsJ/M+/ZKpmM9tZINhh/n6KVNJJNRg8wG3Nq5xM9D/+Qy8VimkjdURtHJZ4dpSvxaOYD/6g==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@alibaba-group/opensandbox":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.0_1768876336594_0.44113059994473636","host":"s3://npm-registry-packages-npm-production"}},"0.1.1-dev0":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.1-dev0","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.1-dev0","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"e91f068b27a0275c5b5af0ccf0b23d33c4b95abc","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.1-dev0.tgz","fileCount":47,"integrity":"sha512-IK2+ZfXMPVOccWMn1wd1J1aYsnxkWs69M/dRDGkqbcioRFezazdTMA38LJTJanXnoZJ5FScBzWupyQgleV/awg==","signatures":[{"sig":"MEYCIQDPZzGKmuQul3OTes5+eWqrKA3u4oVTQgGd1Fnyr+0u7gIhAMnZU8S1U+v6r+vuC3RmvCfn/JpvkfX5TQVKFXxBrDM5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69223},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.1-dev0.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/e392db33e1928a29c6ebfbf9bf805329/alibaba-group-opensandbox-code-interpreter-0.1.1-dev0.tgz","_integrity":"sha512-IK2+ZfXMPVOccWMn1wd1J1aYsnxkWs69M/dRDGkqbcioRFezazdTMA38LJTJanXnoZJ5FScBzWupyQgleV/awg==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@alibaba-group/opensandbox":"^0.1.1-dev0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.1-dev0_1768906555951_0.4724960783695391","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.1","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.1","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"5f540371e8474f42867fd52174d850cb996c6444","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.1.tgz","fileCount":47,"integrity":"sha512-Cb/7mmeHKhUPrFPX4vtlOiG8UBob2KFtKH934l1waId55xjy1rWoi0jrzZaVt+lHltbTC7gz1g74Sii5RufGGQ==","signatures":[{"sig":"MEUCIQDsnwjRQ5BLl7MPb4MBmU37Srd0KB6hDwMIjfjGbCg4VQIgAfv0H3ALijjTuYBzINsq43DDyn3fKwJcFT9j0MzvsyU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69213},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.1.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsc -p tsconfig.json","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/bcec78babf0551294ddd93dc94212001/alibaba-group-opensandbox-code-interpreter-0.1.1.tgz","_integrity":"sha512-Cb/7mmeHKhUPrFPX4vtlOiG8UBob2KFtKH934l1waId55xjy1rWoi0jrzZaVt+lHltbTC7gz1g74Sii5RufGGQ==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@alibaba-group/opensandbox":"^0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.1_1768913454195_0.42382626004931256","host":"s3://npm-registry-packages-npm-production"}},"0.1.2-dev0":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.2-dev0","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.2-dev0","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"cc07d6b6d888f4c542ef1dbbf499e96bb60201d0","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.2-dev0.tgz","fileCount":16,"integrity":"sha512-xREHRgsbUGvVXCB2PYyown9tmIJV5FdH/JAXN874ukiVkB2PnQkWhPXeBTimIHQBNLDFofEMTfYFxOEJs6wwzg==","signatures":[{"sig":"MEUCIERUTzd5Jk397RQse3x30jL6bwJxJyB5MJGa/oZpYhxsAiEAvGKzanhqUroYBYLZ185WvbeRvMJKGn45hQD9DvFGEjE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99406},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.2-dev0.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/cjs/index.cjs"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/9a7081a76f49c1a95f50732d150df0d3/alibaba-group-opensandbox-code-interpreter-0.1.2-dev0.tgz","_integrity":"sha512-xREHRgsbUGvVXCB2PYyown9tmIJV5FdH/JAXN874ukiVkB2PnQkWhPXeBTimIHQBNLDFofEMTfYFxOEJs6wwzg==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@alibaba-group/opensandbox":"^0.1.2-dev0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.2-dev0_1769075707242_0.07348040185791938","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.2","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.2","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"3e44d0a125a198bb3527dc57ad82aa23a27f9bb3","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.2.tgz","fileCount":16,"integrity":"sha512-rCjLmG5MwpfdDAdUCs5P+SYA1RINog5VMmQ+eJTqJdQHfpOEfDEbY9yM6lOMqyypqyhvJORWOL8N1ctRhfIMUA==","signatures":[{"sig":"MEYCIQDof37hSYj90INJ07hIdRDw7uQhGfMbvPZci04vqWXj4gIhAOAICV+sBMGdu600LQNXps8MaebnoVUK/shiCWol3kqK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99396},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.2.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/cjs/index.cjs"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/c57d6892bd23844dbf2705ee4cbfdc2a/alibaba-group-opensandbox-code-interpreter-0.1.2.tgz","_integrity":"sha512-rCjLmG5MwpfdDAdUCs5P+SYA1RINog5VMmQ+eJTqJdQHfpOEfDEbY9yM6lOMqyypqyhvJORWOL8N1ctRhfIMUA==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"@alibaba-group/opensandbox":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.2_1769159344495_0.3040386669721242","host":"s3://npm-registry-packages-npm-production"}},"0.1.3-dev1":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.3-dev1","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.3-dev1","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://github.com/alibaba/OpenSandbox","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"ee976cafece42b1489a5a1b5fa531c9c38c88422","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.3-dev1.tgz","fileCount":16,"integrity":"sha512-F7IBKqQ95OBvT2iUVdUI16Zzgnb+KbolgtPNW7J3agfm2g8JWtNLluTTdpWKoECzck9RIFSKKkuYY9J9a8lwAw==","signatures":[{"sig":"MEUCIQDA2AyrwwZhFprQACw4jN1vmJvqlOkwYMQG+hfR4pvaVwIgehkbolrdW/t/UUo+9p4qcwJgjPXhA39rQoEHDvrc5ZU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99406},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.3-dev1.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/cjs/index.cjs"}},"scripts":{"lint":"eslint src --max-warnings 0","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/f9ce5a60f78133469d2e87bba2b28c2c/alibaba-group-opensandbox-code-interpreter-0.1.3-dev1.tgz","_integrity":"sha512-F7IBKqQ95OBvT2iUVdUI16Zzgnb+KbolgtPNW7J3agfm2g8JWtNLluTTdpWKoECzck9RIFSKKkuYY9J9a8lwAw==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"@alibaba-group/opensandbox":"^0.1.3-dev1"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.3-dev1_1769572500238_0.6213667966580712","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alibaba-group/opensandbox-code-interpreter","version":"0.1.3","license":"Apache-2.0","_id":"@alibaba-group/opensandbox-code-interpreter@0.1.3","maintainers":[{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"homepage":"https://open-sandbox.ai","bugs":{"url":"https://github.com/alibaba/OpenSandbox/issues"},"dist":{"shasum":"3b588f4997be3a795f1ac05e523a59412d786e58","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-0.1.3.tgz","fileCount":16,"integrity":"sha512-Ipu58DRpAzDRjVEZv6l2f8Le80IaqDPIjUpMdxdhIUFi/7mqDqJUQmNLJIOS/KCl+lNKT88TojfsBNQcWIW5Yg==","signatures":[{"sig":"MEUCIBClKCZLbCMkGF7skJbFWC+6gkvtuZRWKchVUunLoeKgAiEA7HqZF7wlbJpkGt+7Z4qCeneJMMlEUBE4c4sWSi/3Khc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":100843},"main":"./dist/index.js","type":"module","_from":"file:alibaba-group-opensandbox-code-interpreter-0.1.3.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/cjs/index.cjs"}},"scripts":{"lint":"eslint src --max-warnings 0","test":"pnpm run build && node --test tests/*.test.mjs","build":"tsup","clean":"rm -rf dist"},"_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"_resolved":"/tmp/c72e6318964c441d114178ba8ee7ae6a/alibaba-group-opensandbox-code-interpreter-0.1.3.tgz","_integrity":"sha512-Ipu58DRpAzDRjVEZv6l2f8Le80IaqDPIjUpMdxdhIUFi/7mqDqJUQmNLJIOS/KCl+lNKT88TojfsBNQcWIW5Yg==","repository":{"url":"git+https://github.com/alibaba/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"sideEffects":false,"_nodeVersion":"20.20.1","dependencies":{"@alibaba-group/opensandbox":"^0.1.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^9.39.2","@eslint/js":"^9.39.2","typescript":"^5.7.2","typescript-eslint":"^8.52.0"},"_npmOperationalInternal":{"tmp":"tmp/opensandbox-code-interpreter_0.1.3_1774508068352_0.04664290605893573","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"_id":"@alibaba-group/opensandbox-code-interpreter@1.1.0","bugs":{"url":"https://github.com/opensandbox-group/OpenSandbox/issues"},"dist":{"shasum":"835662fe41051e646e1cfad73faefaac3ebe1c38","tarball":"https://registry.npmjs.org/@alibaba-group/opensandbox-code-interpreter/-/opensandbox-code-interpreter-1.1.0.tgz","fileCount":16,"integrity":"sha512-bobHmcSAIQP6N3M988pN+GQdYOoFAN0y3WkqQgUZJEMBU4kvQV1NIXYXC1GqaY2aS2/Uz8dZdVvbvIQ7R+uNgA==","signatures":[{"sig":"MEQCIAybqE6LU3wiyUPmVqDEpsxbEs7KwteJgJUA/HRbUVJuAiBoOuOuPcxgWp5+Fc5bJtABR+tk0t/IoeNdGwIQxt75ww==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHPAUJPRAt02lR04lLtbM9iv1JxbSpn8WgPGD3oURHdlAiEAvdeQTqyQEwug8uy1aYp1iWNS0S1ISWwLNCzp0Z6Kmso="}],"unpackedSize":138903},"main":"./dist/index.js","name":"@alibaba-group/opensandbox-code-interpreter","type":"module","_from":"file:held/pkg-npm-code-interpreter/alibaba-group-opensandbox-code-interpreter-1.1.0.tgz","types":"./dist/index.d.ts","browser":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","require":"./dist/cjs/index.cjs"}},"license":"Apache-2.0","scripts":{"lint":"eslint src --max-warnings 0","test":"pnpm run build && node --test tests/*.test.mjs","build":"tsup","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit"},"version":"1.1.0","_npmUser":{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"},"homepage":"https://open-sandbox.ai","_resolved":"/home/runner/work/OpenSandbox/OpenSandbox/held/pkg-npm-code-interpreter/alibaba-group-opensandbox-code-interpreter-1.1.0.tgz","_integrity":"sha512-bobHmcSAIQP6N3M988pN+GQdYOoFAN0y3WkqQgUZJEMBU4kvQV1NIXYXC1GqaY2aS2/Uz8dZdVvbvIQ7R+uNgA==","repository":{"url":"git+https://github.com/opensandbox-group/OpenSandbox.git","type":"git"},"_npmVersion":"10.8.2","description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","directories":{},"maintainers":[{"name":"lizhengfeng.lzf","email":"lizhengfeng.lzf@alibaba-inc.com"},{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@alibaba-group/opensandbox":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","eslint":"^9.39.4","@eslint/js":"^9.39.4","typescript":"^5.7.2","typescript-eslint":"^8.59.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/opensandbox-code-interpreter_1.1.0_1789974247935_0.8368755929922291"}}},"time":{"created":"2026-01-15T03:57:40.373Z","modified":"2026-09-21T07:04:08.217Z","0.1.0-dev1":"2026-01-15T03:57:40.648Z","0.1.0-dev3":"2026-01-16T08:00:24.973Z","0.1.0-dev4":"2026-01-19T04:35:24.135Z","0.1.0":"2026-01-20T02:32:16.777Z","0.1.1-dev0":"2026-01-20T10:55:56.097Z","0.1.1":"2026-01-20T12:50:54.380Z","0.1.2-dev0":"2026-01-22T09:55:07.381Z","0.1.2":"2026-01-23T09:09:04.636Z","0.1.3-dev1":"2026-01-28T03:55:00.374Z","0.1.3":"2026-03-26T06:54:28.496Z","1.1.0":"2026-09-21T07:04:08.025Z"},"bugs":{"url":"https://github.com/opensandbox-group/OpenSandbox/issues"},"license":"Apache-2.0","homepage":"https://open-sandbox.ai","repository":{"url":"git+https://github.com/opensandbox-group/OpenSandbox.git","type":"git"},"description":"OpenSandbox Code Interpreter TypeScript/JavaScript SDK","maintainers":[{"name":"lizhengfeng.lzf","email":"lizhengfeng.lzf@alibaba-inc.com"},{"name":"ninan.nn","email":"ninan.nn@alibaba-inc.com"}],"readme":"# Alibaba Code Interpreter SDK for JavaScript/TypeScript\n\n\nA TypeScript/JavaScript SDK for executing code in secure, isolated sandboxes. It provides a high-level API for running Python, Java, Go, TypeScript, and other languages safely, with support for code execution contexts.\n\n## Prerequisites\n\nThis SDK requires a Docker image containing the Code Interpreter runtime environment. You must use the `opensandbox/code-interpreter` image (or a derivative) which includes pre-installed runtimes for Python, Java, Go, Node.js, etc.\n\nFor detailed information about supported languages and versions, please refer to the [Environment Documentation](https://github.com/opensandbox-group/sandbox-images).\n\n## Installation\n\n### npm\n\n```bash\nnpm install @alibaba-group/opensandbox-code-interpreter\n```\n\n### pnpm\n\n```bash\npnpm add @alibaba-group/opensandbox-code-interpreter\n```\n\n### yarn\n\n```bash\nyarn add @alibaba-group/opensandbox-code-interpreter\n```\n\n## Quick Start\n\nThe following example demonstrates how to create a sandbox with a specific runtime configuration and execute a simple script.\n\n> **Note**: Before running this example, ensure the OpenSandbox service is running. See the root [README.md](../../../README.md) for startup instructions.\n\n```ts\nimport { ConnectionConfig, Sandbox } from \"@alibaba-group/opensandbox\";\nimport { CodeInterpreter, SupportedLanguages } from \"@alibaba-group/opensandbox-code-interpreter\";\n\n// 1. Configure connection\nconst config = new ConnectionConfig({\n  domain: \"api.opensandbox.io\",\n  apiKey: \"your-api-key\",\n});\n\n// 2. Create a Sandbox with the code-interpreter image + runtime versions\nconst sandbox = await Sandbox.create({\n  connectionConfig: config,\n  image: \"opensandbox/code-interpreter:v1.1.0\",\n  entrypoint: [\"/opt/code-interpreter/code-interpreter.sh\"],\n  env: {\n    PYTHON_VERSION: \"3.11\",\n    JAVA_VERSION: \"17\",\n    NODE_VERSION: \"20\",\n    GO_VERSION: \"1.24\",\n  },\n  timeoutSeconds: 15 * 60,\n});\n\n// 3. Create CodeInterpreter wrapper\nconst ci = await CodeInterpreter.create(sandbox);\n\n// 4. Create an execution context (Python)\nconst ctx = await ci.codes.createContext(SupportedLanguages.PYTHON);\n\n// 5. Run code\nconst result = await ci.codes.run(\"import sys\\nprint(sys.version)\\nresult = 2 + 2\\nresult\", {\n  context: ctx,\n});\n\n// 6. Print output\nconsole.log(result.result[0]?.text);\n\n// 7. Cleanup remote instance (optional but recommended)\nawait sandbox.kill();\nawait sandbox.close();\n```\n\n## Runtime Configuration\n\n### Docker Image\n\nThe Code Interpreter SDK relies on a specialized environment. Ensure your sandbox provider has the `opensandbox/code-interpreter` image available.\n\n### Language Version Selection\n\nYou can specify the desired version of a programming language by setting the corresponding environment variable when creating the `Sandbox`.\n\n| Language | Environment Variable | Example Value | Default (if unset) |\n| --- | --- | --- | --- |\n| Python | `PYTHON_VERSION` | `3.11` | Image default |\n| Java | `JAVA_VERSION` | `17` | Image default |\n| Node.js | `NODE_VERSION` | `20` | Image default |\n| Go | `GO_VERSION` | `1.24` | Image default |\n\n```ts\nconst sandbox = await Sandbox.create({\n  connectionConfig: config,\n  image: \"opensandbox/code-interpreter:v1.1.0\",\n  entrypoint: [\"/opt/code-interpreter/code-interpreter.sh\"],\n  env: {\n    JAVA_VERSION: \"17\",\n    GO_VERSION: \"1.24\",\n  },\n});\n```\n\n## Usage Examples\n\n### 0. Run with `language` (default language context)\n\nIf you don't need to manage explicit context IDs, you can run code by specifying only `language`.\nWhen `context.id` is omitted, execd can create/reuse a default session for that language, so state can persist across runs.\n\n```ts\nimport { SupportedLanguages } from \"@alibaba-group/opensandbox-code-interpreter\";\n\nawait ci.codes.run(\"x = 42\", { language: SupportedLanguages.PYTHON });\nconst execution = await ci.codes.run(\"result = x\\nresult\", { language: SupportedLanguages.PYTHON });\nconsole.log(execution.result[0]?.text); // \"42\"\n```\n\n### 0.1 Context management (list/get/delete)\n\nYou can manage contexts explicitly (aligned with Python/Kotlin SDKs):\n\n```ts\nconst ctx = await ci.codes.createContext(SupportedLanguages.PYTHON);\n\nconst same = await ci.codes.getContext(ctx.id!);\nconsole.log(same.id, same.language);\n\nconst all = await ci.codes.listContexts();\nconst pyOnly = await ci.codes.listContexts(SupportedLanguages.PYTHON);\n\nawait ci.codes.deleteContext(ctx.id!);\nawait ci.codes.deleteContexts(SupportedLanguages.PYTHON); // bulk cleanup\n```\n\n### 1. Java Code Execution\n\n```ts\nimport { SupportedLanguages } from \"@alibaba-group/opensandbox-code-interpreter\";\n\nconst javaCtx = await ci.codes.createContext(SupportedLanguages.JAVA);\nconst execution = await ci.codes.run(\n  [\n    'System.out.println(\"Calculating sum...\");',\n    \"int a = 10;\",\n    \"int b = 20;\",\n    \"int sum = a + b;\",\n    'System.out.println(\"Sum: \" + sum);',\n    \"sum\",\n  ].join(\"\\n\"),\n  { context: javaCtx },\n);\nconsole.log(execution.logs.stdout.map((m) => m.text));\n```\n\n### 2. Streaming Output Handling\n\nHandle stdout/stderr and execution events in real-time.\n\n```ts\nimport type { ExecutionHandlers } from \"@alibaba-group/opensandbox\";\nimport { SupportedLanguages } from \"@alibaba-group/opensandbox-code-interpreter\";\n\nconst handlers: ExecutionHandlers = {\n  onStdout: (m) => console.log(\"STDOUT:\", m.text),\n  onStderr: (m) => console.error(\"STDERR:\", m.text),\n  onResult: (r) => console.log(\"RESULT:\", r.text),\n};\n\nconst pyCtx = await ci.codes.createContext(SupportedLanguages.PYTHON);\nawait ci.codes.run(\"import time\\nfor i in range(5):\\n    print(i)\\n    time.sleep(0.2)\", {\n  context: pyCtx,\n  handlers,\n});\n```\n\n## Notes\n\n- **Lifecycle**: `CodeInterpreter` wraps an existing `Sandbox` instance and reuses its connection configuration. Each sandbox instance clones the transport via `ConnectionConfig.withTransportIfMissing()`, so call `sandbox.close()` when you are finished to release the Node.js keep-alive agent and avoid leak.\n- **Default context**: `codes.run(..., { language })` uses a language default context (state can persist across runs).\n\n","readmeFilename":"README.md"}