dsh-pi-subagent: Turning Your Local Pi into an Auditable DSH Sub-Agent
dsh-pi-subagent is a DSH bundle maintained by A1311981684 that wraps the local Pi coding agent as an out-of-process sub-agent backend. Each pi tool invocation spawns a pi-dev subprocess and, by default, projects the NDJSON event stream into a read-only DSH sub-session. The parent model receives the final answer along with the sub-session ID, and session resumption is supported. Requires Node.js ^22.19.0 or >=24, DSH >= 0.2.2-rc.1, and the Pi CLI. Can be installed via `dsh plugin --profile web add` from npm or GitHub. The plugin has no runtime npm dependencies and executes with DSH process privileges; it is recommended to review the source code and wrapper configuration before use.
Read More