dsh-code-runtime-container

`ctx.codeRuntime` seam 的容器隔离后端:每个 Code Mode 程序跑在全新容器里,无网络、根文件系统只读、丢弃全部 capability,内存/CPU/进程数上限由内核强制。

插件介绍

`ctx.codeRuntime` seam 的容器隔离后端:每个 Code Mode 程序跑在全新容器里,无网络、根文件系统只读、丢弃全部 capability,内存/CPU/进程数上限由内核强制。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:tancheng33/dsh-code-runtime-container

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

第三方安装实测

安装测试结果
需要批准构建脚本
测试日期

安装提示

测试时被拦截的构建脚本

  • github:tancheng33/dsh-code-runtime-container
  • 可能调用终端命令