dsh-session-collaboration
在终端中运行以下命令:
dsh plugin install w210548735-art/dsh-session-collaboration
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中执行 dsh plugin install w210548735-art/dsh-session-collaboration 即可安装该插件,源码地址为 https://github.com/w210548735-art/dsh-session-collaboration 。
插件介绍
DeepSeek Harness sessions lack a native channel for collaboration. When juggling multiple concurrent tasks, users often have to manually copy context between windows, breaking flow and risking lost information. dsh-session-collaboration addresses this by letting agent sessions explicitly relay context to each other in both directions, without human intermediation.
At its core, the plugin wires together a session_delegate model tool, an Agent.steer()-based runtime, and a Web jump card into a single collaboration pipeline. Once the model calls session_delegate, the message is admitted through the target session's next-step steering path and appears to the target as inserted model context rather than a new human input, so the caller never has to retype the task in another box. The tool supports synchronous reply-waiting with automatic relay back, as well as one-way delivery. On the Web profile, a "Jump to target session" card switches the current view in one click.
This is built for developers orchestrating complex multi-session workflows, particularly in multi-workspace or multi-agent parallel pipelines. The bundle mounts as an independent patch layer, requires no edits to existing user patches, and disables cross-workspace delivery by default, striking a balance between flexibility and safety.
使用场景
- 并行运行多个 Harness 会话时,让 agent 自动向目标会话注入任务上下文并等待回复
- 在跨工作目录的多工作区流水线中,按显式 session_id 在会话间传递中继指令
- 通过 Web 卡片在调用方与被调用方会话之间一键切换视图
- 双向协作:调用方等待目标回复后自动将 assistant 文本中继回调用方上下文
适合人员
- 编排多智能体并行工作流的 DeepSeek Harness 开发者
- 需要跨会话共享上下文而不想手动复制粘贴的 agent 应用开发者
- 构建跨工作目录多工作区流水线、需要显式会话间通信的 DSH 平台用户