Skip to content

Code Runtime (Python) ​

Python execution environment behind run_code for PTC mode, as the alternative to the TypeScript worker-thread runtime. 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-python

Inside Mayfly: /plugin install code-runtime-py (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-python@0.1.0-rc.8(2026-09-04) Listing is disclosure and review, not a sandbox — installing a third-party plugin equals installing an arbitrary npm package.

Repository · Docs

README ​

(该插件未提供 README 摘录 / No README excerpt shipped.)

Preview · v0.1.4-rc.1