# dsh-gitbash-shell bundle patch # # Installed through the official CLI — # # dsh plugin --profile add dsh-gitbash-shell # # — the command reconciles `dsh.profile.bundles` against installed packages # and, seeing this declaration, appends dsh-gitbash-shell to the bundle # stack. The profile boot then merges this patch: # # 1. withdraw the PowerShell executor (the framework composes exactly one # ctx.shell provider per process); # 2. insert the Git Bash executor row (a subclass of the shipped # @deepseek-ai/dsh-bash-sandbox, so sandbox policy, denial # classification, background jobs, and settings behave identically); # 3. insert the preset-materialization row, which writes the # standard/minimal/code/cordis Git Bash variants into the first # user-trust preset root. # # On non-Windows hosts the executor row is disabled and the bundle is inert # apart from the preset materialization (bash is already the native stack). # # This patch deliberately does NOT flip the base host tool-bash/tool-pwsh # rows: the web surface disables them and lets agent presets provide the # model-facing shell tools instead. - id: pwsh-sandbox disabled: true - insert: - id: gitbash-executor name: dsh-gitbash-shell/shell disabled: !!js process.platform !== 'win32' config: timeoutMs: 60000 bashPath: "C:/Program Files/Git/bin/bash.exe" - id: gitbash-presets name: dsh-gitbash-shell # Edit the dsh-better-sidebar row when it is mounted (their own bundle # inserted it; our bundle is later in the stack, so this edit lands on the # existing row — empty-config rows absorb it, missing rows warn and skip, so # profiles without the sidebar are unaffected). The boot-time shell # resolution drives BOTH the spawn chain and the client tab title # ('shell.get' name), so pointing config.shell at Git Bash on Windows makes # the sidebar terminal open bash AND display a 'bash' tab label; per-open # settings overrides (which this plugin also fills) then agree with it. - id: better-sidebar name: dsh-better-sidebar config: shell: !!js >- process.platform === 'win32' ? 'C:/Program Files/Git/bin/bash.exe' : ''