Skip to main content

Module protocol

Module protocol 

Source
Expand description

IPC Protocol Definitions

Defines the message types for communication between the TUI viewer and Agent process. This is the bridge-crate version, using brainwires_core::ToolMode instead of CLI-specific types. The From<ResourceType> impls live in the CLI adapter.

Structs§

AgentConfig
Agent configuration sent on startup
AgentMetadata
Metadata about an agent for registry and discovery
DisplayMessage
Display message format (simplified for TUI rendering)
Handshake
Handshake message for initial connection
HandshakeResponse
Handshake response from agent
LockInfo
Information about a lock (for IPC)

Enums§

AgentMessage
Messages sent from Agent to Viewer (TUI)
ChildNotifyAction
Action to take when notifying child agents (on parent exit)
LockChangeType
Type of lock change notification
ParentSignalType
Signal types from parent to child agent
ResourceLockType
Type of resource lock (standalone bridge type)
ViewerMessage
Messages sent from Viewer (TUI) to Agent