Make F5, Ctrl+F5, and Ctrl+Shift+R reload the DeepSeek Harness page.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-refresh
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:spidu-lee/dsh-refresh
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
简体中文 | English
Make F5, Ctrl+F5, and Ctrl+Shift+R / Cmd+Shift+R reliably reload the DeepSeek Harness page.
DeepSeek Harness has no refresh button, and the browser's built-in reload
shortcuts are suppressed in some contexts. This plugin installs a keydown
listener that captures F5 and Ctrl+Shift+R (Cmd+Shift+R on macOS) and
calls location.reload() — Ctrl+F5 and Ctrl+Shift+R additionally bypass
the cache (location.reload(true)).
Why not Ctrl+R?
Ctrl+R / Cmd+R is not supported, and it cannot be fixed from a
page-level plugin. DeepSeek Harness registers Ctrl+R as its built-in
page.refresh shortcut, and it consumes the key at the Electron
before-input-event layer — calling preventDefault() before the keydown
event ever reaches the page. A window.addEventListener("keydown", …)
listener simply never sees it.
Use F5 (reload), Ctrl+F5 (hard reload), or Ctrl+Shift+R (hard
reload) instead. If you want Ctrl+R back, rebind the page.refresh shortcut
in DeepSeek Harness's keyboard-shortcut settings to a different key; then
Ctrl+R will flow through to the page again.
How it works
A minimal client-only plugin. It exports name, inject, and apply(ctx),
and uses ctx.effect to register a capturing keydown listener that is
automatically removed when the plugin run is disposed.
window.addEventListener("keydown", (ev) => {
const isF5 = ev.key === "F5";
const isHardReload = (ev.ctrlKey || ev.metaKey) && ev.shiftKey && (ev.key === "r" || ev.key === "R");
if (!isF5 && !isHardReload) return;
ev.preventDefault();
ev.stopPropagation();
(isF5 && (ev.ctrlKey || ev.metaKey)) || isHardReload ? location.reload(true) : location.reload();
}, { capture: true });
Install
From npm (recommended):
dsh plugin add dsh-refresh
Or from GitHub:
dsh plugin add spidu-lee/dsh-refresh
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10686
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★ 10686
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★ 8436
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7504
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★ 5379
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1076
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.