dsh-session-bridge
其他 活跃维护

dsh-session-bridge

FuWenLianggit/dsh-session-bridge

提供会话级多线程编排能力,支持创建普通会话、按ID向指定会话发送排队或中断提示、枚举所有活跃会话,安装配置轻量,可高效完成批量会话的队列管控与调度。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
8 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:FuWenLianggit/dsh-session-bridge
git clone https://github.com/FuWenLianggit/dsh-session-bridge.git
git clone git@github.com:FuWenLianggit/dsh-session-bridge.git
README.md main

dsh-session-bridge

Session-level multi-thread orchestration for DeepSeek Harness. Installs as a
bundle in the web profile and registers globally — every session can use
the tools regardless of agent preset.

Tools

Tool Purpose
session_create Create an ordinary session in the caller's workspace (optional initial prompt); returns the session id. The child binds to the caller's standing composition via composeFrom — never re-mounts another preset.
session_send Deliver a prompt to any ordinary session by id. queue = next-turn FIFO (busy targets finish their turn first); interrupt = insert at the next step boundary. Cold sessions resume automatically. Subagent sessions are refused.
session_list Enumerate ordinary sessions (id, title, cwd, running); optional workspace filter.

Install

From the Git repository (recommended):

dsh plugin --profile web add https://github.com/FuWenLianggit/dsh-session-bridge

Or from a local checkout:

dsh plugin --profile web add <path-to-this-checkout>

Restart dsh web and hard-refresh the browser. Uninstall with
dsh plugin --profile web remove dsh-session-bridge.

Notes

  • Send/creation use the harness's built-in session/agent services; the plugin
    only wraps them into model-facing tools.
  • Cross-session messages are recorded with source: { kind: 'plugin', plugin: 'session-bridge' } for provenance.
  • Only ordinary sessions are addressable; subagent-owned sessions keep the
    subagent routing fence.