ztting01/dsh-agentenv-sandbox ↗★ 0
dsh-agentenv-sandbox
AgentENV execution-world bundle for DeepSeek Harness
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ztting01/dsh-agentenv-sandbox说明文档
阅读完整 README ↗Configuration
Override the agentenv-runtime row in the profile's cordis.patch.yml. A later patch replaces the complete config, so restate every value you need.
| Key | Default | Meaning |
|---|---|---|
apiUrl | E2B_API_URL or http://127.0.0.1:8000 | AgentENV control plane |
sandboxUrl | E2B_SANDBOX_URL or apiUrl | AgentENV data plane |
apiKey | E2B_API_KEY, then AENV_API_KEY | Host-only API credential |
template | AENV_TEMPLATE_ID | Required template id or alias |
sandboxId | omitted | Reconnect instead of create |
cwd | Harness process.cwd() | Shared absolute remote cwd |
timeoutMs | 3600000 | Rolling sandbox lease, renewed while Harness runs |
secure | true | Secure envd control traffic |
onDispose | kill | kill or AgentENV pause |
uploadWorkspace | true | Initial bounded host-to-sandbox upload |
uploadMaxFiles | 50000 | Upload file-count bound |
uploadMaxBytes | 512 MiB | Aggregate upload bound |
uploadMaxFileBytes | 256 MiB | Per-file upload bound |
symlinkPolicy | copy-internal | Copy safe internal file/directory links, or use error/skip |
To preserve a sandbox across Harness restarts, set onDispose: pause, then start with the recorded sandboxId. Automatic discovery and host write-back are intentionally not part of this MVP.