pub fn list_branches(ctx: &CommandContext) -> Result<Vec<BranchInfo>, CliError>Expand description
List all branches (paths from root to leaves)
Returns information about all leaf nodes in the session tree, including their depth (message count) and whether they’re the current branch.