ClaudeCode.History.SessionInfo (ClaudeCode v0.36.3)
View SourceMetadata about a Claude Code session, extracted from session file stat + head/tail reads.
This struct provides rich session listing without requiring full JSONL parsing,
matching the Python SDK's SDKSessionInfo type.
Fields
:session_id- UUID of the session:summary- Display title (custom_title || summary || first_prompt):last_modified- Milliseconds since epoch:file_size- File size in bytes:custom_title- User-set custom title, if any:first_prompt- First meaningful user prompt (truncated to 200 chars):git_branch- Git branch the session was on:cwd- Working directory of the session