58fly/dsh-language-guard
Makes the DSH agent think and answer in a chosen language, Simplified Chinese by default, with three strength levels, a settings panel and a /language command.
The plugin injects a language constraint at three strength levels, so it can bias the output language, enforce it, or enforce it including reasoning, and keeps the choice switchable from a settings panel or the /language slash command. The README measures why the guard is needed rather than prompting alone: on DSH 0.2.1-rc.2, 98.1 percent of the characters and 99.8 percent of the ASCII in the prompt come from English tool documentation, which drags the model back to English. It documents coexistence with dsh-context and how it differs from the official cot-translation plugin.
Install
dsh plugin add https://github.com/58fly/dsh-language-guardCopied verbatim from the README's Install section, which also lists a pinned GitHub form, github:58fly/dsh-language-guard#v0.1.0, and an absolute-path form for a local checkout. There is no registry package for this name, so the documented GitHub URL is the install path. No dependencies and no build step: dependencies is empty and every peer dependency is optional.
Compatibility
Requires DSH >= 0.2.1-rc.2 and Node ^22.19.0 or >=24.0.0. Also requires the zstd command on PATH, installable with brew install zstd on macOS. The constraint takes effect on the next message rather than mid-turn, and the README documents how to verify that it reached the system prompt.
Details
- Repo: 58fly/dsh-language-guard
- Category: Agent Capabilities
- Stars: 0
- Version: 0 stars, JavaScript, MIT, created 2026-10-18; install source is GitHub; English README with a README.zh.md translation.
- Last push: 2026-10-19
Alternatives
MiloMMIN/dsh-agent-board · lynx-gt/dsh-subagent-cwd · linyp/dsh-plugin-langfuse