Emck/tirol-dsh-language-set ↗★ 1

@tirol/dsh-language-set

通过系统提示词注入全局修改AI的回复与思考语言 适合需要强制规范Agent输出语言(如中英切换)的用户。

套件
@tirol/dsh-language-set
相容性
待驗證
版本
0.1.3
授權
MIT
最近更新
2026年9月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Emck/tirol-dsh-language-set

Usage

After successful installation, restart the DSH service to take effect immediately. The default language is Chinese.

Modify profiles/web/cordis.patch.yml configuration to change the language (currently only Chinese and English are supported).

Configuration

FieldTypeDefaultDescription
langstring'en-US'Global default language
replylangstring''Reply language, falls back to lang when ''
thinkinglangstring''Thinking language, falls back to lang when ''
replytextstring''Reply prompt text, customizes the default template
thinkingtextstring''Thinking prompt text, customizes the default template
commandbooleanfalseWhether to enable the language command
verbosebooleanfalseWhether to enable verbose logging mode

Configuration Example

Edit profiles/web/cordis.patch.yml to add plugin configuration:

- id: dsh-language-set
  config:
    lang: "zh-CN"
    command: true
    verbose: true

Configuration Example

Edit profiles/web/cordis.patch.yml to add plugin configuration:

- id: dsh-language-set
  config:
    lang: "zh-CN"
    command: true
    verbose: true

View current configuration

language config