DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-goal-restart

Goal Restart

在 dsh 服务启动或重新启动时自动重新启用活动目标,使 goal-round driver 无需人工干预即可恢复回合。

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-goal-restart@0.1.0
README兼容性版本

兼容性与来源证明

Goal Restart 以 dsh-goal-restart 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/8/30

版本

0.1.0stable
2026/8/30

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Hindsight Coding Agents@vectorize-io/hindsight-coding-agents面向编程代理的仅反思式 Hindsight 长期记忆(可插拔支持多种运行框架:opencode、……),自动在后台导入(无需设置 CLI)。Liangshen@linxin666/dsh-liangshen适用于 dsh Web GUI 的 LiangShen (梁神) agent preset 及其 composer lever。主机部分在激活时将内置 preset 声明到 harness 的 agent-preset 注册表中(declare = enabled),因此无需写入任何内容,preset 即可供新会话选择Remote Bridge@linxin666/dsh-remote-bridgeDSH 远程桥接:主机端通过唯一且精确的 /ios/v1 WebSocket 路由提供协议 v1——会话列表、历史记录基线、提示、包含工具活动的实时回合增量、中断以及进程内代理审批——连接到通过一次性配对的设备Ds Botds-botDS Bot:DeepSeek Harness 的一组长期运行的 Bot,支持主 Bot、Bot 间消息和群聊

README

English | 中文

dsh-goal-restart

Re-arm persisted same-session goals automatically when the dsh service (re)starts, so the goal-round driver resumes rounds without human intervention.

Why? When an agent is doing long-running work — like developing its own plugins — and the service it lives in gets restarted (crash, launchd respawn, a deliberate bounce), the in-flight goal used to stay stuck until somebody ran /goal resume. This plugin removes that step.

The problem

A dsh goal's durable state (objective, phase, revision, roundsStarted) lives in the session log and survives restarts. Its activation ("armed") is deliberately process-local: it is never persisted, and every agent/session-start edge disarms it. So after the dsh service restarts, an in-flight goal is replayed as active but stays stopped until someone issues an explicit resume.

What this plugin does

On agent/session-start where payload.source === 'resume' (the session was just loaded from persistence), it calls ctx.goals.resume(agent, ref) for a durable-active goal that still has round budget. The stock goal-round-driver (mounted by dsh-base) then reserves and queues the next round exactly as it would after a normal human resume — but nobody had to click anything.

Policy (conservative, in one table)

SituationAction
Session rehydrated after a service restart, goal active, budget leftre-arm (ctx.goals.resume)
Session started fresh (source: 'startup')skip (no goal)
Forked session (inherited goal)skip (in-process lineage)
Subagent session (origin: subagent)skip (in-process lineage)
Goal paused / blocked / completeskip (durable phase wins)
Goal active but already armedskip (idempotent)
Goal at roundsStarted >= maxGoalRoundsskip (no budget — raise the cap, then resume)

Install

dsh plugin --profile <profile> add dsh-goal-restart

Then restart the dsh service so the new bundle is loaded.

Disable

In the profile's cordis.patch.yml:

- id: goal-restart
  disabled: true

Notes

  • Re-arming writes one durable resume mutation (revision +1) into the session log — the domain's documented reactivation edge, and the same write a human /goal resume performs.
  • The round driver already handles durability and cancellation safety; this plugin only decides that continuation is wanted, not how it runs.
  • Sessions resume when a live agent loads them. In the web GUI that happens when the conversation is reopened after restart; re-arming occurs at that moment, before the driver's first idle checkpoint.
  • The policy is verified by 13 in-memory unit tests (npm test) and a smoke script (npm run smoke) that need no network and no live process.

License

MIT