dsh-zh-commands
Identifieddsh-zh-commands — 中文斜杠命令增强
DSH Web 会话里提供 6 个中文斜杠命令,并把 / 菜单里所有内置命令的描述就地翻译为中文。
功能
- 新增 6 个中文命令:
/help(列出全部命令)、/status(会话状态)、/time(当前时间)、/cwd(工作目录)、/whoami(会话信息)、/preset(Agent 预设)。 - 内置命令描述中文化:
/export、/goal、/feedback、/plan、/compact、/model、/permission等描述全部显示中文,菜单无英文。 - 全部注册用
ctx.effect挂在当前 fiber 上,热重载/卸载时自动移除,不残留重复命令。
安装
# 1. 复制源码到 profile 的 node_modules
# node_modules\dsh-zh-commands\(package.json + lib/index.js)
# 2. 在 $DSH_HOME\profiles\web\cordis.patch.yml 追加:
# - insert:
# - id: zh-commands
# name: 'dsh-zh-commands'
# 3. 重启 dsh web
⚠️
cordis.patch.yml必须是- insert:顶层格式,写成普通顶层条目会被 Loader 静默跳过。
验证
# 命令列表应全部中文
Invoke-RestMethod -Uri 'http://127.0.0.1:3080/api/commands/list' -Method POST -ContentType 'application/json' -Body '{"type":"client-request","rpcId":"v1","method":"commands/list","payload":{"args":{"agentId":"<会话ID>"}}}'
文件
| 文件 | 说明 |
|---|---|
lib/index.js | 插件主体:ZH 翻译表 + 6 个命令 handler + commands.list 就地翻译补丁 |
package.json | 包定义(type: module) |
状态
- 2026-08-15:完成创建并部署,12 条命令全部中文验证通过。
- 本目录为社区贡献归档。
Comments
Loading…
From the same category
by anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 30.4k
↓ 108/wk
MIT
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-plugin-desktopby zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.6k
↓ 125/wk
Apache-2.0
TypeScript
Oct 10, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 7.6k
↓ 119/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 4.1k
↓ 38.1k/wk
MIT
TypeScript
Oct 9, 2026
dsh plugin --profile web add dsh-better-sidebarby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 34.4k/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-contextby shaobeichen
把 DeepSeek Harness 装进你的口袋:电脑上跑 dsh web,手机扫码即同步访问(局域网 + 公网,实时同屏)Put DeepSeek Harness in your pocket: run dsh web on your computer and access it synchronously by scanning a QR code on your phone (LAN +
★ 1.6k
↓ 3.2k/wk
GPL-2.0
JavaScript
Sep 16, 2026
dsh plugin --profile web add dsh-pocket