Expand description
Re-exports structured execution events from the standalone crate.
Modules§
- atif
- Agent Trajectory Interchange Format (ATIF) types and builder.
- matrix
- Canonical durable contracts for local matrix execution.
- trace
- Agent Trace specification types for AI code attribution.
Structs§
- Agent
Message Item - Command
Execution Item - Context
Reset Event - Decision
Item - A consequential choice and the agent’s reported public rationale.
- Error
Item - Execution
Context - Optional recorded execution ancestry. Absent fields are historical gaps.
- File
Change Item - File
Update Change - Harness
Event Item - Interjected
Event - Item
Completed Event - Item
Context - Item identity, timing, and command semantics for explanation consumers.
- Item
Started Event - Item
Updated Event - McpTool
Call Item - Permission
Requested Event - Permission
Resolved Event - Plan
Approval Requested Event - Plan
Approval Resolved Event - Plan
Delta Event - Plan
Item - Reasoning
Item - Thread
Compact Boundary Event - Thread
Completed Event - Thread
Error Event - Thread
Item - Thread
Started Event - Token
Breakdown - Per-request token-budget breakdown for the assembled first-request prefix.
- Tool
Invocation Item - Tool
Output Item - Turn
Blocked Event - Turn
Completed Event - Turn
Failed Event - Turn
Started Event - Usage
- Versioned
Thread Event - Wraps a
ThreadEventwith schema metadata so downstream consumers can negotiate compatibility before processing an event stream. - WebSearch
Item
Enums§
- Command
Activity - Recorded shell classification, supplied by the runtime’s shared classifier.
- Command
Execution Status - Compaction
Mode - Compaction
Trigger - Context
Reset Trigger - Harness
Event Kind - Input
Origin - Origin of a turn’s input; internal turns retain their parent task.
- Interjection
Source - McpTool
Call Status - Patch
Apply Status - Patch
Change Kind - Permission
Decision - Plan
Approval Decision - Redirect
Kind - Thread
Completion Subtype - Thread
Event - Structured events emitted during autonomous execution.
- Thread
Item Details - Tool
Call Status - Tool
Outcome - Fine-grained outcome of a tool invocation lifecycle.
Constants§
- EVENT_
SCHEMA_ VERSION - Semantic version of the serialized event schema exported by this crate.
- MAX_
IN_ PROGRESS_ EXEC_ SESSIONS - Bound on exec session ids recorded in one turn’s
turn.completedevent. MirrorsSnapshotTurnDiagnostics::in_progress_exec_sessions(cap 4, newest first) soThreadEventand checkpoint diagnostics cannot drift.
Traits§
- Event
Emitter - Sink for processing
ThreadEventinstances.
Functions§
- deserialize_
null_ as_ default - Serde helper that accepts explicit
nullasT::default()for backward-compatible checkpoint/diagnostics payloads. Pair with#[serde(default, deserialize_with = "deserialize_null_as_default")]so both missing andnullfields degrade to the default instead of failing deserialization. Reused by downstream crates (e.g.vtcode-coresnapshots) so the null-tolerance rule cannot drift between copies. - tool_
outcome_ from_ status - Map a terminal
ToolCallStatusto its correspondingToolOutcome.