feat(e2b): add remote runtime providers

This commit is contained in:
Tianyi Cui
2026-07-28 10:05:30 +08:00
parent b9b25f81cb
commit e7b682f1f6
56 changed files with 3565 additions and 30 deletions
+30
View File
@@ -0,0 +1,30 @@
# POC overlay: keep the headless agent and model-facing tools, but place its
# filesystem and managed Bash process world in one short-lived E2B sandbox.
- id: base
name: '@cordisjs/plugin-include'
config:
path: ./cordis.yml
patches:
- id: subprocess
name: '@deepseek-ai/dsh-subprocess-local'
disabled: true
- id: fs-local
name: '@deepseek-ai/dsh-fs-local'
disabled: true
- id: bash
name: '@deepseek-ai/dsh-bash-local'
config:
cwd: !!js process.cwd()
timeoutMs: 60000
- insert:
- id: e2b
name: '@deepseek-ai/dsh-e2b'
config:
cwd: !!js process.cwd()
timeoutMs: 300000
onTimeout: kill
onDispose: kill
- id: subprocess-e2b
name: '@deepseek-ai/dsh-subprocess-e2b'
- id: fs-e2b
name: '@deepseek-ai/dsh-fs-e2b'