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.

Agent Capabilities ★ 0 updated 2026-10-19
View on GitHub ↗

Install

dsh plugin add https://github.com/58fly/dsh-language-guard

Copied 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

Alternatives

MiloMMIN/dsh-agent-board · lynx-gt/dsh-subagent-cwd · linyp/dsh-plugin-langfuse

More plugins in Agent Capabilities

Browse more in Agent Capabilities

Guides for Agent Capabilities plugins