XIZRSAMS/dsh-gui-hanhua 预览 preview

XIZRSAMS/dsh-gui-hanhua

DeepSeek Harness 的 GUI 本地化 —— 语言永远不会成为智能体的门槛

Project Overview项目介绍

dsh-gui-hanhua is a resident localization plugin built specifically for DeepSeek Harness (DSH); DSH is the only target, the repository ships a bundle-manifest, and the product exists solely to translate DSH's graphical interface into Simplified Chinese. Its core capability covers tool cards in AI conversations, the names of 230+ plugins in the Settings → Plugins panel, the / command palette entries, the permission selector labels (Read Only / Workspace Write / Full access), and Agent preset titles such as anchored-standard, while always preserving the original English text alongside the translation. Installation consists of copying the directory into the DSH profile's node_modules folder, inserting a gui-hanhua entry into cordis.patch.yml, restarting DSH, and then managing every feature from the new "GUI汉化设置" panel.

The typical workflow begins by toggling the master switch and the five individual feature switches, after which the user edits the translation dictionary directly inside the settings UI by searching, adding, deleting, enabling/disabling entries, importing, exporting, or restoring defaults. Two AI-driven buttons turn the DSH agent itself into a localization assistant: "自动识别" scans installed but untranslated plugins and writes new Chinese names plus descriptions into settings.yaml on the fly, whereas "AI 自检" inspects registration status, file integrity, configuration completeness, and conflicts, auto-fixing what it can and advising on the rest. This design is intended for Chinese-speaking DSH daily drivers, multi-plugin power users who want persistent labels across sessions, and administrators rolling out localized terminology inside teams.

Dependencies are minimal — only the DSH host itself is required, the client and host code are hand-written bundles, and there are no external resource lookups, so the plugin survives offline. Limitations to be aware of: both AI buttons consume tokens, and any file write by the agent requires the user to be present to confirm authorization. From v1.1.0 the plugin includes a GitHub-based version checker that compares local and remote versions at startup or on demand, automatically backs up files to .bak before overwriting, and now also translates Agent presets sourced from ~/.dsh/.agent-presets/. Encoding problems usually surface as garbled UI characters, in which case the recommended first-run remedy is invoking AI 自检 so the agent can diagnose and repair the affected files. The license is MIT, contingent on the user already possessing a legitimate DeepSeek Harness installation.

dsh-gui-hanhua 是一款专为 DeepSeek Harness(DSH)打造的常驻型界面汉化插件,以 DSH 为存在理由,并随仓库附带 bundle-manifest 清单。核心能力是把 DSH 客户端里的工具卡片、230+ 插件列表、/ 命令面板、权限选择器与 Agent 预设全部显示为中文,同时保留英文原名以便辨识。安装方式为将目录复制到 DSH profile 的 node_modules,再在 cordis.patch.yml 中插入 gui-hanhua 注册项,重启 DSH 后在「设置 → GUI汉化设置」中管理总开关与五个分项开关。

典型工作流是:开启总开关 → 单独启用「工具卡片」「命令面板」等模块 → 在设置页搜索、增删或导入导出翻译字典 → 通过「AI 自动识别」让 Agent 扫描未汉化插件并写入 settings.yaml,或运行「AI 自检」检查注册与文件完整性。它面向希望母语操作 DSH 的中文用户、长期驻留使用 DSH 的多插件玩家,以及需要为团队定制本地化术语的部署者。

依赖上仅需 DSH 本体,无外部资源依赖,客户端与宿主端均通过手写 bundle 注册;翻译字典集中在 DEFAULT_TOOLS、DEFAULT_COMMANDS、DEFAULT_PLUGINS 与 gui-hanhua.presets 段。限制包括 AI 自动识别与自检会消耗 token 且写文件需用户在场授权;v1.1.0 起内置版本检查与自动更新,发现新版会备份 .bak 后覆盖,文件编码异常时建议运行 AI 自检修复。许可为 MIT,但前提是必须先拥有合法的 DeepSeek Harness 安装环境。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:XIZRSAMS/dsh-gui-hanhua

把 XIZRSAMS/dsh-gui-hanhua 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

🌏 dsh-gui-hanhua

DeepSeek Harness 界面信息汉化插件

语言永远不会成为 Agent 的门槛。

Language should never be a barrier for Agents.

版本 许可 话题 平台

📌 当前版本:v1.1.0

一款常驻型汉化插件,让 DeepSeek Harness 的界面开口说中文——AI 工具卡片、插件列表、命令面板、权限选项,全部显示中文(同时保留英文原名)。

English Docs


✨ 功能特性

功能 说明
🃏 工具卡片汉化 对话中 AI 工具调用卡片显示中文名 + 一句话说明(如 pwsh → 执行 PowerShell)
📦 插件列表汉化 设置 → 插件:230+ 插件的中文名称,保留英文原名
⌨️ 命令面板双语 / 菜单显示英文命令名 + 中文说明——/plan → 计划模式:进入或退出计划模式(先规划后执行)
🔐 权限选择器双语 Read Only(只读) / Workspace Write(工作区写入) / Full access(完全访问)
🎛️ 总开关 + 分项开关 一键开启/关闭全部汉化,或按功能独立控制
💾 配置持久化 字典自动保存到 settings.yaml,重启自动恢复
🤖 AI 自动识别 一键打开新对话,让 Agent 自动分析并汉化未汉化的插件
🩺 AI 自检 一键让 Agent 检查插件文件、配置与注册状态,自动修复问题

📸 界面展示

插件主页面 —— 总开关、五项功能开关与智能功能

插件主页面



插件面板全面汉化 —— 230+ 插件的中文名称与说明

插件面板汉化



命令面板全面双语 —— 英文命令名 + 中文说明

命令面板双语



工作区写入权限汉化 —— Read Only(只读) / Workspace Write(工作区写入) / Full access(完全访问)

权限选择器双语



Agent 预设汉化 —— 预设名称与说明显示中文(anchored-standard → 锚定标准模式(实验))

Agent 预设汉化

🚀 安装方法

  1. 将本目录复制到 DSH profile 的 node_modules:
    # 以桌面版 profile 为例:
    Copy-Item .\dsh-gui-hanhua -Recurse "$env:USERPROFILE\.dsh\profiles\web-desktop\node_modules\"
    
  2. 在 cordis.patch.yml 注册插件(web-desktop 与 web 两个 profile 都可用):
    - insert:
        - id: gui-hanhua
          name: 'dsh-gui-hanhua'
          disabled: false
    
  3. 重启 DeepSeek Harness —— 插件自动加载(常驻插件,无需手动运行)。
  4. 打开 设置 → GUI汉化设置 即可管理全部功能。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-inline-images 下一个 Next dsh-token-usage →