Skip to main content

Module worker_bridge

Module worker_bridge 

Source
Expand description

TUI Worker Bridge - connects the TUI to the A2A server substrate.

This module enables the TUI to:

  • Register itself as a worker with the A2A server
  • Send heartbeats to maintain registration
  • Receive incoming tasks via SSE stream
  • Register/deregister sub-agents (relay, autochat, spawned agents)
  • Forward bus events to the server for observability

Structs§

IncomingTask
Incoming task from the A2A server via SSE
TuiWorkerBridge
Result of worker bridge initialization

Enums§

WorkerBridgeCmd
Command sent to the worker bridge to register/deregister sub-agents