{{/* Who is reading the codebase right now, straight off the log tail. */}} {{define "activity"}} {{if .Compact}}
{{range .Sessions}}
{{if and $.Live .ID}}{{.Short}} {{else}}{{.Short}}{{end}} {{.LastOp}} {{.Ago}}
{{end}} {{if not .Sessions}}

nothing logged yet

{{end}}
{{else}} {{range .Sessions}} {{end}}
agentmodelsessionlast opwhenr/g/ndir
{{.Short}}{{if .Live}}●{{end}} {{.Model}}{{if .Reason}}/{{.Reason}}{{end}} {{if and $.Live .ID}}{{short .ID}} {{else}}{{short .ID}}{{end}} {{.LastOp}} {{.Ago}} {{.Reads}}/{{.Greps}}/{{.Notes}} {{base .Dir}}
{{if not .Sessions}}

nothing logged yet

{{end}}

live = active in the last {{.Window}}

{{end}} {{end}}