Totoro-qaq/dsh-plugin-bridge
DeepSeek Harness 的跨预设会话迁移:使用固定 schema 交接摘要,而非绕过预设锁定。包含 26 轮基准测试与 A/B 对照证据。
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that enables session migration between different tool presets. It can be installed via the DSH CLI from npm by running dsh plugin --profile web add dsh-plugin-bridge, or you can install a specific GitHub version with dsh plugin --profile web add github:Totoro-qaq/dsh-plugin-bridge#v0.3.7. It works with both the official DSH WebUI and custom UIs, and automatically provides a native interactive card for compatible DSH WebUIs. Custom UI authors can reuse the exported client contract instead of reimplementing the standard wire protocol.
After installation, all operations are triggered via slash commands in the official DSH WebUI. Running /bridge lists all available target presets, while /bridge code generates a preview of the migration handoff without changing any existing active sessions. You can edit or review the five-part structured handoff before confirming the final migration, so you only move relevant task state instead of old outdated tool traces from the original session. This plugin is ideal for DSH users who need to switch tool presets mid-task without leaving unwanted incompatible legacy tool calls in the new clean session.
This plugin requires Node.js version 22 or newer and is released under the open source MIT license, so it is free to use and modify. After a first-time installation via the DSH CLI, you will need to restart the DSH WebUI once for the plugin to load properly. After upgrading DSH or the plugin itself, you can run /bridge --doctor to check for missing required interface methods and resolve compatibility issues before using the updated version. Text-only language models cannot process unresolved images and the current release only has limited regression testing, so it does not offer a statistical guarantee of consistent performance.
这是一个专为DeepSeek Harness (DSH) 开发的原生插件,核心功能是帮助用户将进行到一半的任务会话迁移到新的工具预设,同时保留原会话不做修改,还支持用户在执行迁移前预览分五步整理的交接内容。用户可以通过DSH CLI命令从npm安装,也可以指定GitHub源码版本安装,兼容官方WebUI和自定义UI。
安装完成后,用户可在DSH WebUI中输入斜杠命令完成所有操作,输入/bridge即可列出可用的目标预设,输入/bridge code可以预览迁移内容而不修改任何现有会话,确认无误后再执行迁移操作。这款插件适合需要切换不同工具预设,同时希望清理旧会话中不兼容工具痕迹的DSH用户。
该插件要求Node.js版本不低于22,采用MIT许可免费开源,首次从CLI安装后通常需要重启一次DSH WebUI,版本升级后可运行/bridge --doctor检查接口兼容性,不支持纯文本模型处理未解析的图片,目前只做了有限的回归测试验证,不提供统计层面的可用性保证。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-bridge(Totoro-qaq/dsh-plugin-bridge)
仓库:https://github.com/Totoro-qaq/dsh-plugin-bridge
本站详情页:https://www.yhbd.top/plugins/totoro-qaq-dsh-plugin-bridge/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 165 · 最近提交 2026-10-01 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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 dsh-plugin-bridge
把 Totoro-qaq/dsh-plugin-bridge 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-bridge
English | 中文
Halfway through a task and need another tool preset? Switching the produced session in place would leave tool history that belongs to the old assembly. Bridge previews a bounded five-part handoff, opens a clean target, and leaves the original session untouched.
Quick start · Why Bridge · Evidence · Decisions · Compatibility
Quick start
Install from npm:
dsh plugin --profile web add dsh-plugin-bridge
On DSH 0.1.5-rc.2, restart dsh web after adding or removing the plugin. On DSH 0.1.6-alpha.2, a first install from the WebUI Plugins page applies live; CLI install and upgrades may still need one restart. DSH 0.1.7-alpha.1 was tested with CLI installation, live disable/enable, and removal followed by a restart; restart-free installation or upgrades were not tested.
Pinned GitHub fallback:
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
weijiafu14/pi2dsh
william-jin-cmu/dsh-vision
Flyvhidbwo/dsh-vision-proxy
WNJXYK/dsh-codex-oauth
JuneLearn/dsh-image2-draw
mjylfz/dsh-skill-mover
STARDUSTLC666/dsh-voice