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:
@@ -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"`
|
||||
}{
|
||||
|
||||
Reference in New Issue
Block a user