dsh-code-runtime-container

Container-isolated backend for the `ctx.codeRuntime` seam: each Code Mode program runs in a fresh container with no network, a read-only rootfs, dropped capabilities, and kernel-enforced memory, CPU and pid ceilings.

Overview

Container-isolated backend for the `ctx.codeRuntime` seam: each Code Mode program runs in a fresh container with no network, a read-only rootfs, dropped capabilities, and kernel-enforced memory, CPU and pid ceilings.

Installation

Install from 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.

Version compatibility

Independent install test

Install result
Build script approval required
Test date

Installation notes

Build scripts blocked during testing

  • github:tancheng33/dsh-code-runtime-container
  • May run terminal commands