pub fn parse_opencode_session(
session_path: &Path,
) -> Result<ParsedOpenCodeSession>Expand description
Parses an OpenCode session from its session file.
This function reads the session metadata and then loads all associated messages and their parts from the multi-file structure.
ยงErrors
Returns an error if the session file cannot be read or parsed.