Work workspace with runs, change and facts tabs; vim keys; responsive Board; theme file

This commit is contained in:
Sam
2026-11-10 14:00:58 +11:00
parent 1bfb9b05ed
commit 4e3c955350
7 changed files with 416 additions and 20 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, tree, reply, new or log")
screen := flag.String("screen", "board", "which screen to run: board, work, tree, reply, new or log")
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")
agent := flag.String("agent", defaultAgent, "agent id to assign to, default Builder")
@@ -52,6 +52,17 @@ func main() {
}
m = newBoardModel(client, proj, dir)
case "work":
dir := *folder
if dir == "" {
dir, _ = os.Getwd()
}
issue := *issue
if issue == "" {
issue = watchedTask(dir)
}
m = newWorkModel(client, dir, issue)
case "tree":
proj, err := client.ResolveProject(*project)
if err != nil {