Versions in this module Expand all Collapse all v0 v0.3.0 Mar 16, 2026 Changes in this version + type AgentActor struct + func NewAgentActor(id string, adapter bridge.Adapter, client *ent.Client, logger *slog.Logger) *AgentActor + func (a *AgentActor) ID() string + func (a *AgentActor) Send(evt *ent.Event) + func (a *AgentActor) Start(ctx context.Context) + func (a *AgentActor) Stop() + type Router struct + func New(client *ent.Client, logger *slog.Logger) *Router + func (r *Router) AgentStatuses() map[string]string + func (r *Router) Agents() []string + func (r *Router) Dispatch(agentID string, evt *ent.Event) error + func (r *Router) DispatchByChannel(channelID string, evt *ent.Event) error + func (r *Router) HasAgent(agentID string) bool + func (r *Router) RegisterAgent(ctx context.Context, agentID string, adapter bridge.Adapter) error + func (r *Router) Stop(ctx context.Context) + func (r *Router) UnregisterAgent(ctx context.Context, agentID string) error