插件目录 / Developer / dsh-quick-resume
dsh-quick-resume
已验证 · 实测可装 timsok-shit
功能简介
One-click resume button for interrupted DSH agents: a continue button in the assistant message action row that resumes the agent via host agent.followup
可用 — 实测通过,早期项目
One-click resume button for interrupted DSH agents: a continue button in the assistant message action row that resumes the agent via host agent.followup 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-quick-resume
A one-click Resume button for DSH Web. When an agent's task is interrupted (stopped/cancelled, back to idle), a continue button appears in the copy/like action row of the assistant message — click it to quickly resume the agent from where it left off, without re-typing the instruction.
For all DSH Web users: solves "after an agent task is interrupted, I have to manually re-send the instruction".
Features
- One-click resume: when the agent is idle, a continue button appears on each assistant message action row (next to copy/like).
- Hidden while running: the button auto-hides while the agent is running (
running === true) to avoid accidental clicks. - Precise continuation: on click, the host directly injects a followup message into the live agent for that session and wakes the driver (
agent.followup) — no composer draft, no overwriting what you're typing. - Observable failures: if the agent is offline / running / injection fails, a structured error is returned and the button offers a retry.
Installation
dsh plugin --profile web add github:timsok-shit/dsh-quick-resume
Restart the DSH engine to load the host bundle patch, then refresh the page for the client side.
Usage
- Install and restart DSH, then open any session.
- Let the agent finish or interrupt a task (click the stop button).
- Below the agent's last assistant message, a continue button appears in the copy/like action row.
- Click continue → the button shows "…" briefly → "Resumed", and the agent resumes executing from context.
Common scenarios:
- Continue after manual stop: user stops → agent idle → click continue to resume.
- Advance after natural end: with the agent idle the button stays visible; click it anytime for another turn.
Configuration
No external configuration. Tunable constants are collected at the top of each module:
| Constant | File | Default | Description |
|---|---|---|---|
RESUME_TEXT |
index.js |
see source | Text of the followup message injected on resume |
RESUME_ENDPOINT |
client.js |
/dsh-quick-resume/resume |
Host route to call |
| Fetch timeout | client.js |
10000 ms |
Browser fetch timeout |
order |
client.js |
20 |
Button order in the action row (after copy/like) |
Limits
- Only handles agents still present in the live registry (interrupted → back to
idle). Cold sessions whose agent was disposed (requires persistence /agents.resumecold recovery) are out of scope. - The button shows on every idle assistant message action row (by slot semantics), regardless of whether the task was just interrupted or finished normally.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-quick-resume」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:timsok-shit/dsh-quick-resume Headless(CLI)profile:
dsh plugin --profile headless add github:timsok-shit/dsh-quick-resume 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。