tools
Verified@dsh-pi/tools Β· v0.1.0 Β· MIT
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.
Install
dsh plugin add @dsh-pi/tools Confirm the layer applied with dsh --profile default --dump-config β see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Tags
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-tools
The 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