DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Refresh — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
R

dsh-refresh

Refresh

DSH 网页插件:在侧边栏底部添加“刷新”按钮,用于刷新插件列表并重新加载页面,使新安装的插件无需重启桌面应用即可生效。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Woeful001/dsh-refresh#b4e2aedf71cda5b20c3fdfa9caf86e64a21e5ac9
README兼容性版本

兼容性与来源证明

Refresh 以 dsh-refresh 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/1

版本

0.1.0stable
2026/10/1

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/15
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Client Ui Skill Explorer@linxin666/dsh-client-ui-skill-explorerDSH 技能中心:按来源(bundled / project / user / custom / runtime)浏览已加载的技能,在 Web GUI 面板中启用或禁用、创建和删除技能。Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

dsh-refresh

DSH 桌面插件 · A "刷新" button in the sidebar footer — refresh the plugin inventory and reload the page so newly installed plugins take effect without restarting the desktop app.

中文 | English


功能简介

dsh-refresh 在 DSH 桌面应用的侧边栏底部操作区(Settings 按钮旁边)注入一个圆形 刷新 图标按钮。点击它:

  1. 通过宿主插件管理器的远端接口刷新插件清单(pluginManager.listBundles() + listPlugins());
  2. 随后自动重载整个页面(window.location.reload())。

页面重载时,DSH 宿主会按照当前的 cordis.patch.yml / 已激活 bundle 动态重渲 index.html(包含最新的 boot manifest),客户端据此重新引导并执行新加入的客户端 bundle —— 使新安装的插件立即生效,全程无需重启桌面应用。

为什么需要它

DSH 桌面应用通过 cordis.patch.yml + 已安装 bundle 生成每次页面请求的 boot manifest。安装新插件后,客户端需要重新读取这个 manifest 才能真正加载新插件的客户端 bundle —— 过去这往往需要手动重启整个应用。

DSH 内部其实已经有这些机制:

  • HMR(热加载):dsh-hmr / dsh-client-hmr 会在插件集合变化时推送新的 bundle graph;
  • 内建插件管理器:自带"刷新"按钮,调 pluginManager.listBundles() + listPlugins();
  • bootstrap 替换约束:dsh-client-modules 规定替换 bootstrap module 必须整页刷新(window.location.reload())。

本插件把"刷新插件清单"和"重载页面"这两件事合并成一次点击,并且以整页重载兜底:即使插件管理器远端不可用或调用失败,重载本身也会重新读取 boot graph 并加载新 bundle。

安装

方式一:从 npm / registry 安装(推荐)

dsh plugin --profile desktop add dsh-refresh

方式二:从源码目录(link)安装

如果你克隆了本仓库,可用本地路径安装:

dsh plugin --profile desktop add /path/to/dsh-refresh

或通过 pnpm 直接 link(会绕过 dsh plugin 的 registry 校验):

pnpm --dir ~/.dsh/profiles/desktop add "link:/path/to/dsh-refresh" --config.fetch-retries=0

说明:直接 link 安装后,需要把 dsh-refresh 加入 profile 的 dsh.profile.bundles 激活清单(~/.dsh/profiles/desktop/package.json)。

方式三:手动补充到 profile

把 dsh-refresh 加入 dsh.profile.bundles 数组,并确保它以依赖形式安装到 profile 的 node_modules。

使用

安装并刷新页面后,侧边栏底部会多出一个圆形 刷新 图标按钮:

  1. 点击刷新图标;
  2. 弹出确认框(防止误触导致页面重载);
  3. 确认后,插件会先刷新插件清单,再在 200ms 后重载页面。

说明:对于 DSH 内建插件管理器已支持"应用即生效"的场景,本按钮提供快捷入口;对于经 CLI dsh plugin add 安装、或需整页重载才可见的插件,这个按钮就是一次点击的"手动重启替代品"。

兼容性

  • DSH: 0.2.0-rc.2 桌面版(desktop profile)
  • 平台: web(dsh.client.platform)
  • 要求: 客户端需提供 remote + remote.pluginManager 服务(内建插件管理器所在的环境均有)
  • Node: >= 20
  • Peer deps: @deepseek-ai/cordis ^4.0.2, react ^18.2.0, react-dom ^18.2.0

目录结构

dsh-refresh/
├── lib/
│   ├── index.js        # Node half(占位,无操作,供 cordis 提供可加载入口)
│   └── client.js       # 全部功能:注入 slots/locale/remote/remote.pluginManager
├── cordis.patch.yml    # bundle 补丁,把插件加入清单
├── package.json        # dsh.client.inject / dsh.bundle.patch 声明
└── README.md

工作原理

lib/client.js 通过 window.__ModuleLoader__.load({ id, factory }) 注册客户端 bundle,并向 sidebar.footer.action 槽位注入刷新按钮。组件通过 ctx.remote.pluginManager 刷新插件清单,然后触发 window.location.reload()。宿主在每次页面请求时按当前的 boot manifest 重渲 index.html,客户端据此重新引导并执行新 bundle。

License

MIT


English

dsh-refresh is a DSH desktop plugin that adds a refresh button to the sidebar footer. Pressing it refreshes the plugin inventory and reloads the page, so newly installed plugins take effect without restarting the desktop app.

Features

  • Adds a circular refresh icon button to the sidebar.footer.action slot (next to Settings).
  • Refreshes the plugin inventory via the host plugin-manager remotes (listBundles() + listPlugins()).
  • Reloads the page so the host re-renders the boot manifest with any new client bundles.
  • Confirmation dialog prevents accidental page reloads.
  • Bilingual UI (中文 / English), auto-selected from the active locale.

Why

DSH generates a fresh boot manifest for every page request. Installing a plugin only "shows" it to the client after a reload. This plugin makes the built-in HMR + plugin-manager refresh reachable in one click, with a full page reload as the safety net.

Install

dsh plugin --profile desktop add dsh-refresh

Or from a local source directory via pnpm link (see 安装 above).

Compatibility

  • DSH 0.2.0-rc.2 desktop (desktop profile), web platform.
  • Requires remote + remote.pluginManager (present wherever the built-in plugin manager exists).
  • Node >= 20; peers: @deepseek-ai/cordis ^4.0.2, react ^18.2.0, react-dom ^18.2.0.

License

MIT