dsh-patch-sync: Preserving Local Modifications After Official DSH Plugin Updates
Introduces dsh-patch-sync (v0.1.2, MIT), a DSH workflow plugin maintained by Genesis-ly. It records local edits made within enabled plugin packages and restores them as patches when a change in the installed version is detected; if a conflict arises with the upstream file, the official version is preserved and a conflict report is generated. The article covers the recording scope, the ~/.dsh/patch-sync storage layout, the fs.watch–driven and periodic reconcile mechanisms, and the full CLI surface (status / list / adopt / scan / restore / resolve / report). Installation is performed via a link: reference and install.ps1, requiring that DSH be exited first, and is supported on Windows with Node ≥ 20 and DSH ≥ 0.2.2-rc.5. Ideal for developers who hand-edit official plugins while still relying on automatic updates; source code and license should be reviewed before installing.
Read More