From ff837410871664889a8dc2ccde8cc20671e151e9 Mon Sep 17 00:00:00 2001 From: figmar Date: Wed, 2 Sep 2026 07:22:05 +0800 Subject: [PATCH] add cordis.patch.yml (v0.2.0) --- cordis.patch.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 cordis.patch.yml diff --git a/cordis.patch.yml b/cordis.patch.yml new file mode 100644 index 0000000..aad9299 --- /dev/null +++ b/cordis.patch.yml @@ -0,0 +1,13 @@ +# dsh-wb-sidebar bundle patch: inserts the host plugin row into the profile +# roster. The client half (sidebar tabs: Tasks / Agents / profile area) loads +# through the dsh.client.inject declaration in package.json; this patch mounts +# the Node-side host entry only. +# +# Double-mount guard: if another *enabled* entry already mounts the same +# package (e.g. via an aggregate bundle), this row backs off. +- insert: + - id: wb-sidebar + name: dsh-wb-sidebar + disabled: !!js > + [...ctx.loader.entries()].some((e) => + e.options.name === 'dsh-wb-sidebar' && e.options.id !== 'wb-sidebar' && !e.disabled)