pub fn parse_session_jsonl(content: &str) -> Result<ChatSession, Error>Expand description
Parse a JSONL (JSON Lines) session file (VS Code 1.109.0+ format) Each line is a JSON object with ‘kind’ field indicating the type:
- kind 0: Initial session metadata with ‘v’ containing ChatSession-like structure
- kind 1: Delta update with ‘k’ (keys path) and ‘v’ (value)
- kind 2: Array replace/splice with ‘k’ (path), ‘v’ (items), optional ‘i’ (splice index)