# dsh-hub bundle patch: desktop shell over the web-app layer.
#
# A single row mounts BOTH halves, mirroring the official plugin shape
# (dsh-pet / dsh-better-sidebar):
#   - host half: `lib/index.js` — window/theme/state/services.
#   - browser half: `lib/client.js` — the client-modules node half scans the
#     package's `dsh.client` declaration into the web plugin roster.
#
# Launch gating: the whole row is `disabled` unless the process was started
# by this project (the desktop shortcut or the `dsh-hub` command set
# `DSH_HUB_LAUNCHED=1`). When disabled the plugin is not mounted at
# all — no loader entry, no client row in __DSH_BOOT__, nothing injected —
# so a plain command-line `dsh web` is completely clean. Under this project's
# launch the row activates and everything is served.
- insert:
    - id: dsh-hub
      name: '@marecgents/dsh-hub'
      disabled: !!js process.env.DSH_HUB_LAUNCHED !== '1'
      config:
        title: 'DeepSeek Harness Hub'
        width: 1280
        height: 720
        theme: system
