useful-dsh-plugins
by lishize20040802-rgb
DeepSeek Harness(@deepseek-ai/dsh)社区插件:独立社区项目,与 DeepSeek 无隶属关系
Community plugins for DeepSeek Harness ( @deepseek-ai/dsh ). This is an independent community project, not affiliated with DeepSeek.
安装
dsh plugin --profile web add github:lishize20040802-rgb/useful-dsh-pluginsGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
DeepSeek Harness(@deepseek-ai/dsh)的社区插件集合。本项目是独立社区项目,与 DeepSeek 官方无隶属关系。
两个开箱即用的插件互相配合:在聊天输入框上传文件,然后让 agent 直接读取。
插件列表
| 包 | 类型 | 功能 |
|---|---|---|
dsh-upload-button |
双面(host + browser) | 输入框工具栏的无边框 📎 按钮。上传的文件以浮在输入框上方的微软经典配色竖版卡片呈现;按原有「发送」键即自动把文件路径附入消息(原生输入机 occurrence 管线,零发送拦截);消息里的路径渲染为紧凑文件卡片(点击打开文件)。 |
dsh-plugin-doc-reader |
host | 模型可用的 read_document 工具:经由 Harness 文件系统后端(ctx.fs)读取文本、PDF、DOCX 和 XLSX 文件,具备与内置 read 工具一致的行窗口分页语义。仅限文字,不支持识图(OCR)——扫描版 PDF 提取不到文字。 |
useful-dsh-plugin-manager |
双面(host + browser) | 可视化插件管理器:Web 设置 → 插件页新增「管理」标签——任意插件行停用/启用、第三方包检测更新与一键更新、所有行(含官方包)一键修复(恢复 registry 官方原件)、一键恢复全部。 |
安装
一条命令安装全部:
dsh plugin --profile web add useful-dsh-plugins@latest --config.minimumReleaseAge=0
# 重启 dsh web
@latest --config.minimumReleaseAge=0保证装到最新发布版:pnpm ≥ 11.7 的供应链门禁会跳过"刚发布几分钟"的新版本,刚发布后直接add useful-dsh-plugins可能解析到旧版;已装旧范围时,不带@latest的add会保持旧范围。
也可以分别安装:
dsh plugin --profile web add dsh-upload-button@latest --config.minimumReleaseAge=0
dsh plugin --profile web add dsh-plugin-doc-reader@latest --config.minimumReleaseAge=0
dsh plugin --profile web add useful-dsh-plugin-manager@latest --config.minimumReleaseAge=0
# 重启 dsh web
所有包都声明了自己的 cordis bundle patch(dsh.bundle),dsh plugin 会自动把它们登记进 dsh.profile.bundles。
故障恢复手册(插件被改坏 / 启动报错怎么办)
插件本体安装在 $DSH_HOME/profiles/<name>/node_modules(Windows 默认 C:\Users\<你>\.dsh\profiles\web)。如果自己修改插件文件导致崩溃,或与其他插件冲突导致启动失败,按以下顺序处理:
- 看诊断:
dsh --profile web --dump-config打印组合树,报错行会标明是哪个插件行失败。 - 卸载:
dsh plugin --profile web remove useful-dsh-plugins(或出问题的那个包名)——这会同时清掉 bundles 登记。 - 重装官方版:
dsh plugin --profile web add useful-dsh-plugins,恢复 npm 上的公开版本。 - 文件也被改坏时强制恢复:
dsh plugin --profile web add useful-dsh-plugins --force(从 pnpm 存储重新铺文件,无视本地改动)。 - 锁历史版本:
dsh plugin --profile web add useful-dsh-plugins@0.1.0(换成你要的版本号)。 - 终极重置:删除整个
$DSH_HOME/profiles/web目录,下次dsh web会用官方模板自动重建(会清掉该 profile 下所有插件与自定义配置)。 - 每次改动后重启
dsh web生效。
图形化替代方案:安装 useful-dsh-plugin-manager(计划中)后在 Settings → Plugins 里点按钮完成启用/停用、检测与公开版差异、一键更新。
环境要求
- DeepSeek Harness
@deepseek-ai/dsh≥ 0.1.0-rc.6(peer 依赖由 Harness 安装提供) dsh-upload-button另需webprofile 组合(挂载ctx.webServer、ctx.slots与ctx.inputTriggers)
开发
# doc-reader:纯 ESM,无构建步骤
cd dsh-plugin-doc-reader && npm install --legacy-peer-deps && npm test
# upload-button:esbuild 构建两个半边
cd dsh-upload-button && npm install --legacy-peer-deps && npm run build && npm test
架构笔记与 UI 机制深挖见 docs/——尤其是输入机 occurrence 管线研究(docs/dsh-web-ui-plugin-research.md),是任何想在此平台构建"输入框附件类插件"的开发者的参考。
许可证
原始 README: https://github.com/lishize20040802-rgb/useful-dsh-plugins/blob/main/README.zh.md ↗
同类插件
查看全部 →
dsh-anchored-standard
两阶段 DeepSeek Harness 预设:先 Minimal 对齐的 bootstrap,再切完整 Standard 工具(Project2 98/99)

PicGo-Core
极致的图片上传引擎,CLI 与 API 双支持

awesome-deepseek-harness
DeepSeek Harness(DSH)及其优秀社区插件的精选指南。

awesome-deepseek-harness
DeepSeek Harness (DSH)生态系统:来自dsh-external/hub和公共dsh-plugin主题的精选插件、工具和基础设施。

AI-Novel-Writer
本地优先 AI 小说创作工作台,提供 Windows/macOS 桌面版与 DeepSeek Harness 插件开发预览,支持角色、大纲、章节蓝图、审稿修稿和本地模型。

mcp-for-stata
MCP-for-Stata:把 Stata 集成进你的 agent