dsh-session-mesh
Cross-session mesh: list every session in every workspace, message any session as a real agent message, create/rename/archive/cancel sessions, and wait for session changes. 适合需要对多个工作区会话进行群发、唤醒、新建等高级调度的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kx2398/dsh-session-meshドキュメント
README 全文を読む ↗4. 配置(cordis.patch.yml 的 config)
| 字段 | 默认 | 含义 |
|---|---|---|
defaultMode | queue | 发消息默认投递模式 |
maxMessageBytes | 65536 | 含 mesh 信封的单条消息 UTF-8 字节上限 |
allowCreate | true | 允许创建会话 |
allowArchive | true | 允许归档/取消归档 |
allowCancel | true | 允许停止他人回合 |
allowSteer | false | 允许 steer 投递(可能打断人类正在跑的回合) |
maxSendsPerMinute | 30 | 每个发送方每分钟发送上限 |
allowArchivedSend | false | 允许向已归档会话发消息 |
identityContext | true | 注入身份 runtime context |
policy | short | full / short / off,控制 system prompt 段长度 |
allowedPeers | [] | 非空时仅允许给这些 sessionId 发消息 |
blockedPeers | [] | 禁止给这些 sessionId 发消息 |
改配置:编辑本目录 cordis.patch.yml → Plugin Manager 里 disable → enable,或重启 DSH。