NeevCloudAI/dsh-neev-sandbox ↗★ 1

@neevcloud/dsh-sandbox

提供沙箱执行环境支持 适合需要在 NeevCloud 隔离沙箱中安全执行代码和任务的用户。

包名
@neevcloud/dsh-sandbox
兼容性
待验证
Harness 依赖范围
0.1.0-rc.7
Cordis 依赖范围
4.0.1
版本
0.1.2
许可证
Apache-2.0
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:NeevCloudAI/dsh-neev-sandbox

Configuration

The runtime module accepts these Cordis config fields (all optional):

FieldDefaultMeaning
orgIdNEEV_ORG_IDOrganization id
projectIdNEEV_PROJECT_IDProject id
templateIdsb-ubuntu-26-04-minimalSandbox template the server provisions from
image—Explicit OCI image; takes precedence over templateId
cwddiscoveredAbsolute working directory; discovered via pwd when omitted
persist—A stable sandbox name. When set, the sandbox is reused across runs (reconnected by name) and paused instead of deleted on exit, so its files survive. Omit for the default, fully-ephemeral behavior.
idleTimeoutMs—Auto-pause the sandbox after this much inactivity to save cost, resuming lazily on the next operation. Omit to never auto-pause.

The API key is read only from NEEV_API_KEY — it is never a config field, so a secret can never end up in a committed profile patch, and it is never forwarded into the sandbox.

Override a row in your profile's cordis.patch.yml (a patch replaces the whole config, so restate what you need):

- id: neev-runtime
  name: '@neevcloud/dsh-sandbox/runtime'
  config:
    templateId: sb-ubuntu-26-04-minimal