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§
- Exec
Command Input - Input for exec commands
- Parsed
Command - Parsed command information
- Tool
Event Ctx - Context for emitting tool events
Enums§
- Exec
Command Source - Command source for tracking where commands originate
- Tool
Emitter - Tool event emitter for different tool types (from Codex)
- Tool
Event Failure Kind - Failure kind for tool events
- Tool
Event Stage - Event stage during tool execution
Functions§
- parse_
command - Parse command from argv