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.

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
forkand 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
branchoperations give every session a name, an ancestry, and an index — manageable through commands.forkhardens the native experience and provides the ancestry primitive.squashandrebaseoffer two forms of cross-branch merging.send_message_by_branchstrengthens communication between sessions.- The branch tab provides visual management of branches.
Join us
What we want to build next:
- 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.
- 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
更多「会话与消息」插件
memos
作者 memtensor
面向 LLM 与 AI 智能体的自进化记忆系统,提供超持久记忆、混合检索与跨任务技能复用,可显著节省 Token。
dsh-anchored-standard
作者 xiaobright
DeepSeek Harness 两阶段预设:先最小对齐引导,再启用完整标准工具集。
dsh-infinite-gen-4
作者 minglink
DeepSeek v4.1 flash 网络安全红队工具(无限四代) 求 Star 收藏 ⭐欢迎大家提交项目的改进
mem9
作者 mem9-ai
每轮自动回忆 + 后台智能摄取 + 五个记忆工具,为 DSH 加持记忆。
