Expand description
Frontend trait — abstract interface between Agent and UI.
The Agent doesn’t know whether the frontend is a TUI, Feishu bot, or QQ bot. It only interacts through this trait.
Structs§
- Agent
Channels - Channel pair for Agent <-> Frontend communication.
- Frontend
Channels - Frontend-side channel ends.
Traits§
- Frontend
- Abstract frontend interface. Implementations handle rendering events and collecting user input.
Functions§
- create_
channels - Create a matched pair of Agent and Frontend channels.