{"_id":"@capsule-run/elizaos-plugin","_rev":"7-8a55c4df6408fbc836a6e262c18f2d47","name":"@capsule-run/elizaos-plugin","dist-tags":{"latest":"0.1.5"},"versions":{"0.1.0":{"name":"@capsule-run/elizaos-plugin","version":"0.1.0","keywords":["plugin","elizaos","capsule","code-execution","python","javascript","sandbox"],"license":"Apache-2.0","_id":"@capsule-run/elizaos-plugin@0.1.0","maintainers":[{"name":"mavdol","email":"mdiallo.av@gmail.com"}],"homepage":"https://elizaos.ai","bugs":{"url":"https://github.com/mavdol/capsule/issues"},"dist":{"shasum":"ef93fb729459a73d71316b3f4c46b780cf0704ad","tarball":"https://registry.npmjs.org/@capsule-run/elizaos-plugin/-/elizaos-plugin-0.1.0.tgz","fileCount":11,"integrity":"sha512-jWEitELYij8SpdU1u3Mn9hEAjwy4n4LU97npe5/6hkM6i6F0JXUyQbEtHYRrRLWyA26RPBBXiV9V27qQg8ohYg==","signatures":[{"sig":"MEQCIGLtDixQf9m4Qj8oOmKLjIOyIGZH6bsJZFuJoVn4Vv9eAiB9vXRREHfORY+K634d+fB3JrusMyHgyxcaeGk7Nlk/lg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106703},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"d5bd5c43bfebeb7ac02f9e029f924cb6cd5c2ec7","scripts":{"dev":"elizaos dev","test":"bun test","build":"bun run build.ts","start":"elizaos start","format":"prettier --write ./src","build:watch":"bun run build.ts --watch"},"_npmUser":{"name":"mavdol","email":"mdiallo.av@gmail.com"},"platform":"node","repository":{"url":"git+https://github.com/mavdol/capsule.git","type":"git"},"_npmVersion":"10.8.2","description":"Capsule code execution plugin for ElizaOS - Run Python and JavaScript code securely","directories":{},"packageType":"plugin","_nodeVersion":"20.20.1","dependencies":{"@elizaos/core":"1.7.2","@capsule-run/adapter":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.3","prettier":"^3.7.4","typescript":"^5.9.3","@elizaos/cli":"1.7.2"},"_npmOperationalInternal":{"tmp":"tmp/elizaos-plugin_0.1.0_1773694532258_0.9965479889473219","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"@capsule-run/elizaos-plugin","version":"0.1.1","keywords":["plugin","elizaos","capsule","code-execution","python","javascript","sandbox"],"license":"Apache-2.0","_id":"@capsule-run/elizaos-plugin@0.1.1","maintainers":[{"name":"mavdol","email":"mdiallo.av@gmail.com"}],"homepage":"https://elizaos.ai","bugs":{"url":"https://github.com/mavdol/capsule/issues"},"dist":{"shasum":"a2dcb0c1484be6763ed4ed5a7062de56b01bd1cd","tarball":"https://registry.npmjs.org/@capsule-run/elizaos-plugin/-/elizaos-plugin-0.1.1.tgz","fileCount":11,"integrity":"sha512-6nwP/V/aXypOo0xdzAxcbVAdMUVvVWt4RzBxGoask9ByQ0G8ltIMyauWTWaJ98pte7lge0e0aSAWVGJDe6rowA==","signatures":[{"sig":"MEQCIE3sGevYbFzlh0c+dC4MEvVMTY4w9VD5dwwfpn7yPoouAiBPsfXANdbhYzFYzFZeK0AqS9rhzC7nEGtkrnLfWAxatQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107031},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"d5bd5c43bfebeb7ac02f9e029f924cb6cd5c2ec7","scripts":{"dev":"elizaos dev","test":"bun test","build":"bun run build.ts","start":"elizaos start","format":"prettier --write ./src","build:watch":"bun run build.ts --watch"},"_npmUser":{"name":"mavdol","email":"mdiallo.av@gmail.com"},"platform":"node","repository":{"url":"git+https://github.com/mavdol/capsule.git","type":"git"},"_npmVersion":"10.8.2","description":"Capsule code execution plugin for ElizaOS - Run Python and JavaScript code securely","directories":{},"packageType":"plugin","_nodeVersion":"20.20.1","dependencies":{"@elizaos/core":"1.7.2","@capsule-run/adapter":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.3","prettier":"^3.7.4","typescript":"^5.9.3","@elizaos/cli":"1.7.2"},"_npmOperationalInternal":{"tmp":"tmp/elizaos-plugin_0.1.1_1773749193768_0.031443215145253944","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2":{"name":"@capsule-run/elizaos-plugin","version":"0.1.2","keywords":["plugin","elizaos","capsule","code-execution","python","javascript","sandbox"],"license":"Apache-2.0","_id":"@capsule-run/elizaos-plugin@0.1.2","maintainers":[{"name":"mavdol","email":"mdiallo.av@gmail.com"}],"homepage":"https://elizaos.ai","bugs":{"url":"https://github.com/mavdol/capsule/issues"},"dist":{"shasum":"be3221b87529f9524b8ee7d6fed3d727f4ee5cdd","tarball":"https://registry.npmjs.org/@capsule-run/elizaos-plugin/-/elizaos-plugin-0.1.2.tgz","fileCount":11,"integrity":"sha512-NzgbKTNfiMcSyDTTx90mtDSWXtZc/3iAZMaWTGJyyubTg6XZicW2AsV83HrBfIo8iKEClwN28lS8a/37JmKKVw==","signatures":[{"sig":"MEUCIQDssOBhxcSboUgjX2KpGzOrl/yOuhsYlx9Gths9IbFulwIgex+aPC8L0Ec+vMjZPV83HhJZyhRJfIqsgTIGLJ31tkw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119184},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"d5bd5c43bfebeb7ac02f9e029f924cb6cd5c2ec7","scripts":{"dev":"elizaos dev","test":"bun test","build":"bun run build.ts","start":"elizaos start","format":"prettier --write ./src","build:watch":"bun run build.ts --watch"},"_npmUser":{"name":"mavdol","email":"mdiallo.av@gmail.com"},"platform":"node","repository":{"url":"git+https://github.com/mavdol/capsule.git","type":"git"},"_npmVersion":"10.8.2","description":"Capsule code execution plugin for ElizaOS - Run Python and JavaScript code securely","directories":{},"packageType":"plugin","_nodeVersion":"20.20.1","dependencies":{"@elizaos/core":"1.7.2","@capsule-run/adapter":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.3","prettier":"^3.7.4","typescript":"^5.9.3","@elizaos/cli":"1.7.2"},"_npmOperationalInternal":{"tmp":"tmp/elizaos-plugin_0.1.2_1773754784708_0.5718682055841524","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.3":{"name":"@capsule-run/elizaos-plugin","version":"0.1.3","keywords":["plugin","elizaos","capsule","code-execution","python","javascript","sandbox"],"license":"Apache-2.0","_id":"@capsule-run/elizaos-plugin@0.1.3","maintainers":[{"name":"mavdol","email":"mdiallo.av@gmail.com"}],"homepage":"https://elizaos.ai","bugs":{"url":"https://github.com/mavdol/capsule/issues"},"dist":{"shasum":"0c110dd4d9c6609287e3552e19569a7e224b1c79","tarball":"https://registry.npmjs.org/@capsule-run/elizaos-plugin/-/elizaos-plugin-0.1.3.tgz","fileCount":11,"integrity":"sha512-jNUJDaUnoZxlOHQNlwJw6wqemFExiA8eti1kYPak9DndnlrJ5qIGEzqcO4HyirQ9wEFLUXa68yBEhQqUtphffA==","signatures":[{"sig":"MEQCIBAjv/97fe8slgxKudSnwZpCAoI2iCN5J1MclR1b3xPxAiAelEx3zg4jAnNv87il3qwnsT5gFo5AFPMiteZ384JMSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":119948},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"d5bd5c43bfebeb7ac02f9e029f924cb6cd5c2ec7","scripts":{"dev":"elizaos dev","test":"bun test","build":"bun run build.ts","start":"elizaos start","format":"prettier --write ./src","build:watch":"bun run build.ts --watch"},"_npmUser":{"name":"mavdol","email":"mdiallo.av@gmail.com"},"platform":"node","repository":{"url":"git+https://github.com/mavdol/capsule.git","type":"git"},"_npmVersion":"10.8.2","description":"Capsule code execution plugin for ElizaOS - Run Python and JavaScript code securely","directories":{},"packageType":"plugin","_nodeVersion":"20.20.1","dependencies":{"@elizaos/core":"1.7.2","@capsule-run/adapter":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.3","prettier":"^3.7.4","typescript":"^5.9.3","@elizaos/cli":"1.7.2"},"_npmOperationalInternal":{"tmp":"tmp/elizaos-plugin_0.1.3_1773756070031_0.2516339776379004","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.4":{"name":"@capsule-run/elizaos-plugin","version":"0.1.4","keywords":["plugin","elizaos","capsule","code-execution","python","javascript","sandbox"],"license":"Apache-2.0","_id":"@capsule-run/elizaos-plugin@0.1.4","maintainers":[{"name":"mavdol","email":"mdiallo.av@gmail.com"}],"homepage":"https://elizaos.ai","bugs":{"url":"https://github.com/mavdol/capsule/issues"},"dist":{"shasum":"8c7f1592db9ecc7d740db4ad93717ea34113af8d","tarball":"https://registry.npmjs.org/@capsule-run/elizaos-plugin/-/elizaos-plugin-0.1.4.tgz","fileCount":11,"integrity":"sha512-gBI3Fw+25fQmp1rorZ69DhWzxxUeDqwiv3bTpoYDaz1SsPAxzuKwYagFQc4azAax+SvbdJkTdGFHB1oWTE9X+g==","signatures":[{"sig":"MEQCIDHI+oEDYZZx2ejPfYPxy1u2+EfT3V9dSeLb6GIZebkWAiAvdjZ5Iro6XAdGmceleeUd301i9zV7LQP03S8YMX2Naw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":123706},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"d5bd5c43bfebeb7ac02f9e029f924cb6cd5c2ec7","scripts":{"dev":"elizaos dev","test":"bun test","build":"bun run build.ts","start":"elizaos start","format":"prettier --write ./src","build:watch":"bun run build.ts --watch"},"_npmUser":{"name":"mavdol","email":"mdiallo.av@gmail.com"},"platform":"node","repository":{"url":"git+https://github.com/mavdol/capsule.git","type":"git"},"_npmVersion":"10.8.2","description":"Capsule code execution plugin for ElizaOS - Run Python and JavaScript code securely","directories":{},"packageType":"plugin","_nodeVersion":"20.20.1","dependencies":{"@elizaos/core":"1.7.2","@capsule-run/adapter":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.3","prettier":"^3.7.4","typescript":"^5.9.3","@elizaos/cli":"1.7.2"},"_npmOperationalInternal":{"tmp":"tmp/elizaos-plugin_0.1.4_1773759029368_0.2742231338649901","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.5":{"name":"@capsule-run/elizaos-plugin","version":"0.1.5","keywords":["plugin","elizaos","capsule","code-execution","python","javascript","sandbox"],"license":"Apache-2.0","_id":"@capsule-run/elizaos-plugin@0.1.5","maintainers":[{"name":"mavdol","email":"mdiallo.av@gmail.com"}],"homepage":"https://elizaos.ai","bugs":{"url":"https://github.com/mavdol/capsule/issues"},"dist":{"shasum":"992b48ff528c40b551f191f908d574feeab4c1ec","tarball":"https://registry.npmjs.org/@capsule-run/elizaos-plugin/-/elizaos-plugin-0.1.5.tgz","fileCount":11,"integrity":"sha512-v25GEP4HDgl6lEdWm3sczBPrG8slI1oEyw5RaSZMLXC929ZR/9ev87KjpuYIuh/HnmmjU59vnYPTXo5ONApcAA==","signatures":[{"sig":"MEUCIEmW26CVCGacMyQIpNP410+5X6VDLTpoitHASmUfC9LKAiEAvsqQ7fHPF5vDpJrCscTsYh6K1upEx4Lv5b/e0S3IsIQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131097},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"d5bd5c43bfebeb7ac02f9e029f924cb6cd5c2ec7","scripts":{"dev":"elizaos dev","test":"bun test","build":"bun run build.ts","start":"elizaos start","format":"prettier --write ./src","build:watch":"bun run build.ts --watch"},"_npmUser":{"name":"mavdol","email":"mdiallo.av@gmail.com"},"platform":"node","repository":{"url":"git+https://github.com/mavdol/capsule.git","type":"git"},"_npmVersion":"10.8.2","description":"Capsule code execution plugin for ElizaOS - Run Python and JavaScript code securely","directories":{},"packageType":"plugin","_nodeVersion":"20.20.1","dependencies":{"@elizaos/core":"1.7.2","@capsule-run/adapter":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"dotenv":"^17.2.3","prettier":"^3.7.4","typescript":"^5.9.3","@elizaos/cli":"1.7.2"},"_npmOperationalInternal":{"tmp":"tmp/elizaos-plugin_0.1.5_1773771860959_0.30516866650722396","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2026-03-16T20:55:32.193Z","modified":"2026-09-14T21:17:43.737Z","0.1.0":"2026-03-16T20:55:32.415Z","0.1.1":"2026-03-17T12:06:33.988Z","0.1.2":"2026-03-17T13:39:44.864Z","0.1.3":"2026-03-17T14:01:10.200Z","0.1.4":"2026-03-17T14:50:29.556Z","0.1.5":"2026-03-17T18:24:21.125Z"},"bugs":{"url":"https://github.com/mavdol/capsule/issues"},"license":"Apache-2.0","homepage":"https://elizaos.ai","keywords":["plugin","elizaos","capsule","code-execution","python","javascript","sandbox"],"repository":{"url":"git+https://github.com/mavdol/capsule.git","type":"git"},"description":"Capsule code execution plugin for ElizaOS - Run Python and JavaScript code securely","maintainers":[{"name":"mavdol","email":"mdiallo.av@gmail.com"}],"readme":"# `Capsule` ElizaOS Plugin\n\n[![@capsule-run/elizaos-plugin Release](https://github.com/mavdol/capsule/actions/workflows/elizaos-plugin-release.yml/badge.svg)](https://github.com/mavdol/capsule/actions/workflows/elizaos-plugin-release.yml)\n\nExecute Python and JavaScript code securely in your ElizaOS agents using local WASM sandboxes.\n\n## Installation\n\n```bash\nbun install @capsule-run/elizaos-plugin\n```\n\n## Usage\n\nAdd the plugin to your ElizaOS agent configuration:\n\n```typescript\nimport { capsulePlugin } from '@capsule-run/elizaos-plugin';\n\nconst agent = {\n  name: \"assistant\",\n  plugins: [capsulePlugin],\n  // ... other agent config\n};\n```\n\n## Available Actions\n\n### `EXECUTE_CODE`\n\nExecutes Python or JavaScript code in a secure Capsule sandbox.\n\n**Aliases:** `RUN_CODE`, `EVAL_CODE`, `CODE_EXEC`, `RUN_PYTHON`, `RUN_JAVASCRIPT`\n\n**Example Interactions:**\n\n```\nUser: Calculate the fibonacci of 10\nAgent: *generates and safely executes Python code*\nResult: 55\n```\n\n## How It Works\n\nThe plugin uses Capsule to execute code in secure sandboxes. It uses a pre-built [adapter](https://github.com/mavdol/capsule/tree/main/integrations/typescript-adapter) with the default sandboxes included to make it simple to use.\n\nLearn more about [Capsule](https://github.com/mavdol/capsule).\n\n","readmeFilename":"README.md"}