pub struct RuntimeEphemeralState {
pub force_inject_context: bool,
pub injected_context_tags: Vec<String>,
pub context_manage_tool_names: Vec<String>,
pub tool_tags: Vec<String>,
pub tool_id_wrapper: ToolIdWrapper,
pub agent_stream_queues: AgentStreamQueueRegistry,
pub wrapper_metadata: WrapperMetadata,
pub lifecycle: ContextLifecycleState,
pub run_toolsets_closed: bool,
pub current_run_step: usize,
pub tool_capability_grants: BTreeMap<String, ToolCapabilityGrant>,
}Expand description
Runtime-only context state excluded from resumable session snapshots.
This component is flattened into crate::AgentContext serialization to preserve the
pre-decomposition JSON shape. Durable restoration continues to use
crate::ResumableState, which deliberately does not include these fields.
Fields§
§force_inject_context: boolForce environment/runtime context injection on the next filter pass.
Context-injection tag names that should be stripped or refreshed.
context_manage_tool_names: Vec<String>Active context management tool names.
Active tool capability tags.
tool_id_wrapper: ToolIdWrapperTool call ID wrapper for provider-normalized tool IDs.
agent_stream_queues: AgentStreamQueueRegistryRuntime stream queue registry placeholder.
wrapper_metadata: WrapperMetadataWrapper metadata carried by the running context.
lifecycle: ContextLifecycleStateRuntime lifecycle state.
run_toolsets_closed: boolWhether run-scoped toolsets have completed their exit lifecycle.
current_run_step: usizeCurrent runtime run step for context-aware preparation.
tool_capability_grants: BTreeMap<String, ToolCapabilityGrant>Host-authorized per-tool grants, never persisted in resumable state.
Trait Implementations§
Source§impl Clone for RuntimeEphemeralState
impl Clone for RuntimeEphemeralState
Source§fn clone(&self) -> RuntimeEphemeralState
fn clone(&self) -> RuntimeEphemeralState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more