Adds 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 reload (F5, Ctrl+R) and cache-busted hard reload (F5 with a modifier, Ctrl+Shift+R, appending a _dsh_refresh timestamp) through a capture-phase client key listener.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-refresh-plugin
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Phoeky/dsh-refresh-plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
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
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10715
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10715
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8617
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7532
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5410
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1099
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.