dsh-courier
DiscoveredDSH plugin: cross-session messaging with reliable delivery and role addressing (coding/review loop)
dsh-courier
dsh-courier is a DSH plugin for cross-session messaging: reliable message delivery and role addressing between multiple sessions in the same host process, powering the "coding ↔ review" workflow loop.
courier_send— wakes an online target session immediately (agent.followup); offline targets get persistent mailbox delivery (default~/.dsh/courier/mailbox.jsonl), auto-delivered on session resumecourier_register/courier_list— role ↔ session mapping persisted in~/.dsh/courier/roles.json(or statically seeded via config)- Review ledger at
.pi/review/ledger.md: issues tracked as R1..Rn withopen → fixed → verifiedstates (reopened if re-review fails)
以下为中文文档 / Chinese documentation below:
DSH 跨会话通信插件:为同一宿主进程内的多个会话提供可靠消息投递与角色寻址, 支撑"编码 ↔ 评审"循环工作流。
安装
- 安装进 web profile:
cd ~/.dsh/profiles/web && pnpm add file:/Users/chenzhiyun/work/opensource/dsh-courier - 在
~/.dsh/profiles/web/package.json的dsh.profile.bundles追加"dsh-courier" - 重启
dsh web - 验证:
dsh web --dump-config | grep -A4 "id: courier"
使用
- 打开两个会话(同一仓库 cwd)
- 会话 A 说:用 courier_register 把本会话注册为 coder
- 会话 B 说:用 courier_register 把本会话注册为 reviewer
- 会话 A 说:实现 X,完成后用 courier_send 通知 reviewer 评审
- 双方按注入的角色协议循环,直到 reviewer 发出 APPROVED
协议要点
- courier_send:目标在线立即唤醒(agent.followup);不在线进入持久化信箱(默认 ~/.dsh/courier/mailbox.jsonl),会话恢复时自动补投
- courier_register / courier_list:角色↔会话映射持久化在 ~/.dsh/courier/roles.json
- ledger:.pi/review/ledger.md,问题项 R1..Rn,状态 open → fixed → verified(复核不过 reopened)
- 角色可静态种子(配置 roles)或运行时注册(courier_register)
Comments
Loading…
Similar plugins
by nicecx
DSH plugin: relay approval & question requests to any chat channel — iMessage, Email, WeChat built-in; Telegram/DingTalk/Feishu/Slack via a common adapter contract (src/channels/types.js)
★ 3
↓ 174/wk
MIT
JavaScript
Sep 7, 2026
dsh plugin --profile web add dsh-relayby XBXyftx
Cross-session messaging plugin for DeepSeek Harness: let user-launched sessions in one workspace message each other and coordinate tasks, write scopes, and conflicts.
★ 0
MIT
TypeScript
Oct 18, 2026
dsh plugin --profile web add dsh-session-messagingby Momojie-S
DSH plugin: hold busy-parent subagent notices, deliver as fresh turns when idle (hold-and-release)
★ 0
MIT
TypeScript
Oct 12, 2026
dsh plugin --profile web add @momojie-s/dsh-subagent-idle-deliveryby Frog755
DSH client plugin: auto-sends 「继续」 when a turn is interrupted/errored/overlong. No model/provider switching. Ships with a settings card.
★ 3
↓ 155/wk
MIT
JavaScript
Sep 10, 2026
dsh plugin --profile web add @frog755/dsh-client-auto-retryby loklamlok
DSH web plugin: reorder queued messages (up / down / top / bottom) before the agent processes them.
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-queue-directorby Chinesezjc
Cross-instance message/event handoff plugins for DSH (interconnect service + tools)
★ 37
MIT
TypeScript
Oct 23, 2026
dsh plugin --profile agent add dsh-interconnect