Documentation
¶
Overview ¶
Package config loads Fuse configuration from fuse.yaml + env overrides.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocateConfig ¶
LocateConfig returns the first existing fuse.yaml walking up from cwd. Returns "" if nothing found.
Types ¶
type Config ¶
type Config struct {
Version int `yaml:"version"`
GroveURL string `yaml:"grove_url"`
GroveBinary string `yaml:"grove_binary"`
Merge MergeConfig `yaml:"merge"`
Git GitConfig `yaml:"git"`
Server ServerConfig `yaml:"server"`
Resolve ResolveConfig `yaml:"resolve"`
}
type MergeConfig ¶
type MergeConfig struct {
ConfidenceMode string `yaml:"confidence_mode"`
HandoffThreshold float64 `yaml:"handoff_threshold"`
EnableBreakingChange bool `yaml:"enable_breaking_change"`
EnableContext bool `yaml:"enable_context"`
GroveRequired bool `yaml:"grove_required"`
AutoIndex bool `yaml:"auto_index"`
}
type ResolveConfig ¶ added in v0.5.0
type ResolveConfig struct {
// AgentCmd is a shell command that reads a conflict prompt on stdin and
// writes the complete resolved file to stdout (e.g. "claude -p").
AgentCmd string `yaml:"agent_cmd"`
}
ResolveConfig controls `fuse resolve` agent integration.
type ServerConfig ¶
type ServerConfig struct {
Port int `yaml:"port"`
}
Click to show internal directories.
Click to hide internal directories.