config

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 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
}

type Config

type Config struct {
	Roots    []string
	MaxDepth int
	Ignore   []string
	Agents   AgentsConfig
	Git      GitConfig
	Refresh  RefreshConfig
	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
}

type GitConfig

type GitConfig struct {
	MaxProcs int
	Timeout  time.Duration
}

type InspectConfig

type InspectConfig struct {
	ChangesSort    string
	GraphMax       int
	FileLimit      int
	AttentionFirst bool
}

type KeysConfig

type KeysConfig struct {
	Inspect    string
	Quit       []string
	Close      []string
	FocusNext  []string
	FocusPrev  []string
	PaneList   []string
	PaneChange []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
}

type RefreshConfig

type RefreshConfig struct {
	Tick 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