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 읽기 ↗
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. |