Skip to content

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:

  1. edit tool β€” pi's exact interface: path + edits[] with oldText/newText. Every oldText must 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.)
  2. Description alignment β€” via the system-prompt/assemble waterfall, the model-visible descriptions of read / write / bash are rewritten to pi's wording. bash keeps 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 (path vs file_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_editor remains available as the native dsh editor; the persona tool list steers toward edit for pi-style precision.
  • Requires dsh β‰₯ 0.1.0-rc.6 (@deepseek-ai/dsh-tools resolves 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