Documentation
¶
Index ¶
Constants ¶
View Source
const Vendor = "claude_code"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOptions ¶
type BuildOptions struct {
Profile traceprocessing.MappingProfile
Survey bool
}
BuildOptions preserves product-specific interpretation independently from the optional transcript-shape diagnostic. Its zero value keeps local mapping.
type Lines ¶
type Lines = traceprocessing.LineAccounting
Lines accounts for the lines read, one bucket each.
type Report ¶
type Report struct {
Sessions int `json:"sessions"`
Rows Rows `json:"rows"`
Lines Lines `json:"lines"`
Transcript claudetranscript.Shape `json:"transcript"`
Notes []string `json:"notes,omitempty"`
}
Report says what a transcript tree became, and what it did not.
func BuildWith ¶
func BuildWith(tree *claudetranscript.Tree, opts BuildOptions) (*session.Graph, *Report, error)
type Rows ¶
type Rows struct {
UserInputs int `json:"user_inputs"`
ModelInvocations int `json:"model_invocations"`
AssistantMessages int `json:"assistant_messages"`
ToolUses int `json:"tool_uses"`
ToolResults int `json:"tool_results"`
FileTouches int `json:"file_touches"`
Attributes int `json:"session_attributes"`
VendorIDs int `json:"vendor_ids"`
}
Click to show internal directories.
Click to hide internal directories.