Expand description
Parse Cursor agent-transcript .jsonl files into Events.
Pure parser — no notify dependency, no IO beyond file reads.
Functions§
- parse_
cursor_ line - Parse one
.jsonlline. ReturnsSome(Event)for action-bearing lines;Nonefor text-only or non-action lines. - scan_
session_ dir - Walk all
.jsonlfiles directly underdir; return inferredSessionRecord+ events. - scan_
session_ dir_ all - Main session plus one session per
subagents/*.jsonl(Cursor subagent transcripts).