From 8b1aa6cb0bfcf23c4c3f3057bfa7be17eb31f538 Mon Sep 17 00:00:00 2001 From: Yuto Nishida Date: Sun, 27 Sep 2026 13:28:32 -0700 Subject: [PATCH] dsh-plugins: mount fix-workspace-multiple-writers in the checkout composition Enables the reconciler for every dsh started from this checkout. Deleting the row removes the capability without touching the plugin itself. Two properties of this file are worth recording next to the row: - Its row list is read once at boot. `cordis-plugin-loader` has no composition watcher, and `dsh-app-boot` registers HMR only for the profile's own patch layer, so editing a mounted plugin's modules reloads them live but adding or removing a row needs a restart. - The include resolves against the checkout the launcher ran from (`dsh-main` derives it from `git rev-parse --show-toplevel`), so this row only takes effect where the plugin directory exists. --- dsh-plugins/plugins.cordis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dsh-plugins/plugins.cordis.yml b/dsh-plugins/plugins.cordis.yml index 98f46f6..e3845a7 100644 --- a/dsh-plugins/plugins.cordis.yml +++ b/dsh-plugins/plugins.cordis.yml @@ -16,3 +16,9 @@ - id: dsh-plugin-ui-simple-statusbar name: ./dsh-client-ui-simple-statusbar/lib/index.js + +# Host-only. Reconciles $DSH_HOME/storages/workspace.json into +# ctx.workspaceRegistry so concurrent dsh instances stop losing each other's +# sessions. Additive-only; see the plugin's README.md. +- id: dsh-plugin-fix-workspace-multiple-writers + name: ./dsh-plugin-fix-workspace-multiple-writers/lib/index.js -- 2.51.2