happyren/dsh-agent-messaging5

dsh-agent-messaging

实现跨会话的智能体间消息通信与决策账本。

AI 分析

适合多智能体协同任务,防止多个会话间出现重复、矛盾或死锁。

包名
dsh-agent-messaging
版本
0.13.1
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:happyren/dsh-agent-messaging

Configuration

Override in your profile's cordis.patch.yml:

- id: agent-messaging
  config:
    inbound: accept
    spoolOffline: true
KeyDefaultMeaning
inboundacceptaccept, hold (await operator release), or refuse
peerAuthorityinformact lets authorised peers be acted on directly
trustedPeers[]Peers authorised by peerAuthority: act, matched exactly
capabilitiesall onWhich optional tool groups register
groups{}Named groups and their topology (mesh or star)
maxFanout8Recipients one group send may reach
stateRoot$DSH_HOME/agent-messagingPresence records, claims, cards, ledger, spool
includeSubagentsfalseMake subagent children addressable
spoolOfflinetrueHold messages for sessions that are not running
spoolMaxAgeMs86400000Discard a spooled message older than this
spoolMaxPerSession20Spool depth per recipient
rateMaxPerWindow10Messages one sender may deliver per window
rateWindowMs60000Rate window
duplicateWindowMs30000Identical bodies dropped inside this window
maxHeld100Held messages retained per session
deliveryTimeoutMs5000Wait for a peer host's receipt
metricstrueRecord the cost/catch counts npm run report reads
a2aEndpoints{}External Agent2Agent peers

To stop receiving entirely, set inbound: refuse. To stop sending, deny the tools in your permission rules.