AI Agent Hub
Back to plugins
🖥️

dsh-goal-auto

Client Updated 2026.09.05

Run the following command in DeepSeek Harness:

dsh plugin install FuWenLianggit/dsh-goal-auto

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install FuWenLianggit/dsh-goal-auto in your terminal to install this plugin in DeepSeek Harness. Full source code: https://github.com/FuWenLianggit/dsh-goal-auto

About this plugin

Running long-lived goal sessions in DeepSeek Harness means a single process restart kills all progress: empty model variables crash prompt assembly, an unmounted preset leaves the tool set blank, and the goal driver resets to disarmed. dsh-goal-auto adds a toggle to the session header that, once enabled, makes marked sessions self-heal on the next harness boot. The agent is reloaded, its preset is mounted, the goal is re-armed, and the round driver picks up where it left off with zero manual clicks.

The preset is read adaptively from each session header, falling back to a global default when absent, so mixed sessions never bleed into each other. State is persisted to a local JSON file that can be hand-edited while the harness is stopped. Three HTTP endpoints (/state, /toggle, /resume-now) provide a minimal surface for external orchestration.

Built for users who run long-running goal sessions, need 7x24 unattended operation, or simply want auto-recovery after a restart without writing resume scripts by hand. The repository ships a per-instance watchdog scaffold (crash circuit breaker, .NET-based health probes, logon auto-start) for production-grade deployments.

Use Cases

  • Long-running goal sessions that must survive harness restarts automatically
  • Multi-instance DSH deployments requiring 24/7 unattended operation
  • Exposing session state over HTTP for external orchestration or diagnostics

Best For

  • DSH power users running long-lived goal sessions
  • DevOps engineers managing multi-instance DSH clusters
  • Developers building automated DSH workflows