Documentation
¶
Index ¶
Constants ¶
View Source
const ParserVersion = "3"
ParserVersion is bumped when parser logic changes to invalidate caches.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaudeParser ¶
type ClaudeParser struct{}
ClaudeParser reads Claude Code JSONL session logs.
func (*ClaudeParser) Name ¶
func (p *ClaudeParser) Name() string
type CodexParser ¶
type CodexParser struct{}
CodexParser reads Codex CLI session logs. Supports both the new JSONL format (v0.1+) and legacy JSON format.
func (*CodexParser) Name ¶
func (p *CodexParser) Name() string
type GeminiParser ¶
type GeminiParser struct{}
GeminiParser reads Gemini CLI session logs.
func (*GeminiParser) Name ¶
func (p *GeminiParser) Name() string
type Parser ¶
type Parser interface {
// Name returns the agent name (e.g. "claude_code").
Name() string
// Detect finds log file paths for the current project directory.
Detect(projectDir string) ([]string, error)
// Parse reads a log file and returns sessions.
Parse(path string) ([]model.Session, error)
}
Parser can detect and parse agent log files into unified sessions.
func AllParsers ¶
func AllParsers() []Parser
AllParsers returns instances of every supported parser.
Click to show internal directories.
Click to hide internal directories.