Documentation
¶
Overview ¶
Package config manages MAXAM configuration in ~/.maxam/
Index ¶
- Variables
- func AgentsDir() (string, error)
- func ConfigDir() (string, error)
- func EnsureInitialized(embeddedAgents map[string]string) error
- func GetAgentClaudeMD(name string) (string, error)
- func GetAgentDir(name string) (string, error)
- func GetEmbeddedAgents() (map[string]string, error)
- func ListAgents() ([]string, error)
- func Save(cfg *Config) error
- type AgentConfig
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultAgents = []string{"mei", "yuki", "rin", "shiori", "priya", "amara"}
DefaultAgents is the list of default agents to install
Functions ¶
func EnsureInitialized ¶
EnsureInitialized sets up ~/.maxam/ if not present and copies default agents from the embedded data
func GetAgentClaudeMD ¶
GetAgentClaudeMD returns the path to an agent's CLAUDE.md
func GetAgentDir ¶
GetAgentDir returns the directory for an agent
func GetEmbeddedAgents ¶
GetEmbeddedAgents returns a map of agent name to CLAUDE.md content
func ListAgents ¶
ListAgents returns agent names from ~/.maxam/agents/
Types ¶
type AgentConfig ¶
type AgentConfig struct {
Name string `yaml:"name"`
FullName string `yaml:"full_name"`
Role string `yaml:"role"`
}
AgentConfig represents an agent configuration
type Config ¶
type Config struct {
Version string `yaml:"version"`
Agents []AgentConfig `yaml:"agents"`
}
Config represents the MAXAM configuration
Click to show internal directories.
Click to hide internal directories.