weijiafu14/dsh-remote-sandbox--packages-protocol ↗★ 0
dsh-remote-protocol
Wire protocol shared by the dsh remote-sandbox sidecar and its host-side providers: framed request/response plus streaming chunks over one WebSocket.
AI Analysis
核心用途是为远程沙箱边车与主机端提供底层的 WebSocket 通信协议支持。适合需要深入定制或开发 DSH 远程沙箱通信机制的开发者。属于底层协议组件,通常作为依赖自动安装。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full 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. |