Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAgentRoles ¶
func DefaultAgentRoles() []string
DefaultAgentRoles returns the standard set of agent roles installed when no custom roles are specified. This excludes optional roles like "prioritize" that must be explicitly requested via --agents.
func ValidProviders ¶ added in v0.0.3
func ValidProviders() []string
ValidProviders returns the set of recognized inference providers.
Types ¶
type AgentEntry ¶
type AgentEntry struct {
Role string `yaml:"role"`
Name string `yaml:"name"`
Slug string `yaml:"slug"`
}
AgentEntry represents a configured agent with its role and app identity.
type DispatchConfig ¶
type DispatchConfig struct {
Platform string `yaml:"platform"`
}
DispatchConfig configures how agent work is dispatched.
type InferenceConfig ¶ added in v0.0.3
type InferenceConfig struct {
Provider string `yaml:"provider"`
}
InferenceConfig configures the inference provider used by agents.
type OrgConfig ¶
type OrgConfig struct {
Version string `yaml:"version"`
KillSwitch bool `yaml:"kill_switch,omitempty"`
Dispatch DispatchConfig `yaml:"dispatch"`
Inference InferenceConfig `yaml:"inference,omitempty"`
Defaults RepoDefaults `yaml:"defaults"`
Agents []AgentEntry `yaml:"agents"`
Repos map[string]RepoConfig `yaml:"repos"`
}
OrgConfig is the top-level configuration for a fullsend organization.
func NewOrgConfig ¶
func NewOrgConfig(allRepos, enabledRepos, roles []string, agents []AgentEntry, inferenceProvider string) *OrgConfig
NewOrgConfig creates a new OrgConfig with sensible defaults.
func ParseOrgConfig ¶
ParseOrgConfig parses YAML bytes into an OrgConfig.
func (*OrgConfig) AgentSlugs ¶
AgentSlugs returns a map of role to slug from the configured agents.
func (*OrgConfig) DefaultRoles ¶
DefaultRoles returns the default roles configured for the organization.
func (*OrgConfig) DisabledRepos ¶ added in v0.0.3
DisabledRepos returns a sorted list of repo names where Enabled is false.
func (*OrgConfig) EnabledRepos ¶
EnabledRepos returns a sorted list of repo names where Enabled is true.
type RepoConfig ¶
RepoConfig holds per-repo configuration.
type RepoDefaults ¶
type RepoDefaults struct {
Roles []string `yaml:"roles"`
MaxImplementationRetries int `yaml:"max_implementation_retries"`
AutoMerge bool `yaml:"auto_merge"`
}
RepoDefaults holds default settings applied to all repos.