Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodexEvent ¶
type Event ¶
type Event struct {
Type EventType `json:"type"`
Item *EventItem `json:"item,omitempty"`
Message string `json:"message,omitempty"`
Text string `json:"text,omitempty"`
Mock *types.MockConfig `json:"mock,omitempty"`
}
func ToCodex ¶
func ToCodex(events []types.AgentEvent) []Event
type EventItem ¶
type EventItem struct {
ID string `json:"id"`
Type ItemType `json:"type"`
Text string `json:"text,omitempty"`
Content []ItemPart `json:"content,omitempty"`
Command string `json:"command,omitempty"`
AggregatedOutput string `json:"aggregated_output,omitempty"`
ExitCode *int `json:"exit_code,omitempty"`
Status string `json:"status,omitempty"`
Changes []FileChange `json:"changes,omitempty"`
}
type FileChange ¶
type FileChange = types.FileChange
Click to show internal directories.
Click to hide internal directories.