config

package
v0.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath() string

func ExpandHome

func ExpandHome(p string) string

Types

type AgentsConfig

type AgentsConfig struct {
	ClaudeRoot   string
	ActiveWindow time.Duration
	ToolTimeout  time.Duration
	LeakConfirm  time.Duration
}

type Config

type Config struct {
	Roots     []string
	MaxDepth  int
	Ignore    []string
	Agents    AgentsConfig
	Git       GitConfig
	Refresh   RefreshConfig
	Indicator IndicatorConfig
	Sort      SortConfig
	Inspect   InspectConfig
	Forge     ForgeConfig
	Display   DisplayConfig
	Keys      KeysConfig
	Theme     string
	FX        FXConfig
}

func Default

func Default() Config

func Load

func Load(path string) (Config, error)

type DisplayConfig

type DisplayConfig struct {
	ProjectFrom       string
	ProjectContainers []string
}

type FXConfig

type FXConfig struct {
	Enabled   bool
	Bars      bool
	Pulse     bool
	Depth     bool
	Gradients bool
	BarWidth  int
	BarCap    int
}

type ForgeConfig

type ForgeConfig struct {
	Enabled string
	TTL     time.Duration
	Timeout time.Duration
}

type GitConfig

type GitConfig struct {
	MaxProcs int
	Timeout  time.Duration
}

type IndicatorConfig added in v0.4.3

type IndicatorConfig struct {
	Motion        string
	Frame         time.Duration
	FullRotations int
	AgentBlip     bool
}

type InspectConfig

type InspectConfig struct {
	ChangesSort    string
	GraphMax       int
	FileLimit      int
	DiffLineLimit  int
	DiffStaleAfter time.Duration
	AttentionFirst bool
}

type KeysConfig

type KeysConfig struct {
	Inspect    string
	Quit       []string
	Close      []string
	FocusNext  []string
	FocusPrev  []string
	PaneList   []string
	PaneChange []string
	PaneDiff   []string
	PaneGraph  []string
	PanePR     []string
	Up         []string
	Down       []string
	PageUp     []string
	PageDown   []string
	Home       []string
	End        []string
	Pin        []string
	Group      []string
	Refresh    []string
	Diff       []string
	Commits    []string
	Status     []string
	AgentLog   []string
	Help       []string
}

type RefreshConfig

type RefreshConfig struct {
	Tick     time.Duration
	FullTick time.Duration
}

type SortConfig

type SortConfig struct {
	Default     string
	GroupByRepo bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL