Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prefs ¶
type Prefs struct {
ShowPeek bool `toml:"agents_show_peek"`
ShowBadges bool `toml:"agents_show_badges"`
ShowChip bool `toml:"agents_show_chip"`
ShowSubheader bool `toml:"agents_show_subheader"`
ShowHint bool `toml:"agents_show_hint"`
ShowMerged bool `toml:"agents_show_merged"`
DefaultModel string `toml:"agents_default_model"`
DefaultProvider string `toml:"agents_default_provider"`
}
Prefs are the agents-overview render + default-spawn toggles. Persisted as top-level keys in ~/.bee/config.toml so the file stays flat (one source of truth). Defaults preserve the existing look — every Show* is true.
func DefaultPrefs ¶
func DefaultPrefs() Prefs
DefaultPrefs returns the visible-by-default preset. Used when no config file exists or none of the keys are set.
type Result ¶
type Result struct {
AttachID string
}
Result is what Run returns after the overview exits. AttachID set means the caller should open `bee back <id>`; empty means clean quit.
func RunOverview ¶
RunOverview launches the overview program in a fresh alt-screen. Returns Result.AttachID when the user picked an agent (caller opens `bee back`). Spawns a merger goroutine that auto-merges done branches on a ticker.