AI Agent Hub
Back to plugins
⚙️

dsh-safe-updater

Workflow Updated 2026.08.21

Run the following command in DeepSeek Harness:

dsh plugin install lucifer726/dsh-safe-updater

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

Install the plugin in DeepSeek Harness by running dsh plugin install lucifer726/dsh-safe-updater, source available at https://github.com/lucifer726/dsh-safe-updater

About this plugin

DeepSeek Harness runs persistent agent workflows where a single bad upgrade can disrupt live sessions, workspace state, and external integrations. dsh-safe-updater turns version updates into an auditable, reversible pipeline: it clones the candidate into an isolated DSH_HOME, installs dependencies, validates the composed config, and spins up a temporary Web server for HTTP health probes. Only after every check passes is a switch permitted; any failure rolls back automatically without interrupting the running agent loop.

The plugin offers three escalating modes: notify records a newer release and does nothing else, stage completes a full dress-rehearsal but never restarts, and apply hands the switch to an external supervisor for production activation. Every candidate command executes as an argument array with shell disabled, credentials and runtime data are never copied into staging, and state files use atomic replacement with restricted permissions, neutralising common risks of recursive staging and supply-chain injection.

It is built for teams and power users who treat DSH as long-running infrastructure: you want a controlled update window, a clear rollback path, and zero disruption to in-flight agent tasks, without manually diffing npm version numbers before every upgrade.

Use Cases

  • Upgrading DSH in production without interrupting live agent tasks
  • Rehearsing a new release to verify config and dependency compatibility before committing
  • Mitigating npm supply-chain risk to running workflows

Best For

  • Teams treating DSH as long-running infrastructure
  • Power users requiring zero-downtime upgrades
  • DevOps engineers managing agent workflow deployments