Skip to main content

Module events

Module events 

Source
Expand description

Tool event emitter (from Codex)

Handles the tool execution lifecycle:

  • Diff-tracker updates for apply_patch begin/end
  • Structured tracing for begin/success/failure stages

Lifecycle visibility into the canonical event stream flows through the runloop’s ThreadEvent recorder (item.*), not through this module.

Structs§

ExecCommandInput
Input for exec commands
ParsedCommand
Parsed command information
ToolEventCtx
Context for emitting tool events

Enums§

ExecCommandSource
Command source for tracking where commands originate
ToolEmitter
Tool event emitter for different tool types (from Codex)
ToolEventFailureKind
Failure kind for tool events
ToolEventStage
Event stage during tool execution

Functions§

parse_command
Parse command from argv