dsh-auto-update: An Auto-Update Guardian Plugin for DeepSeek Harness
a1113622001/dsh-auto-update
A DSH plugin that self-updates the harness launcher, staging new versions and applying them on exit to overcome Windows file locks and container constraints.
dsh-auto-update is an auto-update guardian plugin designed for DeepSeek Harness, solving upgrade failures caused by Windows file locks and container exits. It uses a three-stage strategy of staging, post-exit replacement, and container awareness to ensure safe and reliable updates. After installation, a capsule appears at the bottom-right of the web panel; click it to view version differences, manually check, or update-and-restart with one click. It supports Windows, Linux/macOS, and Docker, K8s, Podman environments with flexible configuration, ideal for developers who frequently update Harness.
How to Install
dsh plugin --profile web add github:a1113622001/dsh-auto-update- Category
- Workflow & Automation
- Platform
- DSH Plugin
- Author
- a1113622001
- Distribution
- Plugin
dsh-auto-update Key Features
dsh-auto-update Repo Summary
What Does It Do?
dsh-auto-update is a DSH plugin for DeepSeek Harness that automates the self-update process, solving the problem of failed upgrades due to file locks on Windows/POSIX or container exit. It uses a three-stage design—staging, post-exit detached apply, and container-aware protection—to ensure safe and automatic version updates, with a one-click update-and-restart from the web panel.
Core Features
- Breaks Windows EBUSY file locks: stages the new version during runtime, then performs atomic replacement after the main process exits and releases native module handles.
- Container-aware: detects Docker, K8s, and Podman environments, avoids triggering process exit, and prompts to pull the latest image.
- Cross-platform soft-link adaptation: supports restart addressing on Windows and Linux/macOS.
- Minimal capsule UI: a collapsible capsule at the bottom-right of the web interface shows version differences, manual check, and one-click restart.
- Atomic concurrency lock: a lock file prevents concurrent update processes from corrupting the global environment.
How to Use This Plugin?
After installing dsh-auto-update from the DeepSeek Harness web interface (default at 127.0.0.1:3080) via Settings -> Plugin Market, or by adding it through the CLI, the plugin automatically injects its configuration. You can adjust parameters like distTag, check interval, and auto-stage behavior in cordis.patch.yml. In daily use, a capsule at the bottom-right of the web panel shows update status; click it to manually check for updates or trigger "update and restart".
This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: a1113622001/dsh-auto-update. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.
