JUANWANG-BUAA/dsh-session-git

JUANWANG-BUAA★ 1TypeScriptLast synced: 2026-08-17

Open on GitHub

Conversation lineage for DeepSeek Harness: fork at a completed turn and show the family tree. Does not rewind files or merge logs. 从已完成轮次新建对话分支并画出家族树;不回退文件、不合并日志。

README excerpt

dsh-session-git English 中文 dsh-session-git is a plugin for DeepSeek Harness. It treats a conversation as lineage: fork from a completed turn , open the child, and draw the family tree in the session header. The source session is left unchanged. The plugin does not rewind workspace files and does not merge logs. Compatible with DeepSeek Harness 0.1.0-rc.5 fork semantics (locked in src/policy/host-boundary.ts ). Smoked on CLI 0.1.0-rc.6 . After a harness upgrade, run pnpm test ; if host-boundary fails, stop shipping. Problem The official API already supports fork({ sessionId, atSeq }) . The Web UI only exposes that cut on the current transcript tail and as “latest turn” in the sidebar. There is no way to branch from an earlier completed turn, and the official sidebar stays flat on purpose. Approach Result Official Branch Cuts the latest completed turn; no family tree dsh-turn-rewind / dsh-rewind File rewind; some paths archive the source This plugin Historical completed-turn fork + in-plugin family tree; files untouched Need a disk time machine? Install a rewind plugin. Do not ask this package to undo an edit. Solution The plugin adds product UI on top of the official fork RPC: - pic…

View full README on GitHub →
Tools / Devdeepseek-harnessdshdsh-pluginfamily-treeforklineagenodejssession

Category