Skip to main content

Module dispatch

Module dispatch 

Source

Re-exports§

pub use crate::headers::BROADCAST;

Enums§

Dispatch
What a reliable consumer does with one record it read.
DisplayType
How a session timeline shows one record. The value is derived from the record and never stored as a separate field.
HandledOperations
The command operations a handler serves.
SessionRecord
One record a session timeline can show.

Constants§

CONTROL_OPERATIONS
The session control operations. They are honored only on agent.control.
OPERATION_CONTEXT_ASSEMBLED
The event operation that records an assembled model context.
OPERATION_CONTEXT_COMPACTED
The event operation that records a context compaction.
OPERATION_CONTEXT_RETRIEVED
The event operation that records a context retrieval.
OPERATION_EXECUTE_TOOL
The OTel operation for a tool call.
OPERATION_FORCE_CANCEL
The command operation that ends a session as canceled without its agent.
OPERATION_GENERATE_CONTENT
The OTel operation for a content generation model call.
OPERATION_INVOKE_AGENT
The OTel operation for a call to another agent.
OPERATION_POLICY_DECISION
The event operation that records a policy decision.
OPERATION_SESSION_CANCEL
The command operation that asks a session to cancel.
OPERATION_SESSION_PAUSE
The command operation that asks a session to pause.
OPERATION_SESSION_RESUME
The command operation that asks a paused session to resume.
OPERATION_TEXT_COMPLETION
The OTel operation for a text completion model call.

Functions§

addressee_filter
The headers-only group filter that selects records addressed to me or to every agent. Its digest differs per agent identity.
broadcast_filter
The headers-only group filter that selects broadcast records only.
classify
What the agent me does with envelope, read from the topic named topic. The author is never a discriminator, so an agent may send work to itself.
classify_generic
What the agent me does with a generic record, one without an envelope, read from the topic named topic. Such a record has no kind, so a record that names both its causal parent and a correlation is a reply, and any other record is work unless it is addressed to another agent.
display_type
How a session timeline shows record, read from the topic named topic.