MemoryIt/dsh-trail-plugin
MemoryIt★ 0TypeScript最后同步: 2026-08-18
—
README 摘要
dsh-trail-plugin DeepSeek Harness(DSH)插件: Session Tree / History Index ——给线性会话日志加上 可索引、可跳转、可分叉的导航层。 npm 包名: dsh-trail-plugin (MIT)。 这是什么 DSH 的会话本质是一条线性滚动的对话日志:只能顺着往下看,找不到"刚才那轮说了什么", 更没法从某个历史节点继续。dsh-trail-plugin 在会话列表左侧加一个 历史索引栏 ,把每个会话的 事件日志折叠成 节点树 ——每轮对话一个逻辑节点,行内显示摘要与文本,支持: - 行内跳转 :点击任意节点,直接跳到那轮对话在聊天流里的位置; - 续写(fork) :从任意节点 fork 出新的子会话继续,不打断当前会话; - 分叉切换 :有分叉的节点带角标,展开共享会话下拉,一键切换; - 可拖宽、可折叠 :左栏宽度与折叠状态会被记住,刷新不丢。 索引通过 DSH 官方投影通道持久化( $DSH HOME/storages/session projcache.json ), 重启后恢复,不受对话窗口已加载条数限制。 安装 前置要求 - DSH( dsh CLI 可用,profile 机制正常) - Node.js ≥ 20 从 npm 安装(推荐) --profile 换成你实际使用的 profile 名(默认 GUI 是 web )。bundle 层改动需要 整进程重启 DSH 才生效,装完请重启。 验证安装 重启后看两处: - 启动日志出现: [I] dsh-trail [dsh-trail] hello world from dsh-trail-plugin (host) (日志里的 dsh-trail 是日志命名空间与默认 label ,不是包名) - GUI 会话列表左侧出现「历史索引」左栏(含当前会话的节点树) 其他安装方式 方式 命令 说明 npm tarball dsh plugin --profile web add ./dsh-trail-plugin-0.1.0.tgz 无网络/内网场景 git dsh plugin --profile web add github:MemoryIt/dsh-trail-plugin 需在 profile 的 pnpm-workspace.yaml 放行 allowBuilds 本地源码 dsh plugin --profile web add /path/to/dsh-trail-plugin 开发调试用 使用 安装并重启后,进入任意会话,左侧即是「历史索引」: - 节点行 :每个逻辑节点对应一轮对话,显示摘要;行尾「续写」按钮在鼠标悬停时出现。 - 跳转 :点击节点行,聊天流自动滚动到该轮(目标在未加载的历史里时自动加载更早 内容…
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784