@dsh-pi/tools
v0.1.0
Published
pi-compatible tool surface for DeepSeek Harness (dsh-pi): an `edit` tool with pi's exact interface plus pi-style descriptions for read/write/bash.
Downloads
53
Maintainers
Readme
@dsh-pi/tools
pi-compatible tool surface for DeepSeek Harness (dsh-pi), aligning the model-visible tool layer with pi's:
edittool — pi's exact interface:path+edits[]witholdText/newText. EveryoldTextmust match a unique, non-overlapping region of the original file; edits are validated like pi and applied in one call. (pi's description is used verbatim.)- Description alignment — via the
system-prompt/assemblewaterfall, the model-visible descriptions ofread/write/bashare rewritten to pi's wording.bashkeeps a one-line sandbox-escalation note so dsh's denial policy is not lost.
Install into a profile
dsh plugin --profile web add @dsh-pi/tools # published, or:
dsh plugin --profile web add file:/abs/path/to/dsh-pi-toolsThe bundle auto-registers in the profile manifest. Restart the profile.
Config
| Field | Default | Meaning |
|---|---|---|
| alignDescriptions | true | rewrite read/write/bash descriptions to pi wording |
Notes
- Param names (
pathvsfile_path) are intentionally NOT renamed: execution binds by parameter name, and rewriting schemas would break calls. The model adapts (observed using both styles). str_replace_editorremains available as the native dsh editor; the persona tool list steers towardeditfor pi-style precision.- Requires dsh ≥ 0.1.0-rc.6 (
@deepseek-ai/dsh-toolsresolves from the profile module tree).
Layout
| File | Role |
|---|---|
| index.js | Cordis plugin (registers edit, installs the assemble description listener) |
| cordis.patch.yml | bundle patch — inserts the dsh-pi-tools row |
| package.json | declares dsh.bundle.patch |
License
MIT
