dsh-plugin-upgrader

A Versions tab on the Plugins page: one-click upgrades that replace the plugin in place where they can (no uninstall, enabled state preserved, falling back to remove + reinstall with the reason logged when the profile writer lock is busy), live pnpm output with per-step timing and cancel, the full published version history with one-click rollback, every version checked against the running DSH so incompatible ones are marked and blocked, a rollback that installs the old version but cannot activate it reported separately from a lost package, profile manifest writes taken under the harness writer lock with one recoverable journal record per package after a failed upgrade, mirror-gap warnings, and a selectable npm registry saved in the profile.

Overview

A Versions tab on the Plugins page: one-click upgrades that replace the plugin in place where they can (no uninstall, enabled state preserved, falling back to remove + reinstall with the reason logged when the profile writer lock is busy), live pnpm output with per-step timing and cancel, the full published version history with one-click rollback, every version checked against the running DSH so incompatible ones are marked and blocked, a rollback that installs the old version but cannot activate it reported separately from a lost package, profile manifest writes taken under the harness writer lock with one recoverable journal record per package after a failed upgrade, mirror-gap warnings, and a selectable npm registry saved in the profile.

Installation

Install from npm

dsh plugin --profile web add dsh-plugin-upgrader

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:zuwenyin/dsh-plugin-upgrader

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands