DeepSeek Harness plugin

dsh-esc-stop-142475

DeepSeek Harness web GUI plugin: press Esc to stop the current conversation generation — same effect as the GUI stop button (session.cancel).

Jump to install

Source facts

Repository
142475/dsh-esc-stop
Latest update
Aug 19, 2026
Category
Memory
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/142475/dsh-esc-stop
Plugin: dsh-esc-stop-142475
Author: 142475

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.en.mdSource · read only
README language

<div align="right">

中文 | English

</div>

dsh-esc-stop

A DeepSeek Harness web GUI plugin: press Esc twice to stop the current conversation generation — the exact same effect as clicking the GUI stop button.

No extra UI, no config, no host code. The browser half captures the Escape key and cancels the active turn through the same RPC the GUI stop button uses (session.cancel, via the shared connection service). The two presses must land within 400ms, preventing accidental triggers.

Features

  • Press Esc twice (within 400ms) anywhere in a session → the running turn stops.
  • Equivalent to the built-in stop button: pending inbox work is preserved and resumes later.
  • Key-repeat safe (e.repeat ignored): holding the key or a single press never triggers.
  • Works per active session: the listener binds to the session that is open.

Install

Add the package to your web profile and register the bundle:

# from your dsh profile directory (e.g. ~/.dsh/profiles/web)
dsh plugin --profile web add git+https://github.com/142475/dsh-esc-stop.git

Then add "dsh-esc-stop" to the dsh.profile.bundles array in that profile's package.json:

{
  "dsh": {
    "profile": {
      "bundles": [
        "dsh-esc-stop"
      ]
    }
  }
}

Restart dsh web. Done — no further configuration.

How it works

LayerJob
lib/client.jsWeb client half: registers a hidden entry in the session header action slot, installs a window keydown listener, and calls connection.api.sessions.cancel({ sessionId }) when Escape is pressed twice within 400ms.
lib/index.jsNode half: minimal cordis row so the bundle patch mounts; all behaviour lives in the client half.

The session.cancel RPC is the same one the GUI stop button invokes, so behaviour (including inbox preservation and subagent agent-busy semantics) is identical.

Notes

  • Web profile only (dsh web); the tui/headless profiles have their own stop key.
  • The listener is active while a session is open; there is nothing to stop on the no-session hero screen.
  • Two Esc presses more than 400ms apart reset the timer; a single press never triggers.

License

MIT