Sessions: {{.RepoName}}
{{if .Sessions}}| Session ID | Branch | Mode | Model | Files | Status | Comments | Duration | Started At | Compare |
|---|---|---|---|---|---|---|---|---|---|
| {{$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}} | {{/* Rows are newest-first, so the next-older session is index+1. The oldest row has no older neighbour to compare against. */}}{{if lt (add $i 1) (len $.Sessions)}}{{$prev := index $.Sessions (add $i 1)}}compare{{else}}-{{end}} |
No sessions found for this repository.
{{end}}