dsh-approval-zh

把 DSH 审批提示和 ask_user_question 卡片里的英文说明翻成中文显示;审批结果、选项标签、工具名和 JSON 参数保持不变,审批审计记录里仍是英文原文。文本会发送到微软 Edge 翻译接口(edge.microsoft.com)翻译,所以审批提示和问题的内容(包括命令文本)会离开本机。

插件介绍

把 DSH 审批提示和 ask_user_question 卡片里的英文说明翻成中文显示;审批结果、选项标签、工具名和 JSON 参数保持不变,审批审计记录里仍是英文原文。文本会发送到微软 Edge 翻译接口(edge.microsoft.com)翻译,所以审批提示和问题的内容(包括命令文本)会离开本机。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:879745uhjun/dsh-approval-zh

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.

版本兼容情况

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