Skip to main content

Module events

Module events 

Source
Expand description

Tool event emitter (from Codex)

Handles emitting events during tool execution lifecycle:

  • Begin events when tool starts
  • Success events with output
  • Failure events with errors
  • Patch-specific events for apply_patch

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