dsh-harness-zh: Splice DSH into the English prompt in the request and translate into Simplified Chinese
dsh-harness-zh is a DSH plugin maintained by Giauzihau, version 0.2.7, compatible with DSH 0.2.1-rc.5, and released under the MIT License. Before a request leaves Harness, it replaces model-facing English prompts (system prompt paragraphs, runtime context, tool and parameter descriptions, and the Cordis API directory) with Simplified Chinese, leaving the interface language unaffected. The dictionary lookup table ensures that the same text always receives the same translation; if a match is not found, the original text is preserved, without machine translation or guessing. Configuration is defined in `cordis.patch.yml` and covers `sections`, `contexts`, `tools`, `parameters`, `messages`, `thinking`, `extraDictionaries`, `dumpMisses`, and `verbose` under the `id: harness-zh` key. The `thinking` setting is used to instruct the model to reason in Chinese, but it only affects the "Thinking" panel: it works normally with official DeepSeek accounts, while third-party proxies or aggregation providers may result in untranslated thinking processes; switching models is more effective than refining the prompt wording. Text from third-party plugins falls outside the scope but can be supplemented using `extraDictionaries`. The installation command is `dsh plugin --profile web add github:Giauzihau/dsh-harness-zh`. The plugin runs with the privileges of the current DSH process; please check the source code and license before installing.
Read More