TUI: folder/started/closed columns, heartbeat staleness, hide-closed (x), hide-sub (z), sort (s), detail pane, hunk in agent cwd, tuxedo project todo, zellij/tmux attach, fix remote JSON parsing

This commit is contained in:
2026-08-04 11:04:41 +10:00
parent 112698cada
commit f0571465b2
3 changed files with 666 additions and 173 deletions

View File

@@ -11,7 +11,11 @@ import (
// Config holds the dashboard configuration
type Config struct {
PollInterval int `yaml:"poll_interval"` // in seconds
Local struct {
// StaleAfter is how many seconds without a heartbeat before a session
// is considered closed (terminal killed without graceful shutdown).
StaleAfter int `yaml:"stale_after"`
HideClosed bool `yaml:"hide_closed"` // start with closed sessions hidden
Local struct {
Path string `yaml:"path"`
} `yaml:"local"`
Remote []RemoteConfig `yaml:"remote"`
@@ -29,6 +33,8 @@ func defaultConfig() Config {
home, _ := os.UserHomeDir()
return Config{
PollInterval: 2,
StaleAfter: 45,
HideClosed: false,
Local: struct {
Path string `yaml:"path"`
}{