DeepSeek Harness 插件

dsh-zh-hant-hk

Hong Kong Traditional Chinese wording for DeepSeek Harness (會話 → 對話, 設置 → 設定, …)(英文原文)

跳到安装方式

来源信息

GitHub 仓库
Argonaut790/dsh-zh-hant-hk
最近更新
2026年8月15日
分类
界面增强
GitHub stars
3
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/Argonaut790/dsh-zh-hant-hk
插件名:dsh-zh-hant-hk
作者:Argonaut790

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-zh-hant-hk

Hong Kong Traditional Chinese wording for DeepSeek Harness.

The official UI converts Simplified Chinese to Traditional character by character. That turns mainland software terms into strings Hong Kong people do not say:

Stock 繁體This plugin
新會話新對話
設置設定
保存儲存
加載中載入中
重命名重新命名
資料夾檔案夾
默認預設
Read Only唯讀
Workspace Write工作區寫入
Full access完整存取
子代理sub-agent

Product words stay English, as Hong Kong UI usually does: Agent, sub-agent, skill, Think, plan mode, API Key.

The Conversation tab is already 「對話」. After this plugin, “New session” matches it.

Official DeepSeek Harness currently only lists 中文 and English. This plugin adds 繁體中文 to that menu, converts Simplified chrome to Traditional, then applies the Hong Kong wording above.

Install

From any directory:

dsh plugin --profile web add github:Argonaut790/dsh-zh-hant-hk

Or from a local checkout:

dsh plugin --profile web add /home/you/Programming/dsh-zh-hant-hk

Then restart (or refresh) dsh web and set the UI language to 繁體中文.

Remove with:

dsh plugin --profile web remove dsh-zh-hant-hk

A checkout that already contains lib/ installs without a build step. After you edit sources, run npm test (that rebuilds lib/ and the Harness client bundle). The file Harness loads is lib/client.bundle.js, not the plain TypeScript emit.

How it works

This package is a DeepSeek Harness profile bundle:

1. cordis.patch.yml inserts the plugin into the composed loader tree. 2. The browser half waits for locale, adds 繁體中文 to the Language menu, wraps locale.translate (the single path every bound t runs through), converts Simplified chrome to Traditional, and applies the Hong Kong phrase table only when the active locale is zh-Hant. 3. Hardcoded English permission labels (Read Only, Workspace Write, Full access) are rewritten in the DOM, because those strings never go through the locale service. 4. The browser loads lib/client.bundle.js, which registers through Harness window.__ModuleLoader__. Plain tsc output cannot be served as the client entry. 5. Simplified Chinese and English are unchanged.

It does not fork the harness and does not rewrite every string by hand.

Other plugins

Anything that renders through the locale service is covered automatically. The locale.translate wrap is service-wide: whether a plugin registers its own namespace and binds it at boot, or re-derives t per render, its output is converted when 繁體中文 is active — including t functions another plugin captured before this plugin loaded (they call this.translate at call time, so the patch still catches them). Plugins that only ship en dictionaries stay English, matching the HK convention of keeping product words in English.

Hardcoded strings need an opt-in. To protect user content, text nodes are not converted wholesale. A plugin that hardcodes Simplified Chinese in its own UI opts its root in, and this plugin's DOM watcher converts it (and keeps converting after re-renders):

// plain DOM / vanilla JS
window.__zhHantHk__.mark(myRootEl)

// or simply
myRootEl.setAttribute('data-zh-hant', '')

The watcher fully converts text nodes, aria-label and title inside opted-in roots while 繁體中文 is active. Everything outside stays untouched.

The API published as window.__zhHantHk__:

MemberPurpose
toTraditional(text)character-level Simplified → Traditional
applyPhrases(text)Hong Kong lexical replacements
convertText(text)both of the above
isMarked(el)whether el (or an ancestor) opted in
mark(el)opt a UI root in

<code>/<pre>/inputs and editable content are never rewritten, even inside opted-in roots.

Develop

npm test

Publish

1. Put this repo on GitHub. 2. Add the topic dsh-plugin so other Harness users can find it. 3. Point package.json repository.url at that repo if the owner differs. 4. Tell people:

dsh plugin --profile web add github:Argonaut790/dsh-zh-hant-hk

中文

官方 Language 而家得「中文」同 English。呢個插件會加「繁體中文」,再把簡體轉成繁體,然後改成港式用詞:新對話、設定、儲存、檔案夾、唯讀、完整存取。產品詞維持英文:Agent、sub-agent、skill、Think、plan mode、API Key。唔會寫「子 Agent」。

dsh plugin --profile web add /path/to/dsh-zh-hant-hk

License

MIT