DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-esc-enter

L

dsh-esc-enter

Manifest valid

opencode-style UX: Esc cancels the running turn in the DeepSeek Harness Web UI (Enter-while-busy handled by built-in setting)

UI (client)hasBundlePatch

dsh-esc-enter

opencode 式 UX:Esc 取消当前任务 + composer 追加/停止按钮 — DeepSeek Harness Web UI 插件。

Press Esc while the agent is running to cancel the current turn — the same action as the Stop button (Session.cancel()), keeping queued work for later turns.

Esc 取消当前回合(与"停止"按钮同机制,队列里未跑的工作保留到下一回合)。运行时在输入框旁的 dock 槽渲染 追加 / 停止 两个按钮。

特性 / Features

  • Esc = 退出当前任务:agent 运行中按 Esc 立即取消当前回合
  • 追加按钮:agent 运行中把当前输入框草稿提交为队列指令(inputActions.submit(),busy-append 路径)——不打断当前回合,草稿为空时禁用
  • 停止按钮:agent 运行中取消当前回合(session.cancel(),同宿主停止/Esc 机制)
  • 两按钮仅运行中显示(与 Esc 守卫一致),空闲时隐藏保持 composer 干净
  • Enter 行为不重复实现:busy 时 Enter 是"追加指令"(queue)还是"打断"(steer),由 DSH 内置的「Enter behavior while busy」设置负责
  • 空闲时不拦截 Esc:命令菜单 / 弹层照常关闭
  • 挂载于 conversation.composer.dock 槽,无宿主逻辑,纯客户端

安装 / Install

dsh plugin --profile web add github:Liangebra/dsh-esc-enter

重启 dsh web 并硬刷新浏览器(Ctrl/Cmd+Shift+R)。

工作原理 / How it works

Client bundle 监听 conversation.composer.dock 槽位:

  • 当 ConversationSnapshot.running === true 时,渲染「追加 / 停止」两个按钮,并注册 document 级 capture 阶段的 keydown 监听,命中 Esc 即调用 sessions.binding(sessionId).session.cancel()(与停止按钮同一路径)。
  • 「追加」按钮调槽位标准 prop inputActions.submit()(提交当前草稿,busy 时按 DSH 的 queue 语义追加到待发队列);草稿为空时禁用。
  • 「停止」按钮调用 sessions.binding(sessionId).session.cancel();空闲时两按钮与 Esc 监听一并撤销。

协议 / License

MIT

Comments

Loading…

Similar plugins

dsh-esc-stop

by ClausYang

DeepSeek Harness Web plugin: press Escape in the composer to stop the active task

Manifest valid

★ 0

MIT

TypeScript

Aug 14, 2026

dsh plugin --profile web add dsh-esc-stop

by EricXu20266

DeepSeek Harness (DHS) Electron GUI client — webui to gui, kernel untouched

Desktop clientsManifest valid

★ 9

↓ 9/wk

MIT

TypeScript

Aug 18, 2026

dsh plugin --profile web add dsh-discovery

✦

No screenshots

by 456erddgr

Plays a full-screen video while DeepSeek Harness starts and reveals the UI only after it ends. Esc skips it.

Tools & CapabilitiesThemes & SkinsDevelopment & InfrastructureManifest valid

★ 3

JavaScript

Oct 24, 2026

dsh plugin --profile web add dsh-boo550wt-animation

by LyaxZ

A Codex-style effort slider, a live tokens/second and turn-total readout, and a per-answer report for the DeepSeek Harness Web GUI.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Nov 3, 2026

dsh plugin --profile web add dsh-goodies

by Girmmy3321

Focus the DeepSeek Harness approval panel automatically, so Enter approves and Esc rejects without reaching for the mouse.

Manifest valid

★ 0

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-approval-enter

by YV3507

Cross-platform Web UI launcher for DeepSeek Harness: webui_start/stop/status/open model tools, a /webui start|stop|status|open slash command, a Settings-page launch card, and an optional desktop short

Tools & CapabilitiesManifest valid

★ 3

MIT

TypeScript

Aug 20, 2026

dsh plugin --profile web add dsh-webui-launcher