Agents workspace: roster, runs, and a readable run log; layout now eight workspaces

This commit is contained in:
Sam
2026-11-10 16:58:59 +11:00
parent 7f18c548fe
commit b15216aa7b
14 changed files with 1339 additions and 2 deletions

View File

@@ -289,3 +289,12 @@ func helpOverlay(title string, entries [][2]string, w, h int) string {
p := panel{title: title, width: boxW, height: boxH, focused: true}
return lipgloss.Place(w, h, lipgloss.Center, lipgloss.Center, p.render(lines))
}
// short is the first eight characters of an identifier: enough to recognise a
// run or a task in a column, never enough to confuse two of them on one screen.
func short(id string) string {
if len(id) <= 8 {
return id
}
return id[:8]
}