dsh-plugin-pyrun: One-Step Execution of Python Source Code in DSH
dsh-plugin-pyrun is a community plugin for DeepSeek Harness that registers a "python" tool, executing model-generated source code via stdin using `python -X utf8 -u -` to avoid shell escaping and encoding issues. It supports foreground timeouts, background jobs (job_output/job_kill), and sandbox privilege escalation consistent with pwsh. Targeting DSH 0.2.x (peer ^0.2.0-rc.1), installation is performed via `link: <local-path>`, and a restart of dsh is required after installation.
Read MoreDeepSeek Harness Plugin: dsh-plugin-pyrun
`dsh-plugin-pyrun` is a Python code execution plugin for DeepSeek Harness (DSH), designed to address issues with Shell escaping, two-step execution overhead, and encoding anomalies. It executes code by piping input directly through `stdin`, and supports foreground/background modes, end-to-end UTF-8 handling, sandbox control, and job management. Installation requires using the `link:` method and a restart; the tool supports multiple parameter configurations and result markers.
Read More