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

@@ -19,7 +19,7 @@ import (
const defaultAgent = "403de1f7-645c-4d35-bc7e-19b01d77bacc"
func main() {
screen := flag.String("screen", "board", "which screen to run: board, work, reply, new, project, repair")
screen := flag.String("screen", "board", "which screen to run: board, work, reply, new, agents, project, repair")
folder := flag.String("folder", "", "project folder, for the board screen (defaults to the current directory)")
light := flag.String("theme", "", "colour variant: dark, light, or empty to follow the terminal")
ascii := flag.Bool("ascii", false, "plain characters instead of Nerd Font icons")
@@ -54,6 +54,13 @@ func main() {
}
m = newBoardModel(client, proj, dir)
case "agents":
dir := *folder
if dir == "" {
dir, _ = os.Getwd()
}
m = newAgentsModel(client, dir)
case "project":
dir := *folder
if dir == "" {
@@ -127,7 +134,7 @@ func main() {
m = newReplyModel(client, dir, id)
default:
fmt.Fprintf(os.Stderr, "unknown screen %q: use board, work, reply, new, project or repair\n", *screen)
fmt.Fprintf(os.Stderr, "unknown screen %q: use board, work, reply, new, agents, project or repair\n", *screen)
os.Exit(1)
}