Liangebra/dsh-esc-enter
Liangebra★ 0JavaScriptLast synced: 2026-08-16
opencode-style UX: Esc cancels the running turn in the DeepSeek Harness Web UI (Enter-while-busy handled by built-in setting)
README excerpt
dsh-esc-enter opencode 式 UX:Esc 取消当前任务 — 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 取消当前回合 (与"停止"按钮同机制,队列里未跑的工作保留到下一回合)。 特性 / Features - Esc = 退出当前任务 :agent 运行中按 Esc 立即取消当前回合 - Enter 行为不重复实现 :busy 时 Enter 是"追加指令"(queue)还是"打断"(steer),由 DSH 内置的「Enter behavior while busy」设置负责 - 空闲时不拦截 Esc:命令菜单 / 弹层照常关闭 - 挂载于 conversation.composer.dock 槽,无宿主逻辑,纯客户端 安装 / Install 重启 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() (与停止按钮同一路径)。 协议 / License MIT
View full README on GitHub →Category
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 40,434
zhu1090093659/dsh-web-uiPlugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 2,901
omdsh-dev/DSH-better-sidebar一个侧边栏的完整工作台,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/Git/子代理
★ 1,392