dsh-chinese-mode-modern: Independent language switching for DSH responses, reasoning, and tool descriptions

Introduction

When conversing with models in DeepSeek Harness (DSH), you may want the interface and output to be in Chinese as much as possible. However, the “reply body,” “model thinking process,” and “explanation text during tool calls” are often mixed together, making it difficult to control each independently with a single global instruction. The community previously had dawnliming/dsh-chinese-mode doing similar things, but that version stopped before the DSH core rewrite and no longer works with the current DSH.

dsh-chinese-mode-modern was reimplemented by maintainer AzureSkyHuHu on the existing DSH API, adding a language panel next to the input box. It is enabled by default after installation and works out of the box; configuration is written to the profile and persists after restart.

What Is This

dsh-chinese-mode-modern is a client-side plugin for DSH: it provides a “中文” (Chinese) button next to the Composer input box. Opening the panel allows you to independently switch the language for Reply, Thinking, and Tool Descriptions. The settings page provides the same options along with editable injected source text.

Core Features

The following capabilities described in the README can be used directly after installation or adjusted in the settings page.

Input Box Language Panel

There is a 「中文」 button next to the input box. Clicking it opens a panel containing:

  1. Master switch
  2. Three independent switches for Reply, Thinking, and Tool Descriptions, which can be adjusted in place

Clicking outside the panel or pressing Esc closes it.

Settings Page

Path: Settings → Chinese Mode. Options are consistent with the panel, and you can modify the injected source text (prompt fragments) corresponding to the three switches above.

Anchoring Compatibility

When a preset name hits certain keywords, Thinking is forced to use English. Default keywords include: liangshen, 梁神, anchored, 锚定 (specific behavior depends on the plugin implementation).

Persistence

Configuration is written to the current profile’s cordis.patch.yml and remains effective after restarting DSH.

Installation and Activation

The plugin can be installed via the plugin manager using the package name dsh-chinese-mode-modern, or by having the agent call the host tool:

plugin_manager  action: install_bundle
                target: dsh-chinese-mode-modern

Command line example (note: dsh plugin add is merely a pnpm passthrough that installs the package but does not enable it):

dsh plugin --profile web add dsh-chinese-mode-modern

After installation, restart DSH for the plugin to load as expected.

Typical Usage

  1. After installing and restarting DSH, find the 「中文」 button next to the Composer input box (Chinese mode capabilities are enabled by default).
  2. For temporary adjustments: click 「中文」 → toggle the master switch or individual items (Reply / Thinking / Tool Descriptions) in the panel → click outside the panel or press Esc to close.
  3. To change injected source text or set long-term preferences: open Settings → Chinese Mode. The same switches as in the panel are available here, and you can edit the injected content for each of the three items.
  4. When using a preset whose name contains anchoring keywords, the thinking language will be forced to English per the plugin’s rules to avoid conflicts with anchoring-type workflows.

Uninstallation

plugin_manager  action: remove_bundle
                target: dsh-chinese-mode-modern

Or:

dsh plugin --profile web remove dsh-chinese-mode-modern

Compatibility and Version Requirements

Declared in package.json:

"engines": {
  "dsh": ">=0.2.1-alpha.1"
}

The plugin does not lock to a specific DSH minor version: @deepseek-ai/dsh-* packages are not listed in peerDependencies, and the README states that subsequent DSH upgrades generally do not require plugin changes. For where the old 0.2.1 version fails and porting strategies, see docs/porting-notes.md in the repository.

Client-side injection depends on UI extension points such as @deepseek-ai/dsh-client-ui-slots, dsh-client-ui-settings, and dsh-client-ui-conversation, targeting the web platform (see the dsh.client field in package.json).

Use Cases and Notes

Who It’s For

  • Users who write prompts and view replies in the DSH Web client daily and want to independently control the language of replies / thinking / tool descriptions.
  • Users migrating from the old dsh-chinese-mode who need a Chinese mode implementation compatible with the current DSH core.

Before Using, Please Note

  • The DSH ecosystem follows the “everything is a plugin” approach; community directories like SkillHub are independent sites with no official affiliation with DeepSeek / High-Flyer. Before installing, please review the GitHub source code and the MIT license yourself.
  • The plugin runs with the current DSH process privileges and participates in client UI and conversation-related injections. If you have compliance requirements regarding injected source text or preset keyword behavior, please review and adjust them in the settings page before using it in production.

Conclusion

dsh-chinese-mode-modern splits Chinese mode into three independently switchable output segments and provides consistent configuration in both the input box and the settings page, with configuration persisted in the profile. If you are using the DeepSeek Harness Web client, you can install dsh-chinese-mode-modern using the installation command above, and after restarting, start adjusting from the 「中文」 button next to the input box.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye