omdsh-dev/dsh-fusion

将多个 DeepSeek Harness 对话融合为一个可继续的会话,支持 Agent 智能剪枝、话题分组、内容排序和界面操作

Project Overview项目介绍

dsh-fusion is a native plugin built exclusively for DeepSeek Harness (DSH) that enables fusing multiple existing DSH conversation sessions into a single new, continuous session. It ships with a DSH-specific cordis patch manifest that DSH uses to load the plugin correctly. To install it, users need to run the DSH CLI command dsh plugin --profile web add /path/to/dsh-fusion then restart DSH to load the plugin. After installation, the /fuse command will appear in DSH’s slash menu, and the conversation_fuse tool is added to DSH’s model tool catalog.

The plugin is useful for both DSH end users and developers who need to organize related scattered conversations. To fuse conversations via UI, users can click the “Fuse conversations” button in any conversation header, select the target sessions from the same workspace, adjust fusion settings like ordering and deduplication, then generate the new session. Users can also trigger fusion directly via the conversation_fuse model tool with custom parameters. After fusion, the new session will appear in the session list for immediate opening.

dsh-fusion is released under the open source MIT license, and has several documented known limitations. Fusion only creates a static snapshot of source sessions, so later updates to original sources will not propagate to the fused session. Currently, only text content is projected into the new session; images, reasoning content, tool calls and tool results are all omitted. Cross-workspace fusion is disabled by default, and must be explicitly enabled by the deployment. Intelligent planning depends on the caller’s model provider, but manual fusion works deterministically without extra model calls.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是将多个已有 DSH 会话融合成一个独立标识、可持续对话的新会话,且全程不会修改原始源会话。它最多支持融合 2 到 32 个会话,默认部署上限为 8 个,用户可通过 UI 按钮、斜杠命令或模型工具调用触发功能,安装需经 DSH CLI 添加后重启 DSH 生效。

DSH 开发者和普通用户都可以使用该插件整理分散的相关对话内容,比如将研究、实现、复盘三个关联会话合并成一个完整连贯的新对话。融合时可以选择按时间顺序排序或按来源会话分组排序,支持对共享分叉前缀去重,还可以选择开启智能规划模式,由临时代理梳理验证内容结构。

该插件采用 MIT 许可证开源,目前存在一些已知限制:融合仅生成快照,源会话后续更新不会同步到新会话;暂不支持保留图片、推理内容和工具调用;默认仅允许同工作区融合,跨工作区融合需要手动开启配置。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:omdsh-dev/dsh-fusion

把 omdsh-dev/dsh-fusion 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-fusion

English | 中文

A DeepSeek Harness bundle that fuses the current model surfaces of two or more sessions into one independently identified, titled, durable, and continuable conversation whose retained messages are native target-session log events. Source sessions are never modified.

Capabilities

  • Fuses 2–32 conversations; the deployment default limit is 8.
  • Orders projected messages chronologically or groups them by caller-selected source order.
  • Deduplicates shared fork prefixes by stable message id without collapsing coincidentally identical prose.
  • Projects text from user and assistant messages while excluding reasoning, tool calls, and tool results.
  • Inherits the caller's cwd, provider/model options, and creation-time agent preset.
  • Attaches the target to the caller/source Workspace group when the optional Host Workspace registry is available.
  • Uses an explicit title, then an Agent-planned title, then a readable title derived from the source conversation titles.
  • Seeds a deterministic session/title, an ignorable provenance manifest, one untrusted-history boundary, and native user/message / assistant/message events with valid target-owned turn/step brackets, then requests a persistence flush.
  • Restricts sources to the caller's cwd by default; a deployment must explicitly enable cross-workspace fusion.
  • Optionally runs a temporary, tool-free DSH Agent to judge fusion value and return a strictly validated pruning, topic-grouping, and ordering plan.

Installation

This repository is a DSH bundle with cordis.patch.yml:

dsh plugin --profile web add /path/to/dsh-fusion

Restart DSH after installation. The profile loads @deepseek-ai/dsh-fusion; the /fuse entry appears in the slash menu and conversation_fuse appears in the model tool catalog. The selected profile must provide agents, commands, sessions, sessionQuery, systemPrompt, and tools. Compositions that provide an invariants service may mount the optional @deepseek-ai/dsh-fusion/invariant entry separately; the default bundle does not enable it.

UI command

Click Fuse conversations in any DSH conversation Header. The dialog includes the current conversation automatically and lists other nonblank conversations in the same workspace. It supports source search and multi-selection, an optional title (leave it blank to generate one from the source titles), chronological or source-grouped ordering, fork-history deduplication, and optional intelligent Agent planning. The planning Agent can decline an incoherent fusion or prune, group, and reorder useful material. After creation, the new conversation joins the same Workspace group and the dialog can open it as soon as it appears in the session list.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev DSH-WebGIS 下一个 Next Big8 →