Komorebi-Nine/dsh-inline-pi-agent ↗★ 0

dsh-inline-pi-agent

Run the pi coding agent loop inside DeepSeek Harness as a profile bundle

Package
dsh-inline-pi-agent
Compatibility
Unverified
Harness peer range
^0.2.2-rc.1
Cordis peer range
^4.1.0
Version
0.1.0
License
MIT
Last updated
Nov 8, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Komorebi-Nine/dsh-inline-pi-agent

Configuration

keydefaultmeaning
piPathpipi executable. On Windows, a .cmd/.exe path or a bare name (resolved through cmd.exe).
modelemptyInitial route pushed to pi, e.g. deepseek/deepseek-flash.
modelsemptyDSH route → pi route mapping, when the two catalogs use different names.
catalogtrueRegister pi's model catalog into DSH so the selector lists pi's models.
requestHeadertrueRecord request/header and request/context per step. Needed for token measurement and for handing a session back to the built-in loop.
streamPaceMs16Reveal cadence for streamed text (8–200 ms). pi delivers deltas in bursts; each tick reveals at most one frame of buffered text.
streamCatchUpFrames6How many ticks a full backlog should take to drain, which sets the reveal rate while text is arriving faster than it is shown.
streamMaxCharsPerFrame64Upper bound on characters revealed by one frame.
piSessionDir~/.dsh/pi-sessionsWhere rebuilt pi session snapshots are written.
debugfalseProtocol and lifecycle diagnostics.

Override any of them in your profile patch:

- id: pi-agent
  config:
    piPath: 'C:/Users/me/.pi/agent/bin/pi.cmd'