Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseLogFromPath ¶
ParseLogFromPath parses a log file directly without using manifest
func RegisterParser ¶
RegisterParser registers a parser for a specific agent
Types ¶
type ClaudeLogEntry ¶
type ClaudeLogEntry struct {
Type string `json:"type"`
Subtype string `json:"subtype,omitempty"`
SessionID string `json:"session_id,omitempty"`
Message *ClaudeMessage `json:"message,omitempty"`
Tools []string `json:"tools,omitempty"`
Model string `json:"model,omitempty"`
Extra map[string]interface{} `json:"-"`
}
LogEntry represents a single log line in Claude format
type ClaudeMessage ¶
type ClaudeMessage struct {
ID string `json:"id"`
Type string `json:"type"`
Role string `json:"role"`
Model string `json:"model,omitempty"`
Content []interface{} `json:"content"`
}
ClaudeMessage represents a message within a log entry
type FallbackParser ¶
type FallbackParser struct{}
FallbackParser returns the raw log content for unknown agents
Click to show internal directories.
Click to hide internal directories.