weijiafu14/dsh-remote-sandbox--packages-sidecar ↗★ 0
dsh-remote-sidecar
In-sandbox executor for the dsh remote-sandbox suite: a single pure-JS bundle that serves fs and process primitives over the sidecar WebSocket protocol.
AI 分析
核心用途是在 E2B 沙箱内部接收并执行来自主机的指令。适合需要在隔离沙箱内运行文件和进程操作的 Agent 任务。作为远程沙箱套件的内部执行器,由管理器自动部署和运行。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗Configuration (dsh-sandbox-keeper)
| Key | Default | Meaning |
|---|---|---|
apiKey | $E2B_API_KEY | E2B API key; never forwarded into the sandbox |
template | E2B base image | E2B template id (the base image ships Node) |
cwd | /home/user/workspace | workspace path inside the sandbox |
hostWorkspace | process.cwd() | host project synced in at open, out on request/teardown |
timeoutMs | 300000 | pause deadline; the heartbeat pushes it forward |
heartbeatMs | 30000 | keep-alive and liveness interval |
excludes | node_modules, .pnpm-store, .dsh-remote-sidecar | path segments never synced (.git is synced) |
pauseOnDispose | true | pause (retain disk) rather than kill on teardown |
syncIn / syncOut | tar over the sidecar | override with your own function (!!js) for git, object storage, a PVC, etc. |