Expand description
Protocol server — adapts AgentRuntime to the bridge protocol.
Tool calls use a single-slot pattern: the serve loop pushes a receiver before each tool call, and ProxyTool pops it. This handles sequential tool calls cleanly; parallel calls can be added later via a FIFO queue.
Structs§
- Protocol
Server - Bridge protocol server — wraps an
AgentRuntimeand exposes it over the NDJSON bridge protocol for external SDK consumption.