dsh-enforce-package-manager: Preventing Incorrect Package Manager Commands in DSH
2026-10-22
DeepSeek Harness plugin
DeepSeek
DSH
dsh-enforce-package-manager
Workflow
package manager
In DeepSeek Harness, agents often mistakenly use npm/pip when a project actually uses pnpm, uv, etc., leading to lockfile chaos or dependencies not being written to the manifest. The community plugin dsh-enforce-package-manager (by acus9345) detects the project’s package manager before the Shell tool call; if it does not match, the request is intercepted and a translated, correct command is returned. It supports multiple ecosystems (JavaScript and Python), with configurable deny/ask modes and per-language toggles. Installation example: dsh plugin --profile web add dsh-enforce-package-manager; it must be added separately to each profile.
Read More