dsh-esc-enter
Run the following command in DeepSeek Harness:
dsh plugin install Liangebra/dsh-esc-enter
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Liangebra/dsh-esc-enter in your terminal to install the plugin; the source code is available at https://github.com/Liangebra/dsh-esc-enter. After installation, restart dsh web and hard-refresh your browser to apply the changes.
About this plugin
When the agent in DeepSeek Harness Web UI is working through the current turn, cancelling the task or queuing a follow-up instruction usually means hunting for a button and breaking your typing rhythm. dsh-esc-enter brings an opencode-style interaction model: Esc cancels instantly, and an Append / Stop pair appears right beside the composer as a visual fallback, keeping your hands on the keyboard and your eyes on the text.
Three capabilities matter. First, pressing Esc while the agent is running immediately invokes session.cancel(), preserving any queued work for later turns without data loss. Second, the composer dock slot renders two buttons: Append submits the current draft through inputActions.submit() on the busy-queue path so the in-flight turn stays undisturbed; Stop follows the same cancel path as Esc. Both buttons are visible only while the agent is active and vanish when idle, keeping the composer area clean. Third, the semantics of Enter during busy (queue vs. steer) are fully delegated to DSHs built-in Enter behavior while busy setting; the plugin does not re-implement that logic.
Best for keyboard-driven DSH Web users who want to append instructions or bail out quickly while the agent is running, without reaching for buttons. It is a pure client-side plugin mounted on the conversation.composer.dock slot with no host logic; after installing, simply hard-refresh the browser to bring it online.
Use Cases
- Press Esc mid-turn to cancel the current pass instantly while queued work stays intact
- Click Append during a busy state to submit the draft as a queue instruction without breaking the in-flight turn
- Buttons auto-hide when idle, keeping the composer area clean for normal typing
Best For
- Keyboard-driven DSH Web users who prefer hands-on-keyboard workflows
- Developers who frequently queue instructions or bail out mid-run
- Builders who favor opencode-style interaction patterns and low-friction UX
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.