Documentation
¶
Overview ¶
Package config reads and writes project-owned Atlas installation state.
Index ¶
Constants ¶
View Source
const CurrentVersion = 2
CurrentVersion is the current persisted Atlas config format version.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Version int `json:"version"`
Features Features `json:"features"`
Agents []string `json:"agents"`
Skills []string `json:"skills"`
GeneratedFiles map[string][]string `json:"generated_files,omitempty"`
OwnershipRules []OwnershipRuleConfig `json:"ownership_rules,omitempty"`
LastDiscovered DiscoverySnapshot `json:"last_discovered"`
}
Config describes project-owned Atlas installation state.
type DiscoverySnapshot ¶
type DiscoverySnapshot struct {
Apps []string `json:"apps,omitempty"`
Components []string `json:"components,omitempty"`
}
DiscoverySnapshot stores the last project facts Atlas used during install or update.
type Features ¶
type Features struct {
Guidelines bool `json:"guidelines"`
Skills bool `json:"skills"`
MCP bool `json:"mcp"`
}
Features records which Atlas surfaces should be kept synchronized.
type OwnershipRuleConfig ¶ added in v0.3.0
type OwnershipRuleConfig struct {
Pattern string `json:"pattern"`
Classification string `json:"classification"`
Editable bool `json:"editable"`
PreferredAction string `json:"preferred_action,omitempty"`
ChangeThrough string `json:"change_through,omitempty"`
Reason string `json:"reason,omitempty"`
}
OwnershipRuleConfig describes a project-owned file ownership override.
Click to show internal directories.
Click to hide internal directories.