JUANWANG-BUAA/dsh-session-git0

dsh-session-git

Conversation lineage for DeepSeek Harness: fork at a completed turn and show the family tree. Does not rewind files or merge logs.

包名
dsh-session-git
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JUANWANG-BUAA/dsh-session-git

Usage

  1. Open a conversation with at least one completed turn.
  2. Use Branch from turn in the header and pick a cut. Or, on an earlier turn with no produced-files row, use Branch from here.
  3. The child opens with history up to that turn (including standalone events after the cut until the next turn/start, such as a title change). The source is unchanged.
  4. On the child, Parent and the family tree navigate back to the source.
Source
  Turn 1  — header picker / historical turnTail
  Turn 2  — header picker / historical turnTail
  Turn 3 (latest) — official Branch only

Uninstall

dsh plugin --profile web remove dsh-session-git
dsh --profile web --dump-config | grep session-git

The UI disappears. Forked children remain ordinary sessions; parentSession stays in the log. Official Branch is unchanged.

Configuration

- id: session-git
  name: dsh-session-git
  config:
    turnTail: true           # false: hide historical turnTail; header picker stays
    prefillComposer: false   # accepted then ignored; the child is never prefilled

The complete option list, with defaults and validation, is the package Config schema (src/index.ts).

Web boot currently creates client entries as loader.create({ name }) without forwarding host yaml, so the browser half keeps turnTail on unless a future boot starts passing config. Unit tests cover the off path.