piagent_
← ~/map

$ cat ~/map/pi-dsh-minimal.md

pi-dsh-minimal

Pi extension that anchors DeepSeek V4 Pro and V4 Flash to the official DSH minimal surface (one system prompt, two tools) on the first request, then restores pi's normal tools.

extensions✓ Oct 16

Facts

repository
github.com/Averyyy/pi-dsh-minimal ↗
GitHub Stars
★ 49
Forks
6
license
NOASSERTION
npm / mo
—
last push
Aug 20, 2026

install

pi install npm:pi-dsh-minimal

## TL;DR

pi extension that anchors DeepSeek V4 Pro and V4 Flash to the official DeepSeek Harness minimal surface — a one-line system prompt plus persistent bash and str_replace_editor — for the first request of a session, then restores pi's normal tools.

## Key points

## FAQ

Q How do I verify it is active?

Enable the extension, select DeepSeek V4 Pro, and ask for a small edit: the first thinking block should open with We need… or I need… rather than Let me…, the first request should expose only bash and str_replace_editor with the official one-line prompt, and later requests should see pi's original tools again. PI_DSH_MINIMAL_DUMP=/tmp/dsh-minimal-request.json writes the rewritten surface for inspection.

Q What happened to the v0.2.x Flash routing profile?

It was removed in v0.3.0 — a controlled DeepSWE A/B measured no lift (4/11 on vs 5/10 off), and upstream's own related-chain data showed near-field guidance was negative, so v0.3.1 enabled the anchored-standard bootstrap for Flash instead.

## References

## Related entries

Last updated: Aug 31, 2026