Code Runtime (TypeScript)
The execution environment behind run_code for PTC mode: each program runs in one fresh worker thread with an empty environment, heap cap, and hard termination. Containment, not a security boundary; bash-equivalent trust by design.
Source: dsh · Status: stable
Install
sh
dsh plugin --profile <name> add @deepseek-ai/dsh-code-runtime-worker-threadInside Mayfly: /plugin install code-runtime-ts (or browse with /plugin). Restart and start a new session to apply.
Frontend support
| ✅ | Mayfly terminal: full tools & commands |
| ✅ | dsh Web: tools (no dedicated panel) |
Provides
- Tools:
run_code - Commands: none
- Capabilities: code-execution
Verification
Reviewed versions: @deepseek-ai/dsh-code-runtime-worker-thread@0.0.1-rc.3(2026-09-04) Listing is disclosure and review, not a sandbox — installing a third-party plugin equals installing an arbitrary npm package.
Links
README
(该插件未提供 README 摘录 / No README excerpt shipped.)