dsh-session-git

Merges the work done in a forked session back into the session it came from: /merge turns the branch's session log into a digest without a model call (each turn's prompt and reply, files changed, commands run, choices you made, to-dos and the final answer) and delivers it with your next message, or at once with --wake; merging the same branch again brings only the turns added since. Also adds /branches, a right-sidebar branch map with merge state, a reminder above the composer for branches with unmerged turns, and session_branches / session_branch_merge tools for the agent.

Overview

Merges the work done in a forked session back into the session it came from: /merge turns the branch's session log into a digest without a model call (each turn's prompt and reply, files changed, commands run, choices you made, to-dos and the final answer) and delivers it with your next message, or at once with --wake; merging the same branch again brings only the turns added since. Also adds /branches, a right-sidebar branch map with merge state, a reminder above the composer for branches with unmerged turns, and session_branches / session_branch_merge tools for the agent.

Installation

Install from GitHub

dsh plugin --profile web add github:glk1220/dsh-session-git

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.