arcmosin/dsh-wordbox
DSH Web GUI常用词箱子,方便项目常用词的存储和粘贴
Project Overview项目介绍
This is a native client plugin built exclusively for the web version of DeepSeek Harness (dsh web). It adds a dedicated button labeled "Word" (or "W" in the English interface) to the right side of the conversation input box. When clicked, the button opens a persistent sliding-up panel that allows users to store and manage their frequently used words, phrases and sentences. Users can insert any stored entry into the input box with a single click, and entries are organized into two separate groups: global entries shared across all workspaces, and project-specific entries isolated by workspace directory.
After installation, you just need to restart dsh web for the plugin to take effect, and the new button will appear immediately next to the input box. To use the plugin, click the button to open the panel, then switch the display filter at the bottom right of the panel to show all entries, only global, or only project-specific entries. Click any entry to append it to the input box, and you can click multiple entries in sequence for continuous insertion. You can also delete existing entries, or convert a project entry to a global entry with one click. This plugin is designed for dsh web users who often input repeated fixed phrases or common prompts.
To install this plugin, you need to have the official DeepSeek Harness CLI and the pnpm package manager already configured on your system. It supports three installation methods: installing from npm, installing directly from the GitHub repository, or linking a local development copy, and both installation and uninstallation can be done with a single dsh plugin command. The plugin stores all word data in the browser's localStorage, so uninstalling the plugin does not automatically delete saved word data, and you need to manually clear the relevant storage keys if you want to remove them. It is released under the open source MIT license, requires no build step, and supports hot reloading for code changes.
这是一款为 DeepSeek Harness 的 dsh web 网页端客户端开发的原生插件,它会在对话输入框的右侧添加一个「词」按钮,点击按钮会呼出一个常驻的上拉面板,供用户管理个人常用的词语和句子,并且支持一键插入到对话输入框中。词条分为两个作用域:所有工作区共享的全局词条,和按工作区目录隔离的当前项目专属词条。
用户安装完成后重启 dsh web 就能看到输入框右侧的按钮,点击打开面板后,可以在面板底部右侧切换显示范围,选择查看全部、仅全局或仅当前项目的词条。点击任意词条就能将它追加到输入框中,支持连续插入多个词条,还支持删除已有词条、将项目词条转为全局词条等操作。这款插件适合经常需要重复输入固定短语、常用话术的 DSH web 用户使用。
安装该插件需要先配置好 DeepSeek Harness 官方 CLI 和 pnpm 包管理器,支持通过 npm、GitHub 或本地开发链接三种方式安装,安装卸载都只需要一条命令。插件的词库存储在浏览器的 localStorage 中,卸载插件不会自动删除已保存的词库数据,需要手动清理对应存储键。本插件采用 MIT 开源许可证,无构建步骤,修改代码后支持热重载。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-wordbox(arcmosin/dsh-wordbox)
仓库:https://github.com/arcmosin/dsh-wordbox
本站详情页:https://www.yhbd.top/plugins/arcmosin-dsh-wordbox/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-14 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 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 dsh-wordbox
把 arcmosin/dsh-wordbox 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
常用词盒子(Common Word Box)— DeepSeek Harness 客户端插件
English | 中文
DeepSeek Harness(dsh web)的 Web 客户端插件:在对话输入框右侧放一个「词」按钮,点击弹出一个常驻的上拉面板,管理自己的常用词/句,一键插入对话输入框。

词条分两个桶:全局(所有工作区共享)与当前项目(按工作区目录隔离)。
功能
- 🖱️ 点击「词」按钮 → 上拉面板(带滑入动画),常驻不消失(再点一次 / 点击外部 / Esc 关闭)
- 🔀 三档显示范围:全部 / 全局 / 当前(切换控件在「+ 添加」同行最右侧)
- ⏎ 点击词条 → 追加进输入框(保留焦点、一个撤销步、面板不关闭,可连续插入)
- 🌐 中/英双语(跟随 DSH 界面语言)
安装
前置:DeepSeek Harness dsh web + pnpm(dsh plugin 命令会转发给 pnpm,需要它在 PATH 上)。
本插件是标准的 DSH bundle 插件(dsh.bundle.patch 声明,包内自带插件行 patch),因此安装/卸载都是一条命令:
安装
# 前提,安装官方 CLI(已装可跳过)
npm install -g @deepseek-ai/dsh
# 安装本插件
# 方式一:从 npm 安装(推荐,已发布到 npm)
dsh plugin --profile web add dsh-wordbox
# 方式二:从 GitHub 安装(仓库根即插件包,无构建步骤,直接可用)
dsh plugin --profile web add github:arcmosin/dsh-wordbox
# 方式三:本地开发(link 到本仓库)
dsh plugin --profile web add link:D:/path/to/dsh-wordbox
装完重启 dsh web 即生效(输入框右侧出现「词」按钮)。
dsh plugin add会把包安装进 profile,并因dsh.bundle声明自动挂载到dsh.profile.bundles;无需手动编辑任何 patch 文件。
卸载
dsh plugin --profile web remove dsh-wordbox
然后重启 dsh web,按钮即消失。浏览器里保存的词库数据(localStorage)不会随卸载删除,如需清空可自行删除以下键:dsh.common-word-box.words.v1、dsh.common-word-box.words.project.v1、dsh.common-word-box.mode.v1。
个别情况下
remove后profiles\web\node_modules\dsh-wordbox会残留空目录/链接,手动删除即可,不影响任何功能。
使用
- 点击输入框右侧的「词」按钮(英文界面显示 W),面板上拉并保持打开;
- 底部右侧切换 全部 / 全局 / 当前;
- 点击词条 → 追加进输入框(可连续点多条);悬停行尾出现 × 删除;
- 「当前」模式下悬停行尾出现"添加到全局"转化按钮,一键复制进全局;
- 长词悬停会慢速流动显示完整内容。
存储
| 数据 | localStorage 键 |
|---|---|
| 全局词 | dsh.common-word-box.words.v1(string[]) |
| 项目词 | dsh.common-word-box.words.project.v1({规范化目录: string[]},空桶自动清理) |
| 显示模式 | dsh.common-word-box.mode.v1(all / global / current) |
词库存浏览器本地(按浏览器 profile 隔离),跨工作区、跨标签页通过 storage 事件同步。
开发
- 本地调试安装:
dsh plugin --profile web add link:<本仓库绝对路径>,改代码无需重装; - 修改
lib/client.js后无需重启:宿主client-hmr每 500ms 轮询 bundle 哈希,变化自动热重载(React 状态会重置);首次安装/卸载或改cordis.patch.yml后需重启dsh web。 - bundle 是
window.__ModuleLoader__.load({ id, factory })格式的纯 JS,无构建步骤,改完直接生效。 - 长词流动速度常量:
lib/client.js中的FLOW_SPEED(默认 60 px/s)。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
extracurricular-ai/dsh-filesnap
SenmuuuuW/dsh-whale-report
SnowCrescenter-tech/dsh-milestone
PerryLink/dsh-checkpoint-rewind
XieZongChen/dsh-md-notes
TencentCloud/tencentcloud-agentobs-sdk-dsh