Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorDetail ¶
type Event ¶
type Event struct {
Type string `json:"type"`
SessionID string `json:"sessionID,omitempty"`
Part any `json:"part,omitempty"`
Error *ErrorDetail `json:"error,omitempty"`
Done bool `json:"done,omitempty"`
}
func ToOpencode ¶
func ToOpencode(events []types.AgentEvent, sessionID string) []Event
type ReasoningPart ¶
type ToolUsePart ¶
type ToolUsePart struct {
ID string `json:"id"`
Type string `json:"type"`
Tool string `json:"tool"`
State ToolUseState `json:"state"`
}
Click to show internal directories.
Click to hide internal directories.