weijiafu14/dsh-remote-sandbox--packages-bundle0

dsh-remote-sandbox

One-line DeepSeek Harness bundle that moves the execution world into a crash-resilient, heartbeat-kept, workspace-synced E2B sandbox.

AI 分析

核心用途是提供一键式远程沙箱执行环境,替代本地执行。适合需要安全隔离运行代码、防止本地系统被污染或崩溃的开发与 Agent 任务。必要条件是需要配置 E2B_API_KEY。

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

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:weijiafu14/dsh-remote-sandbox#23bb0cf3787371c2430980c76a67998ae460f371&path:packages/bundle

ドキュメント

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.