dsh-language-bridge

按模型设置工作语言:有序的正则规则把模型 id 映射到 BCP 47 语言代码,发送前用 DeepSeek Flash 把你的输入翻译成模型的工作语言,每轮结束后把回答翻译回你的语言,可原位切换查看原文和实际发送内容;对桥接模型加一条系统提示规则保持工作语言,翻译失败时在消息下方提示,语言相同时不翻译、不产生费用。

插件介绍

按模型设置工作语言:有序的正则规则把模型 id 映射到 BCP 47 语言代码,发送前用 DeepSeek Flash 把你的输入翻译成模型的工作语言,每轮结束后把回答翻译回你的语言,可原位切换查看原文和实际发送内容;对桥接模型加一条系统提示规则保持工作语言,翻译失败时在消息下方提示,语言相同时不翻译、不产生费用。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:tonyzdev/dsh-language-bridge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令