Module runtime_endpoint

Module runtime_endpoint 

Source
Expand description

RuntimeEndpoint: message-driven Endpoint<AgentEvent, RuntimeInput>.

The endpoint lifecycle is fully driven by RuntimeInput messages:

  1. Run(request) — starts execution via the injected run factory.
  2. Decision(d) / Cancel — control messages managed by AgentOS [ThreadRunHandle], not by this endpoint.

close() is transport-only and does not cancel the run.

Structs§

RuntimeEndpoint
Message-driven runtime endpoint.

Type Aliases§

RunStarter
Async factory that prepares and executes a run from a RunRequest.