dsh-mixxed/dsh-client-ui-git-branch

Puts a git branch selector in the composer, left of the model seat, grouping local, remote-only and deleted-upstream branches.

Mounts a branch chip at conversation.input.right, immediately left of the model seat, and groups the list the way git actually leaves a working tree: local branches, remote branches that exist remotely with no local counterpart, and a gone marker when the upstream ref was deleted, while local-only branches show nothing. The list is capped at five visible rows and scrolls inside itself rather than the page, and fuzzy search spans both groups at once, with a group collapsing away when it has no matches. It is dual-built with esbuild into a Node ESM host half and a browser CJS closure, so the composer change ships as one plugin rather than a patch to the harness.

Web UI Enhancements ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add @dsh-mixxed/dsh-client-ui-git-branch

The npm line. The package declares dsh.bundle, so dsh plugin add appends it to the profile's dsh.profile.bundles layer stack and the plugin mounts on the next boot — no manual cordis.patch.yml editing. Upgrading an install that predates the bundle declaration needs one cleanup step: remove the legacy ui-git-branch row from $DSH_HOME/profiles/<name>/cordis.patch.yml, because the bundle layer now supplies it and leaving both would mount the id twice. Restart the profile, then refresh the browser.

Compatibility

DSH Web, with git installed and the session workspace itself being a git repository — the chip only appears when both are true, so a session that is not a repo shows nothing rather than an empty control. Built fit for the 0.5.x line of this author's out-of-tree UI plugins, and the repo documents a development profile (git-branch-dev, booted with dsh --profile git-branch-dev --port 3800) separate from your own, which is the honest way to test a composer change. Verification is documented too: dsh --profile <name> --dump-config should show the ui-git-branch row, and the profile's package.json should list the package under dsh.profile.bundles.

Details

Alternatives

dsh-mixxed/dsh-client-ui-filesystem · dsh-mixxed/dsh-client-ui-filesystem-manager · Rookiecom/dsh-client-ui-side-chat

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins