dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
在输入框旁增加已安装插件选择器:把插件名拖到提示词的落点插入,双击入口在右侧边栏打开可拖动插件栏,并可在设置中选择显示哪些插件、填写备注。
给 DeepSeek Harness(DSH)Web UI 用的插件快捷调用面板:把已安装插件的名字快速、准确地写进提示词。
A DeepSeek Harness plugin that puts an installed-plugin picker beside the composer. Drag a plugin name into the prompt at the drop point, pin a draggable rail in the right sidebar, and choose which plugins appear (with optional remarks) in Settings.
设置 → 插件快捷调用 列出所有已安装插件,每个插件有:
默认只开启「用户自己安装、且当前处于启用状态」的插件;DSH 自带可选插件包默认关闭。主题、皮肤、插件市场这类不需要调用的插件,在设置里关掉开关即可。开关只控制是否出现在快捷调用里,不会启用或停用插件本身。
0.2.1-rc.1 及以上(dsh.compatibility.dshReleases 声明了 rc.1 / rc.2)。插件目前从 GitHub 源码安装(npm 包尚未发布):
插件 页面 → 添加插件,输入 GitHub 地址:
Thyxqz/dsh-plugin-quick-invoke(或完整地址 https://github.com/Thyxqz/dsh-plugin-quick-invoke);plugin_manager 的 install_bundle,target 写
github:Thyxqz/dsh-plugin-quick-invoke;dsh plugin --profile <profile> add github:Thyxqz/dsh-plugin-quick-invoke
仓库根目录已包含 package.json 和 cordis.patch.yml,可直接作为 bundle 安装(无需构建步骤)。安装后如界面未立即出现,刷新一次 Web 页面(Desktop 窗口按 Ctrl+R)。
npm 包
dsh-plugin-quick-invoke尚未发布;发布后会补充按包名安装的方式。
偏好(开关、备注)保存在当前浏览器配置的 localStorage(键 dsh-plugin-quick-invoke:preferences:v1),不写入会话日志;清除站点数据或换浏览器配置后会还原默认。
本包是纯 ESM、无构建步骤:index.js 是空行为的 Host 半边,client.js 是自包含的浏览器半边(只 require react),cordis.patch.yml 插入 Host 装载行。
发布前先让 package.json 的 repository 指向 GitHub 仓库(收录条目与 npm 包靠它关联),再按需补 author,然后:
npm login
npm publish
校验打包内容:
npm pack --dry-run
files 白名单已包含运行所需文件;LICENSE 为 MIT。
本目录已按 贡献指南 准备好提交材料,步骤见 submission/README.md:
dsh-plugin topic;node scripts/write-submission.mjs <github-owner> 生成 data/plugins/<owner>__dsh-plugin-quick-invoke.yml,并回填 package.json.repository;生成文件不会进入 npm 包(files 白名单只含运行所需文件)。
| 文件 | 作用 |
|---|---|
package.json | bundle 清单:dsh.bundle.patch + dsh.client + 兼容性 |
cordis.patch.yml | 插入 Host 装载行(id plugin-quick-invoke) |
index.js | Host 半(无行为,仅让 bundle 有装载项) |
client.js | 全部界面:入口、上拉面板、拖拽、右侧栏、设置页 |
locale/*.json | 插件管理器里的标题 / 描述(zh / en) |
icon.svg | 插件图标 |
LICENSE | MIT |
submission/ | awesome-dsh-plugin 收录材料(生成的文件不进 npm 包) |
scripts/write-submission.mjs | 按 GitHub owner 生成收录条目并回填仓库元数据 |
MIT