Sessions: {{.RepoName}}

{{if .Sessions}} {{range $i, $s := .Sessions}} {{/* Rows are newest-first, so the next-older session is index+1. The oldest row has no older neighbour to compare against. */}} {{end}}
Session IDBranchModeModelFilesStatusCommentsDurationStarted AtCompare
{{$s.SessionID | printf "%.8s"}}… {{$s.GitBranch}} {{if $s.ReviewMode}}{{$s.ReviewMode}}{{else}}-{{end}} {{$s.Model}} {{$s.FileCount}} {{if $s.Aborted}}aborted{{else if $s.Legacy}}legacy{{else}}{{$s.TerminalState}}{{end}} {{if $s.CommentCount}}{{$s.CommentCount}}{{else}}-{{end}} {{formatDuration $s.DurationSec}} {{formatTime $s.Timestamp}}{{if lt (add $i 1) (len $.Sessions)}}{{$prev := index $.Sessions (add $i 1)}}compare{{else}}-{{end}}
{{else}}

No sessions found for this repository.

{{end}}