weijiafu14/dsh-remote-sandbox--packages-protocol ↗★ 0
dsh-remote-protocol
DSH 远程沙箱边车与其主机端提供商共享的传输协议:在单个 WebSocket 上实现帧格式的请求/响应以及流式分块传输。
AI 分析
核心用途是为远程沙箱边车与主机端提供底层的 WebSocket 通信协议支持。适合需要深入定制或开发 DSH 远程沙箱通信机制的开发者。属于底层协议组件,通常作为依赖自动安装。
安装
此插件尚未提供可验证的 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. |