Manages a single agent's TEA application lifecycle.
Follows the same pattern as Raxol.SSH.Session: wraps a Lifecycle
instance with environment: :agent. Agents register in
Raxol.Agent.Registry for discovery by other agents.
Summary
Functions
Returns a specification to start this module under a supervisor.
Read the agent's current model.
Read the agent's view as a semantic tree (layout keys stripped).
Read the agent's latest view tree.
Send a message into the agent's TEA loop.
Types
Functions
@spec child_spec(keyword()) :: Supervisor.child_spec()
Returns a specification to start this module under a supervisor.
See Supervisor.
Read the agent's current model.
Read the agent's view as a semantic tree (layout keys stripped).
Read the agent's latest view tree.
Send a message into the agent's TEA loop.
@spec start_link(keyword()) :: GenServer.on_start()