Versions in this module Expand all Collapse all v0 v0.1.1 Oct 27, 2026 v0.1.0 Oct 27, 2026 Changes in this version + type AgentRole string + const RoleCoder + const RolePM + const RoleQA + const RoleSecurity + const RoleSystem + const RoleUXReviewer + type AgentUsage struct + Estimated bool + InputTokens int + OutputTokens int + type Bus struct + func New() *Bus + func (b *Bus) Close() + func (b *Bus) Publish(m Message) + func (b *Bus) Recent(n int) []Message + func (b *Bus) ServeUnix(path string, stop <-chan struct{}) error + func (b *Bus) SetLogPath(dir, filename string) error + func (b *Bus) Subscribe() <-chan Message + func (b *Bus) Unsubscribe(ch <-chan Message) + type BusClient struct + func DialUnix(path string) (*BusClient, error) + func (c *BusClient) Close() error + func (c *BusClient) Publish(m Message) error + func (c *BusClient) Subscribe() <-chan Message + type ConversationPayload struct + Content string + From string + type Message struct + From AgentRole + ID string + Payload any + Timestamp time.Time + To AgentRole + Type MessageType + func NewMessage(from, to AgentRole, typ MessageType, payload any) Message + type MessageType string + const MsgConversation + const MsgEvent + const MsgHumanGate + const MsgRequest + const MsgResponse + const MsgTaskSpec + const MsgUsage + type TokenPayload struct + Done bool + Text string