Canonical source: docs-site/developer/modules/pi-runner.md.
src/pi-runner.tspi, assemble runtime input, stream tool events, and parse structured output.toolMode and workspaceDirOverride for host-managed coder isolation.Open markdown: pi-runner.md.