Introduction¶
In DeepSeek Harness (DSH), models sometimes output “reasoning” or “thinking” blocks. The interface may default to collapsed, and the reasoning content may not be in your preferred language. If you want the reasoning process displayed in Simplified Chinese (or another language) and kept expanded during streaming output—without manually clicking the expand button each time—you need to do two things on the client side: request the specified language in the system prompt, and have the Host auto-expand reasoning rows after accepting the settings, while preserving rows the user has manually collapsed.
dsh-reasoning-language (maintained by jide315) is a client-side plugin in the DSH ecosystem. It configures reasoning language and expansion behavior through the settings page; the language request is written into subsequent prompt assembly, and the final answer still follows the user’s language. The plugin does not translate existing conversation content.
What Is This¶
- Positioning: A client-side plugin targeting the DSH 0.2 configuration API; it injects a settings form into the Web configuration file and influences the display of reasoning rows and language requests in prompts.
- Repository: github.com/jide315/dsh-reasoning-language
- Directory Page: skillhub.cn plugin page
- Problem Solved: Allows selecting the language used by DSH reasoning (default: Simplified Chinese), and after settings take effect, streamed and existing thinking rows are expanded by default; rows manually collapsed by the user are preserved.
Note: The reasoning language is requested via the system prompt; model compliance is not guaranteed. Code, paths, commands, error messages, URLs, and proper nouns are explicitly excluded from the “translation” scope.
Compatibility and Versions¶
The current plugin version is 0.2.0, targeting the DSH 0.2 configuration API. Documentation records verification against the published DSH 0.2.0-rc.2 and 0.2.1-rc.2 as of 2026-10-18.
Dependency requirements (from README):
- Node:
^22.19.0 || >=24 - Cordis:
>=4.0.4 @deepseek-ai/schemastery:>=3.18.4
DSH 0.1 users should continue using plugin version 0.1.0; future DSH pre-release versions require self-verification of compatibility. The dsh.engines constraint in package.json is >=0.2.0-rc.2 <0.2.1-0 || >=0.2.1-rc.2 <0.3.0-0.
Core Features¶
The following three items can be configured in Settings → Thinking language. Changes are written to the current profile’s cordis.patch.yml, with the Loader entry id dsh-reasoning-language.
| Setting | Default | Behavior |
|---|---|---|
| Enabled | On | Requests the selected reasoning language during subsequent prompt assembly |
| Thinking language | Simplified Chinese | Any language name; leading/trailing whitespace is trimmed, input limited to 80 characters |
| Expand thinking rows | On | After Host accepts the settings, expands streamed and existing thinking rows |
Other behavioral highlights:
- Enabled controls whether the language request is injected; Expand thinking rows independently controls the expansion logic; both off means both behaviors are disabled.
- Language changes take effect at the next prompt assembly; they do not translate or rewrite existing text; they do not override the final answer’s language.
- DSH 0.2 has removed
settings.register()and the browsersettingsScope; this plugin exports pluginConfigand reads/writes viaconfigForms.get('dsh-reasoning-language'); rejected writes throw errors, and the expander only changes after the shared form accepts. - The plugin does not initiate network requests, read credentials, or rewrite conversation history; settings go through DSH’s existing configuration channel. The expansion logic relies on DOM markers
[data-variant="think"]and[data-disclosure-row]; updates to the plugin are needed when upstream components change.
Installation and Enablement¶
Before installing, review the repository source code and the MIT License. The plugin runs with DSH process and profile permissions; only install using commands from the official README.
Install the pre-built release to the current profile (replace profile name web as needed):
dsh plugin --profile web add https://github.com/jide315/dsh-reasoning-language/releases/download/v0.2.0/dsh-reasoning-language-0.2.0.tgz
Or install the tagged JavaScript source:
dsh plugin --profile web add github:jide315/dsh-reasoning-language#v0.2.0
The above commands also replace existing installations of the same package. After installation, restart DSH, then refresh the browser; no build scripts or npm accounts are needed. The package is distributed via GitHub Releases and is not currently published via npm.
Typical Usage¶
Adjusting in the Settings Page¶
- Open DSH Settings → Thinking language.
- Enable Enabled as needed, and fill in the language name in Thinking language (e.g.,
Simplified ChineseorEnglish). - If you want thinking blocks expanded by default, keep Expand thinking rows enabled.
Migrating Preferences from 0.1.0¶
DSH 0.2 may have moved the old settings.yaml to settings.yaml.imported. The old namespace reasoning-language differs from the Loader id dsh-reasoning-language and will not be automatically restored by this plugin. Please re-fill in the settings page, or write the three items into an existing entry in the profile patch (avoid duplicating two configurations for the same plugin):
- id: dsh-reasoning-language
config:
enabled: true
language: 简体中文
expandThinking: true
Uninstallation and Rollback¶
Remove the package:
dsh plugin --profile web remove dsh-reasoning-language
After removal, restart DSH. If you need to roll back to a previous commit compatible with DSH 0.1, the README provides:
dsh plugin --profile web add github:jide315/dsh-reasoning-language#c2273c8
(Requires a compatible DSH 0.1 runtime.)
Use Cases and Notes¶
Who It’s For
- Agent developers or heavy users who use the DSH Web client daily and want the reasoning process in a specified language (especially Simplified Chinese by default) with thinking rows expanded by default.
- Environments already using or planning to use DSH 0.2 (rc.2 and above verified in documentation).
Things to Note
- Reasoning language depends on model compliance with the system prompt; 100% consistency is not guaranteed; the final response language still follows the user’s input.
- The plugin is categorized as client-side; its behavior is bound to the profile and
cordis.patch.yml; multiple profiles require separate installation or configuration. - The community directory skillhub.cn is an independent site with no official affiliation with DeepSeek/High-Flyer; the DSH ecosystem follows “everything is a plugin,” and this plugin is one optional extension.
- Feedback can be submitted via the repository’s Issues.
Conclusion¶
dsh-reasoning-language consolidates “what language to think in” and “whether to expand thinking rows by default” into a single settings page and persists them to the profile, reducing repetitive manual operations. If you are debugging agents on DSH 0.2 or reading long reasoning chains, you can first install using the commands above, then confirm in Thinking language that the three switches match your expectations.
- Directory page: https://www.skillhub.cn/plugins/jide315/dsh-reasoning-language
- GitHub: https://github.com/jide315/dsh-reasoning-language