dsh-pause-continue
Manifest validCodex-style pause and continue for DeepSeek Harness · Pause anytime during generation, then resume writing from where you left off.
dsh-pause-continue
Codex 式暂停与继续:把 Codex、Cursor 那种随时打断、再接着写的手感,搬进 DeepSeek Harness。
Pause a running DeepSeek Harness answer and continue it from the break point, with a Codex-style control. The interaction is modelled on Codex and Cursor.
功能
- 生成时,发送按钮位置显示暂停按钮;点击后真正停止当前这轮生成。
- 暂停后可以继续生成,也可以直接输入新消息发送。输入框有内容时显示原生发送按钮,不再误触继续按钮。
- 模型请求重试耗尽而失败时,保留错误信息;点击继续后,等恢复轮产生新的助手内容,才收起错误行和失败轮的过程,只保留最终回答。
- 暂停和继续的视觉衔接通过 Chat DOM 规则完成,继续轮的中间状态行会隐藏,最终回答接在原位置。
- 状态按会话保存在 profile 目录的
dsh-pause-continue-state.json。
安装
通过 DSH 插件管理器安装:
dsh plugin --profile <profile> add github:yanweiyi11/dsh-pause-continue
也可以在 DSH 的插件页使用安装地址 github:yanweiyi11/dsh-pause-continue。
安装或更新后重启 DSH,使 Host 端插件代码生效。
使用
- 正常发送消息,模型开始生成。
- 点击输入框右侧的暂停按钮。
- 输入框为空时点击继续按钮,从断点继续;输入新内容时点击原生发送按钮,发送新消息。
- 如果模型请求以可重试错误结束,错误提示会保留;点击继续后,新回答出现时旧错误和失败轮过程才会收起。
限制
- 继续生成是重新采样模型,不是逐 token 续写;断点处的措辞可能与暂停前不同。
- 视觉合并只适用于 DSH Web UI 和 Desktop 的 Chat 界面。
- 认证、额度类错误不会进入自动继续状态。
- 依赖 DSH 0.2.2-rc.1 的
sessionController.commands.prompt内部接口与 Chat DOM 结构;升级 DSH 后如接口变化需要适配。
开发
# 语法检查
node --check index.js
node --check client.js
许可证
MIT
Comments
Loading…
Similar plugins
by cglyvip
DeepSeek Harness 插件:模型请求失败导致本轮停止时,先在原模型重试数次,再沿兜底链循环切换并注入「继续」,免手动干预。
★ 0
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add dsh-auto-continueby inmny
为 DeepSeek Harness 增加一个直接续跑按钮。当会话异常结束时,可以从现有上下文继续执行,不会引入其他提示词。
★ 4
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-plugin-continueby HUSTforever
Codex-style per-step reasoning summaries inside DeepSeek Harness's native thinking disclosure
★ 0
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-thinking-summaryby sjh9714
Observe identical tool failures and optionally pause the next model step in DeepSeek Harness.
★ 0
MIT
JavaScript
Oct 4, 2026
dsh plugin --profile web add dsh-retry-guardby DosterBool
Tell DeepSeek:快捷键打断当前生成,载入纠偏提示(steer 注入);继续时思考链回填以可折叠上下文行呈现
★ 0
JavaScript
Aug 22, 2026
dsh plugin --profile web add dsh-shutupby robbywang25
Codex-style pinned sessions for DeepSeek Harness — always visible above the sidebar list
★ 1
MIT
JavaScript
Sep 6, 2026
dsh plugin --profile web add dsh-codex-pins