DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-esc-stop

C

dsh-esc-stop

Manifest valid

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

ToolsUI (client)SkillshasBundlePatch

dsh-esc-stop

简体中文 English

DeepSeek Harness Web 客户端插件:当当前会话正在运行且输入框获得焦点时,按 Esc 立即终止本轮任务,无需点击“停止生成”。本项目是非官方社区插件,与 DeepSeek 官方不存在隶属、授权或背书关系。

与 DeepSeek 的关系

本插件运行在 DeepSeek Harness Web 客户端中,通过 Harness 官方的 conversation.cancel() 接口终止当前回合;不修改 DeepSeek 模型、提示词或会话数据,也不向外部服务发送数据。

功能与行为

  • 只响应会话输入框内的无修饰 Esc。
  • 只在普通会话或可继续子代理正在运行时终止,与原生“停止生成”按钮保持一致。
  • 弹窗、命令菜单等组件若已消费 Esc,插件不会误终止任务。
  • 空闲会话、一次性子代理、组合输入、长按重复事件与带修饰键的 Esc 均不处理。
  • 复用官方取消能力,保留原有队列和错误呈现语义。

安装与使用

从 GitHub 安装到 Web Profile(Git 安装会运行 prepare 构建;若 pnpm 拦截构建,请按 DSH 输出将 dsh-esc-stop 加入 Profile 的 allowBuilds):

dsh plugin --profile web add github:ClausYang/dsh-esc-stop

也可以安装本地 checkout:

dsh plugin --profile web add /path/to/dsh-esc-stop

安装后重启 dsh web 并刷新页面。任务运行时保持会话输入框获得焦点,按 Esc 即可终止。

兼容性

  • 目标环境:DeepSeek Harness Web >=0.0.1。
  • 已在 DeepSeek Harness 0.1.0-rc.5 源码版本上完成构建、单元测试和实际 Profile 加载验证。
  • 使用 dsh.client 浏览器插件清单,以及当前公开的会话与取消接口。

风险与限制

  • 快捷键仅在焦点位于主会话输入框时生效,避免在设置、弹窗或其他文本框中误触。
  • 当前没有可配置的按键映射。
  • Esc 会立即请求终止当前回合;未保存的模型生成进度不会继续。
  • 外部 UI 插件如果阻止事件但没有调用 preventDefault(),可能与本插件发生快捷键竞争;原生 Harness 弹层已按消费优先处理。

维护状态

开发验证

pnpm install
pnpm test
pnpm run typecheck
pnpm run build

许可证与版权

Copyright © 2026 ClausYang。项目以 MIT License 开源。DeepSeek 名称、商标、官方模型和材料的权利归 DeepSeek 官方或相应权利人所有。

Compatibility

DSH 0.2.1-alpha.3: failedDSH 0.2.1-rc.1: failedDSH 0.2.1-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

Similar plugins

dsh-escape-to-stop

by yoggu

Stops the current DeepSeek Harness generation when unmodified Escape is pressed.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 28, 2026

dsh plugin --profile web add dsh-escape-to-stop

by dkjsiogu

DeepSeek Harness plugin: browse host files/folders in the Web composer and insert absolute paths

Manifest valid

★ 0

MIT

TypeScript

Aug 15, 2026

dsh plugin --profile web add dsh-path-browser

by Skylarking

DeepSeek Harness plugin: multi workspace

Manifest valid

★ 0

TypeScript

Aug 20, 2026

dsh plugin --profile web add @skylarking/dsh-multi-workspace

by gorban

DeepSeek Harness (dsh) plugin: stop a running background job from the session-header job list, behind a confirmation dialog.

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

↓ 276/wk

MIT

TypeScript

Sep 20, 2026

dsh plugin --profile web add @gorban/dsh-job-stop

by Qingzhou-Joshua

DeepSeek Harness plugin—a simple toolkit for developers.

Manifest valid

★ 0

MIT

TypeScript

Aug 14, 2026

dsh plugin --profile web add dsh-dev-toolbox

by CH3SH-LC

DSH client plugin: Ctrl+Enter (left Control) inserts a newline in the DeepSeek Harness web composer, mirroring Shift+Enter

Manifest valid

★ 0

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-enter