weijiafu14/dsh-remote-sandbox--packages-protocol0

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 分析

核心用途是为远程沙箱边车与主机端提供底层的 WebSocket 通信协议支持。适合需要深入定制或开发 DSH 远程沙箱通信机制的开发者。属于底层协议组件,通常作为依赖自动安装。

パッケージ
dsh-remote-protocol
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/13

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

Configuration (dsh-sandbox-keeper)

KeyDefaultMeaning
apiKey$E2B_API_KEYE2B API key; never forwarded into the sandbox
templateE2B base imageE2B template id (the base image ships Node)
cwd/home/user/workspaceworkspace path inside the sandbox
hostWorkspaceprocess.cwd()host project synced in at open, out on request/teardown
timeoutMs300000pause deadline; the heartbeat pushes it forward
heartbeatMs30000keep-alive and liveness interval
excludesnode_modules, .pnpm-store, .dsh-remote-sidecarpath segments never synced (.git is synced)
pauseOnDisposetruepause (retain disk) rather than kill on teardown
syncIn / syncOuttar over the sidecaroverride with your own function (!!js) for git, object storage, a PVC, etc.