返回目录

dsh-session-fork

编辑精选维护状态: 活跃

jason-skd/dsh-session-fork

让「分支」成为 AI 对话管理的基本单元:并行工作流、可持续合并的对话记忆,开启会话分支式管理。

前往 GitHub
$ dsh plugin add dsh-session-fork

安装

dsh 没有统一的安装命令——把该插件 README(见下方)中的配置行加入你的 profile/patch 配置,然后重启即可。

了解安装方式

6

星标

3

Fork

TypeScript

语言

MIT

许可证

2026-08-20

创建于

2026-09-08

最近推送

README

dsh-session-fork

English | 简体中文

Sub agents and parallel development never quite deliver in today's agent apps. This project manages dsh's native, discrete sessions the way git manages branches: fork gives conversations inheritance, while squash and rebase give them merging — a major upgrade to the parallel-development and prompt-management experience on dsh.

This is a plugin for DeepSeek Harness; it cannot run standalone.

branch_tab

Pain points it solves

  • Efficient solo parallel development: the branch model mirrors how real programmers collaborate. While developing in parallel, every agent holds its own snapshot of the repo — you trade a strictly linear development history for resolving conflicts at merge time.
  • Clean context management: the main branch (e.g. main) stays your secretary and dispatcher. Research and coding tasks are delegated to child branches; when a task is done, only its compressed context is reported back to the main branch.
  • Hardened session management: the branch model upgrades dsh's native fork and cross-session messaging experience.

Quick start

Install (requires a web-app-based dsh profile):

dsh plugin --profile web add dsh-session-fork

After that, just let your agent use the plugin freely — every command also ships as an agent-callable tool!

Core features

  • branch operations give every session a name, an ancestry, and an index — manageable through commands.
  • fork hardens the native experience and provides the ancestry primitive.
  • squash and rebase offer two forms of cross-branch merging.
  • send_message_by_branch strengthens communication between sessions.
  • The branch tab provides visual management of branches.

Join us

What we want to build next:

  1. Branch-scoped project memory. Existing long-term memory models are project-grained, which is a disaster for the branch model: memory leaks across branches and pollutes context. Branch-grained memory management is the road to a more robust model.
  2. Ongoing maintenance. Open Issues — there are plenty of long-term improvements and bugs waiting.

We take an open stance on AI collaboration: feel free to use AI to contribute code, write commit messages, and draft PRs. But we expect you to own your code — review it yourself, and treat AI as your tool in communication rather than letting it talk to us on your behalf.

License

MIT

广告

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。