Directories
¶
| Path | Synopsis |
|---|---|
|
Package adapter holds the broker-facing pieces every adapter mode shares: the WebSocket client to the broker (this file), the reconnect/resume protocol (reconnect.go), the mandatory consumer-side dedupe cache (dedupe.go), and the additive --adapter mode dispatch table (mode.go).
|
Package adapter holds the broker-facing pieces every adapter mode shares: the WebSocket client to the broker (this file), the reconnect/resume protocol (reconnect.go), the mandatory consumer-side dedupe cache (dedupe.go), and the additive --adapter mode dispatch table (mode.go). |
|
Package audit is peerbus's append-only, tamper-evident audit log.
|
Package audit is peerbus's append-only, tamper-evident audit log. |
|
Package broker is peerbus's long-lived, agent-agnostic message broker.
|
Package broker is peerbus's long-lived, agent-agnostic message broker. |
|
Package channel implements the Claude Code "channels" MCP capability (`claude/channel`) for the peerbus cc adapter (--adapter=cc).
|
Package channel implements the Claude Code "channels" MCP capability (`claude/channel`) for the peerbus cc adapter (--adapter=cc). |
|
Package hmac implements HMAC-SHA256 sign/verify over the wire canonical envelope form (see internal/wire.Canonical).
|
Package hmac implements HMAC-SHA256 sign/verify over the wire canonical envelope form (see internal/wire.Canonical). |
|
Package integration holds the cc2cc-parity validation matrix integration tests (broker + in-process adapters).
|
Package integration holds the cc2cc-parity validation matrix integration tests (broker + in-process adapters). |
|
Package mcp is the stdio MCP server for the generic adapter, exposing the bus.* tools (bus.send / bus.broadcast / bus.peers / bus.drain).
|
Package mcp is the stdio MCP server for the generic adapter, exposing the bus.* tools (bus.send / bus.broadcast / bus.peers / bus.drain). |
|
Package store is peerbus's durable message store: a pure-Go SQLite (modernc.org/sqlite, WAL mode) queue with dedupe-by-id and per-sender FIFO.
|
Package store is peerbus's durable message store: a pure-Go SQLite (modernc.org/sqlite, WAL mode) queue with dedupe-by-id and per-sender FIFO. |
|
Package version exposes the peerbus build version.
|
Package version exposes the peerbus build version. |
|
Package wire defines the peerbus message envelope, control messages, and the newline-delimited JSON codec, plus the load-bearing canonical-form HMAC byte representation (see Canonical in codec.go for the fixed, load-bearing field order).
|
Package wire defines the peerbus message envelope, control messages, and the newline-delimited JSON codec, plus the load-bearing canonical-form HMAC byte representation (see Canonical in codec.go for the fixed, load-bearing field order). |
Click to show internal directories.
Click to hide internal directories.