Documentation
¶
Overview ¶
Package config provides configuration path resolution for agentx.
Index ¶
- Variables
- type Paths
- func (p *Paths) AgentConfigPath(agentType agentx.AgentType) (string, error)
- func (p *Paths) AppCache(appName string) (string, error)
- func (p *Paths) AppConfig(appName string) (string, error)
- func (p *Paths) AppData(appName string) (string, error)
- func (p *Paths) CacheHome() (string, error)
- func (p *Paths) ConfigHome() (string, error)
- func (p *Paths) DataHome() (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentConfigPaths = map[agentx.AgentType]string{ agentx.AgentTypeClaudeCode: ".claude", agentx.AgentTypeCursor: ".cursor", agentx.AgentTypeWindsurf: ".codeium", agentx.AgentTypeCopilot: ".config/github-copilot", agentx.AgentTypeAider: ".aider", agentx.AgentTypeCody: ".config/cody", agentx.AgentTypeContinue: ".continue", agentx.AgentTypeCodePuppy: ".config/code-puppy", agentx.AgentTypeKiro: ".kiro", }
AgentConfigPaths maps agent types to their known config directories. These are the standard locations where each agent stores its configuration.
Functions ¶
This section is empty.
Types ¶
type Paths ¶
type Paths struct {
// contains filtered or unexported fields
}
Paths provides XDG-compliant path resolution for agent configuration.
func (*Paths) AgentConfigPath ¶
AgentConfigPath returns the config path for a specific agent type.
func (*Paths) ConfigHome ¶
ConfigHome returns the XDG config home directory.
Click to show internal directories.
Click to hide internal directories.