dsh-refresh-plugin
Manifest validAdds F5 / Ctrl+R page reload to the DeepSeek Harness desktop web UI, which production builds lack by default (the "Reload Page" menu item and bare-F5 accelerator are development-gated). Binds soft rel
dsh-refresh
DSH desktop 刷新插件 —— 为 DeepSeek Harness Desktop 增加页面刷新功能。
DSH desktop refresh plugin — adds a page-refresh (reload) feature to the DeepSeek Harness Desktop web UI.
背景 / Background
生产版 DeepSeek Harness Desktop 的窗口菜单里没有 "Reload Page" 项(该菜单项仅在 development 构建启用),而应用自带的快捷键系统又拒绝"无修饰键"的绑定,因此 F5 在默认情况下完全不可用(Ctrl+R 同样没有绑定)。
In production builds of DeepSeek Harness Desktop, the window menu ships no "Reload Page" item (it is development-gated), and the built-in shortcut system rejects bindings without modifiers — so F5 does nothing by default (Ctrl+R is unbound too).
本插件在页面(client 端)注册捕获阶段按键监听,补上刷新快捷键。
This plugin registers a capture-phase key listener on the client side to restore refresh shortcuts.
快捷键 / Shortcuts
| 按键 | 行为 |
|---|---|
F5 | 软刷新(reload) |
F5 + 任意修饰键(Ctrl / Shift / Alt) | 硬刷新(加 _dsh_refresh 时间戳参数绕过缓存) |
Ctrl+R | 软刷新 |
Ctrl+Shift+R | 硬刷新(cache-busted) |
安装 / Install
npm 包名:dsh-refresh-plugin(GitHub 仓库同名;npm 上的 dsh-refresh 已被其他用户占用)。
方式一:从 npm registry 安装(推荐)
dsh plugin --profile desktop add dsh-refresh-plugin
方式二:本地路径安装(开发调试时)
dsh plugin --profile desktop add F:\code\dsh-desktop-refresh\dsh-refresh
安装后完全退出并重新打开应用,按 F5 即可刷新(应用运行时会监听 profile 的 bundles 列表变化并自动重组 loader,但当前已加载的页面不会包含新监听器)。
卸载 / Uninstall
在应用内"插件"页面移除 dsh-refresh。
工作原理 / How it works
- 插件是一个标准 DSH bundle(
dsh.bundle.patch声明 loader 挂载行,dsh.client声明 client 端),通过官方dsh pluginCLI 安装进 profile。 - Host 端(
lib/index.js)是一个空apply—— 功能全部在 client 端(lib/client.js)。 - client 端使用捕获阶段
keydown监听:原生快捷键系统会先消费它认领的键,未认领的键才到达 DOM,因此不会与现有快捷键冲突(裸F5也无法通过快捷键系统注册)。
License
Comments
Loading…
Similar plugins
Make F5, Ctrl+F5, and Ctrl+Shift+R reload the DeepSeek Harness page.
★ 0
dsh plugin --profile web add dsh-refreshOne-click page refresh for the DSH Web UI: purges the rebuildable caches (Cache Storage, service workers, /plugins/** bundle bytes) and reloads the page, so a hot-injected client plugin appears withou
★ 0
dsh plugin --profile web add dsh-quick-reload-lyjsby lux09947-cmyk
Adds a refresh button to the DeepSeek Harness desktop title bar next to the Edit menu, reloading the interface without restarting the app.
★ 1
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-reAdds a refresh button to the sidebar footer that reloads the plugin list and the page so newly installed plugins take effect without restarting the desktop app.
★ 0
dsh plugin --profile web add dsh-refreshby SuCriss
Version update menu for the DeepSeek Harness Web GUI settings panel: check @deepseek-ai/dsh releases, install one with a click, then restart the host and reload the page automatically.
★ 5
↓ 441/wk
Apache-2.0
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-version-updateby IHS470
DeepSeek Harness restart button in the DSH desktop window title bar
★ 3
↓ 55/wk
MIT
JavaScript
Oct 3, 2026
dsh plugin --profile web add dsh-plugin-restart