# dsbot — static mount example # # Copy this block into your DSH profile patch to mount without `dsh plugin add`. # Replace with the checkout directory of this project. # The row references the plugin entry by package name; the path is only needed # for an out-of-tree checkout that is not installed as a dependency. # # DSH 0.2 note: a patch replaces the matched row's whole `config`, so restate # every key the row needs if you extend it. - insert: - id: dsbot name: '@zylzyqzz/dsbot' path: file:///ABSOLUTE_PATH/dsbot/lan-gate.mjs # The public authority the gateway serves must be trusted by DSH's Host/Origin # fence, because the gateway forwards the browser-facing Host unchanged. # Set LAN_GATE_TRUSTED_HOSTS in the DSH process environment, e.g. # LAN_GATE_TRUSTED_HOSTS=203.0.113.10,app.example # and append the same row to the profile patch: # # - id: connection # name: '@deepseek-ai/dsh-client-connection' # inject: [webStartup] # config: # trustedHosts: !!js "[...ctx.webStartup.trustedHosts, ...String(process.env.LAN_GATE_TRUSTED_HOSTS || '').split(',').map((entry) => entry.trim()).filter(Boolean)]"