dsh-esc-stop
Run the following command in DeepSeek Harness:
dsh plugin install 142475/dsh-esc-stop
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install 142475/dsh-esc-stop in DeepSeek Harness to install; the source repository is https://github.com/142475/dsh-esc-stop .
About this plugin
In the DeepSeek Harness Web GUI, the only way to stop an in-progress generation has been to move the cursor to the stop button and click it. For keyboard-driven workflows, that extra mouse hop breaks focus and adds friction. dsh-esc-stop shrinks the action to a pure keystroke: press Esc twice within 400 ms in any open session and the current turn is cancelled immediately, exactly as if the built-in stop button had been clicked.
The plugin keeps its footprint minimal. It registers a single window keydown listener and, when the double-press pattern is matched, calls the same session.cancel RPC that the stop button uses. That means edge-case behaviour stays identical to the native control: pending inbox messages are preserved and resumed in FIFO order, and sub-agent busy-state semantics are untouched. Misfire guards are baked in as well—e.repeat is ignored, a single press or a hold will not trigger it, and two presses spaced more than 400 ms apart simply restart the timer. There is no extra UI, no configuration surface, and no host-side logic; drop the bundle into the web profile, restart dsh web, and it is ready.
If you routinely run long multi-turn conversations in dsh web and want a natural, one-handed way to call the shot—much like pressing Esc to leave a terminal—this plugin fills the gap at essentially zero cost. Keep in mind it is scoped to the web profile; TUI and headless modes already have their own stop keys and are outside its purview.
Use Cases
- Halt a long in-progress generation instantly without reaching for the mouse
- Cancel the current mid-way turn and pivot strategy with a keystroke
- Keep a fully keyboard-driven flow without breaking focus to click a button
Best For
- DeepSeek Harness users who prefer a fully keyboard-driven workflow
- Developers who frequently run long conversations in the Web GUI
- Users who favour minimal, zero-config plugin experiences
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.