← 返回列表

dsh-fork-relink

DeepSeek Harness 会话与消息 低风险

DSH 的 fork 伴随插件:官方 fork 发生后,把原会话的直接子 agent 复制到 fork 出的新对话下(递归复制整棵子树,副本经官方 agent API 创建),每个副本留在磁盘上成为可被官方恢复路径唤醒的冷会话——新对话保留子代理面板,并能继续给这些子代理发消息;原件仍留在旧分支。

Fork companion for DSH: on any official fork, copies every direct subagent child of the source session onto the forked conversation (recursively, whole subtrees) through the official agent API, leaving each copy as a cold session the official resume path can wake — so the new conversation keeps its subagent panel and can keep messaging those children, while the originals stay with the old branch.

怎么安装

DeepSeek Harness dsh plugin add github:Enosensu/dsh-fork-relink

简介

dsh-fork-relink DSH(DeepSeek Harness)官方 fork 的伴随插件:**fork(分支)发生后,自动为原会话的直接子 agent 创建完整副本挂到新会话下**——fork 出的对话完整保留子 agent 面板、代理路由、descriptor、label 等信息;原会话的子 agent 记录原样保留(复制而非转移,两个分支互不干扰)。 本插件由 Enosensu 与 AI(ZCode 智能体,GLM 模型)结对开发 · Co-developed with AI. 背景 DSH 的 fork(会话列表里的分支按钮)用**新会话 id** 承接被继承的历史,而子 agent 会话按 parentSession 挂在父会话下。fork 之后,子 agent 记录仍指向旧会话——新对话的子 agent 面板为空,子 agent 的全部工作记录"消失"(实际仍在磁盘上,只是脱离了新对话)。 原理 监听官方 session/created 事件。fork 子会话(isSeeded 且有 parentSession 且 origin !== 'subagent')进入 store 时,为旧会话的每个直接子 agent 调用官方 agents.create 创建**完整副本**: meta.parentSession 在创建那一刻就指向 fork 子会话(无文件改写…

推荐参考

48 工具本身 · 参考星标、下载量、最近更新、安全检查和文档情况
– 用户关注 · 参考最近的查看、安装命令复制和外链访问
48 推荐程度
0访问
0独立访客
0复制安装命令
0下载点击
0外链跳转

信息

协议
MIT
语言
JavaScript
GitHub 星标
2
月下载
–
最近更新
2026-09-20
创建于
2026-09-10

链接

GitHub ↗ 报告问题 ↗

基础安全检查

检查结果
curated 收录但无 npm 包/安装命令
收录来源
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
主题标签
deepseek-harness, dsh-plugin

同类推荐

DeepSeek Harness
推荐77

DSH-EasyRewrite

Renzic-Stone/DSH-EasyRewrite

在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。

☆ 116 ↓ 5.7K 会话与消息 ↗
DeepSeek Harness 新上架
推荐71

dsh-web

zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery

对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。

☆ 5.9K ↓ – 会话与消息 ↗
DeepSeek Harness
推荐71

dsh-nested-followups

sluminositys/dsh-nested-followups

从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。

☆ 48 ↓ 830 会话与消息 ↗
DeepSeek Harness 精选
推荐69

dsh-session-sync

PerryLink/dsh-session-sync

DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。

☆ 12 ↓ 2.8K 会话与消息 ↗