weijiafu14/dsh-remote-sandbox--packages-keeper ↗★ 0
dsh-sandbox-keeper
Remote-sandbox lifecycle owner for DeepSeek Harness: E2B sandbox create/pause/resume, sidecar deployment, heartbeat keep-alive, crash-transparent recovery, and pluggable tar IN/OUT sync.
AI 分析
核心用途是管理 E2B 远程沙箱的完整生命周期与状态同步。适合需要维持沙箱长连接、实现崩溃自动恢复和本地工作区双向同步的复杂 Agent 任务。需要配合 E2B 平台及 API 密钥使用。
インストール
検証済み 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. |