DeepSeek Harness Plugin

CAI-MH/dsh-reply-language

Stars ★ 0 Category Identity & Communication Added 2026-09-06

Force the model to write all replies in a chosen language (Simplified Chinese by default) via a system-prompt section, switchable anytime with a tool.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:CAI-MH/dsh-reply-language

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

English | 中文

Force the model to reply in a specific language (Simplified Chinese by default) in DeepSeek Harness (DSH) — switchable at any time via a tool.

Features

  • Injects a system-prompt section that requires the model to write all replies in the configured language — explanations, summaries, body text and error messages included
  • Code, commands, file paths, API names and proper nouns stay in their original form
  • Ships two model tools:
    • reply_language_set — switch the required reply language on the fly (e.g. 中文, English, 日本語, Français); takes effect immediately
    • reply_language_get — show the currently required reply language

Install

dsh plugin --profile web add dsh-reply-language

Or add it to your profile's package.json dependencies and list it under dsh.profile.bundles, then restart dsh web.

How it works

The plugin registers a system-prompt section (order: 900) that pins the reply-language requirement above any language hints in user messages, until explicitly changed via reply_language_set. Host-only bundle — no client UI.

Configuration

No configuration required. The default language is Simplified Chinese; change it at runtime with the reply_language_set tool.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.