baisama-cloud/dsh-session-mover
在 DeepSeek Harness(DSH)网页界面中,将会话拖拽至其他工作区 — 将侧边栏会话直接拖到其他工作区(完整历史克隆+原会话归档)
Project Overview项目介绍
dsh-session-mover is a purpose-built plugin for DeepSeek Harness (DSH), adding cross-workspace session moving functionality to DSH’s web GUI. The plugin extends DSH’s native drag-and-drop system, which only supports reordering sessions within a single workspace, to allow moving full sessions between different workspaces. To install, you clone the repository to your local machine, run npm pack to generate a compressed .tgz package, then add it to your DSH plugin bundle via the bundle patch mechanism.
This plugin is designed for DSH users who organize their agent conversations into separate workspaces and need to rearrange their sessions between different workspaces. The workflow is straightforward: you hold down any session in the DSH sidebar session list, drag it to the title of a different workspace, then release your mouse to complete the move. After moving, you will see a result notification at the bottom of the interface, and if you moved the currently open session, you will be automatically redirected to the new session in the target workspace.
The plugin is open source under the MIT license, with no external dependencies beyond the DSH core APIs. Due to DSH platform constraints, there are a few limitations to note: moving a session generates a new session ID and archives the original one, instead of modifying the original session in place. Subagent sessions and blank placeholder sessions cannot be moved, and the plugin does not work when DSH is set to the flat single-list mode, which has no workspace title rows for drop targeting.
这是专为 DeepSeek Harness(DSH)开发的原生插件,用于在 DSH 的网页端图形界面中直接将会话拖动移动到其他工作区。DSH 官方原生仅支持同工作区内的会话重排序,该插件拓展了原有的拖拽交互能力,新增了跨工作区移动会话的功能,整个操作流程不需要打开额外面板或点击功能按钮。
该插件面向需要整理会话、调整会话所属工作区的 DSH 用户,使用流程十分直观:用户只需在侧边栏的会话列表中按住想要移动的会话行,拖动到目标工作区的标题行后松开,即可完成移动操作。移动完成后底部会弹出结果提示,如果移动当前打开的会话,插件会自动跳转到移动后的新会话。
该插件遵循 DSH 插件包分发标准,可通过克隆仓库本地打包后,用 DSH 的 bundle patch 机制挂载使用,代码开源遵循 MIT 许可。受 DSH 平台限制,移动会话会生成新会话ID并归档原会话,不支持子代理会话、空白占位会话移动,平面列表模式下无法使用。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-session-mover(baisama-cloud/dsh-session-mover)
仓库:https://github.com/baisama-cloud/dsh-session-mover
本站详情页:https://www.yhbd.top/plugins/baisama-cloud-dsh-session-mover/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-08-22 · 主语言 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 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:baisama-cloud/dsh-session-mover
把 baisama-cloud/dsh-session-mover 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-session-mover
在 DeepSeek Harness(DSH)Web GUI 中直接把会话拖到其他工作区的插件。
按住侧边栏(会话列表)里的任意会话行,拖到另一个工作区的标题行上松手,会话即移动到该工作区——同标题、同完整历史,原会话自动归档隐藏。
功能
- 直接在会话列表里拖动,无需任何面板或按钮;
- 支持工作区组内会话、跨工作区、以及「未分组」会话拖入工作区;
- 移动后底部弹出结果提示;若拖的是当前打开的会话,会自动跳转到新副本;
- 同工作区内拖动仍走官方重排逻辑,互不干扰;
- 失败有可见的红色提示,不会无声无息。
安装
与 DSH 插件包相同的分发方式:
# 克隆到本地后,用 dsh 的 bundle patch 机制挂载
npm pack # 生成 dsh-session-mover-0.1.0.tgz
或在 DSH 配置的插件列表中加入该包,cordis.patch.yml 已声明:
- insert:
- id: dsh-session-mover
name: 'dsh-session-mover'
lib/client.js 是已打包的浏览器 bundle(window.__ModuleLoader__.load 形态,与 dsh-omni-bridge 相同);宿主 lib/index.js 在 webServer 上注册 POST /session-mover/move-session 路由供客户端调用。若作为动态插件运行,宿主同样提供 harness.handle('move-session') 配对(两种方式都已内置,逻辑共用)。
使用
- 在侧边栏会话列表里按住要移动的会话行;
- 拖到另一个工作区的标题行(带文件夹图标的行)上松手;
- 原会话从旧工作区消失(归档),目标工作区出现同历史的新会话,底部提示移动结果。
会话所属工作区由会话的
cwd(工作目录)决定。受平台约束(会话日志默认 zstd 压缩、会话头不可变、存储层无迁移 API),无法保留原会话 ID 原地搬家,因此采用「目标工作区克隆 + 原会话归档」语义。
工作原理
- 官方侧边栏的会话行本身可拖拽,拖起时会把会话 ID 写入
dataTransfer(setData("text/plain", id)),但官方只允许同工作区内重排; - 插件在
document层监听drop,用语义属性(role="treeitem"+aria-expanded,而非样式类)定位光标下的工作区标题行,按其在树中的顺序映射到对应工作区; - 命中后调用宿主
move-session:sessionQuery.readSession读取源会话完整日志;sessions.create在目标工作区创建携带完整历史的新会话(保持创建时间与 agent 预设,cwd= 目标工作区路径);sessions.flush持久化;workspace.attachSession归属到目标工作区;workspaceRegistry.archiveSession归档源会话。
限制
- 移动会产生新的会话 ID(平台无原地迁移能力),原会话归档隐藏(日志与记录保留,可被
workspaceRegistry查询); - 子代理(subagent)会话与空白占位会话不作为可拖拽项;
- 平面列表模式("In one list")下没有工作区标题行,拖放无效(符合预期)。
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
Tyan66666/billion-context-dsh
qkycir-123/dsh-run2skill