DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Queue Resume On Stop — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
Q

@local/dsh-queue-resume-on-stop

Queue Resume On Stop

用户停止后,让排队中的消息继续流转,而不是滞留在收件箱中

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:evanw0211/dsh-queue-resume-on-stop#7080f25bdeb58b4d1fd0de37d916045f485839e0
README兼容性版本

兼容性与来源证明

Queue Resume On Stop 以 @local/dsh-queue-resume-on-stop 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/10/13

版本

0.1.0stable
2026/10/13

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
未声明
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/13
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 integrations-communication 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Ab Publishdsh-ab-publish浏览器自动化发布工具,可登录任意网站并发布内容,整合为一个可发布的插件包Ab Wechat Scrapedsh-ab-wechat-scrape--- description: "树外 wechat_scrape 工具:获取微信公众号文章,过滤推广区块,并将每篇文章保存为 Markdown 文件,供此机器的 dsh 配置文件维护者使用。" kind: "package-reference" ---Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 r

README

Resume Queue On Stop

A small Host plugin for DSH that keeps queued messages flowing after you press Stop.

The problem

While a turn is running, anything you send is queued in the agent's inbox (agent.inbox.nextTurn) and is claimed at the next turn boundary.

The Stop button calls agent.cancel({ kind: 'user' }, { keepInbox: true }) (dsh-api-session-controller → session.cancel). That aborts the in-flight turn and deliberately keeps the queue — but nothing re-arms the driver afterwards:

  • A normal turn end keeps looping: turn() returns true while inbox.hasPending, so the next queued prompt is claimed immediately.
  • An abort throws out of turn(), so kick() unwinds and the driver stops. The queued prompts stay in the inbox and are never sent to the model.

The loop already handles the mirror case: a message that arrives after the abort is classified as a wake (send() → wakingAfterAbort), which latches phase.wakeRequested; kick()'s exit path replays that latch. A message queued before the Stop never sets the latch — that is the gap this plugin closes.

Symptom the user sees: the queued message still sits in the queue (and is never answered) until some new message happens to wake the driver.

What it does

On every durable turn/end whose reason is aborted with cause user (the Stop button) or parent (a parent interrupting a child), if the same agent still has pending nextTurn prompts, the plugin asks the loop to wake once more — exactly as a message typed a moment after the Stop would. The next turn then claims the queued prompts and sends them to the model.

disposed (teardown) and hook (credential/session invalidation) aborts are ignored: restarting work there would fight the teardown. next-step input (agent.inject()) is deliberately non-waking and is not resumed.

Install

It is a plain Host bundle: no dependencies, no build step. Point DSH's plugin manager at this directory (absolute path) and it installs the package, adds the bundle to the profile, and activates over HMR:

plugin_manager install_bundle  <path-to-this-directory>

Equivalently, from the CLI: dsh plugin --profile <name> add <path-to-this-directory>.

Requires DSH 0.2.0-rc.2. The bundle resolves every Harness package from the running installation, so it declares no dependencies of its own.

Configuration

cordis.patch.yml inserts one row; override it in your profile patch:

- id: queue-resume-on-stop
  config:
    enabled: false   # turn the behavior off without uninstalling

Files

FileRole
index.jsHost plugin: the session/event trigger and the wake
cordis.patch.ymlInserts the queue-resume-on-stop row
package.jsonBundle manifest (dsh.bundle.patch)
locale/*.jsonPlugin Manager display text
dev/scan-stranded-queue.mjsScans stored session logs for "stop stranded the queue" occurrences
dev/dump-session.mjsDumps a slice of one session.v4.jsonl.zstd log

Notes on the wake

The public Agent surface (followup/steer/inject/cancel/inbox) has no wake primitive. Re-queuing a pending prompt would need inbox.remove(id) + followup(message), which writes a durable "canceled" inbox splice and re-insert — and Session.append() refuses to reenter while a session/event observer is running, which is exactly where this listener executes.

So the plugin calls wakeDriver(true) when it exists: it mutates only the in-memory phase latch (the identical call send() makes on its post-abort path) and appends nothing to the session log. If a future loop renames it, the plugin falls back to the public remove + followup() path, deferred past the append.