14 lines
625 B
YAML
14 lines
625 B
YAML
# 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)
|