DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Goal Restart — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-goal-restart

Goal Restart

Automatically re-arm active goals when the dsh service (re)starts, so the goal-round driver resumes rounds without human intervention.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-goal-restart@0.1.0
READMECompatibilityVersions

Compatibility and provenance

Goal Restart is published as dsh-goal-restart and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
8/30/2026

Versions

0.1.0stable
8/30/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
15.3 kB
Files
7
Surface
any
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
8/30/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolSubagent Claude Code@deepseek-ai/dsh-subagent-claude-codeOne-shot Claude Code subagent provider over the official Agent SDK

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