Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatCodexEvents ¶
func FormatCodexEventsText ¶
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"`
}
func ParseCodexEvents ¶
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 Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func (*Generator) GenerateSession ¶
Click to show internal directories.
Click to hide internal directories.