pub struct OutputDeliveryContext {
pub run_id: RunId,
pub agent_id: AgentId,
pub turn_id: Option<TurnId>,
pub attempt_id: Option<AttemptId>,
pub source: SourceRef,
pub runtime_package_fingerprint: RuntimePackageFingerprint,
}Expand description
Holds output delivery context application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§run_id: RunIdRun identifier used for lineage, filtering, replay, and dedupe.
agent_id: AgentIdAgent identifier used for lineage, filtering, and ownership checks.
turn_id: Option<TurnId>Turn identifier for one loop turn within a run.
attempt_id: Option<AttemptId>Attempt identifier for retry, repair, provider, or tool execution evidence.
source: SourceRefSource label or ref for this item; it is metadata and does not fetch content by itself.
runtime_package_fingerprint: RuntimePackageFingerprintFingerprint of the runtime package snapshot in force when this value was produced. Use it for replay, dedupe, and package-lineage checks; the field is evidence and does not execute package behavior.
Implementations§
Source§impl OutputDeliveryContext
impl OutputDeliveryContext
Sourcepub fn new(
run_id: RunId,
agent_id: AgentId,
runtime_package_fingerprint: RuntimePackageFingerprint,
) -> Self
pub fn new( run_id: RunId, agent_id: AgentId, runtime_package_fingerprint: RuntimePackageFingerprint, ) -> Self
Creates a new application::output_delivery value with explicit caller-provided inputs. This constructor is data-only and performs no I/O or external side effects.
Trait Implementations§
Source§impl Clone for OutputDeliveryContext
impl Clone for OutputDeliveryContext
Source§fn clone(&self) -> OutputDeliveryContext
fn clone(&self) -> OutputDeliveryContext
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OutputDeliveryContext
impl Debug for OutputDeliveryContext
Source§impl PartialEq for OutputDeliveryContext
impl PartialEq for OutputDeliveryContext
Source§fn eq(&self, other: &OutputDeliveryContext) -> bool
fn eq(&self, other: &OutputDeliveryContext) -> bool
self and other values to be equal, and is used by ==.