Documentation
¶
Overview ¶
Package summarize turns a session transcript into a timeline summary entry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Claude ¶
type Claude struct {
Model string // optional --model override
Timeout time.Duration // bounds the CLI call; zero means 60s
}
Claude summarizes via the `claude -p` headless CLI, piping the transcript on stdin.
type Command ¶ added in v0.6.9
type Command struct {
Command string // shell command line
Timeout time.Duration // bounds the call; zero means 60s
}
Command summarizes via a user-configured shell command (run with `sh -c`), piping the transcript on stdin and parsing stdout like Claude's output: first non-empty line is the title, the rest is the body.
type Summarizer ¶
Summarizer produces a Summary from a transcript. Implementations may call an LLM, a heuristic, or (in tests) return a canned result.
Click to show internal directories.
Click to hide internal directories.