Documentation
¶
Index ¶
- Constants
- func AssetsFS() (fs.FS, error)
- func AvailableTemplates() []string
- func DefaultRoot() (string, error)
- func EnsureLayout(agentHome string) error
- func EnsureLayoutWithOptions(agentHome string, opts InitOptions) error
- func SaveConfig(agentHome string, cfg Config) error
- func ValidateAgentID(id string) error
- type AgentConfig
- type Config
- type GitHubSubscription
- type GitHubSubscriptionTransport
- type InitOptions
- type Persona
- type Resolution
- type ResolveOptions
- type RuntimeConfig
- type RuntimeMount
- type Subscription
Constants ¶
View Source
const ( TemplateDefault = "default" TemplateGitHubSolver = "github-solver" TemplateAutonomous = "autonomous" DefaultTemplate = TemplateAutonomous // Deprecated template aliases kept for transition. TemplateRunDefaultAlias = "run-default" TemplateSolveGitHubAlias = "solve-github" TemplateServeControllerAlias = "serve-controller" )
Variables ¶
This section is empty.
Functions ¶
func AvailableTemplates ¶
func AvailableTemplates() []string
func DefaultRoot ¶
func EnsureLayout ¶
func EnsureLayoutWithOptions ¶
func EnsureLayoutWithOptions(agentHome string, opts InitOptions) error
func SaveConfig ¶
func ValidateAgentID ¶
Types ¶
type AgentConfig ¶
type Config ¶
type Config struct {
Version string `yaml:"version"`
Agent AgentConfig `yaml:"agent"`
Runtime RuntimeConfig `yaml:"runtime,omitempty"`
Subscriptions []Subscription `yaml:"subscriptions,omitempty"`
}
func LoadConfig ¶
type GitHubSubscription ¶
type GitHubSubscription struct {
Repos []string `yaml:"repos,omitempty"`
Transport GitHubSubscriptionTransport `yaml:"transport,omitempty"`
}
type InitOptions ¶
type Persona ¶
func LoadPersona ¶
type Resolution ¶
func Resolve ¶
func Resolve(opts ResolveOptions) (Resolution, error)
type ResolveOptions ¶
type RuntimeConfig ¶
type RuntimeConfig struct {
Mounts []RuntimeMount `yaml:"mounts,omitempty"`
}
type RuntimeMount ¶
type Subscription ¶
type Subscription struct {
GitHub *GitHubSubscription `yaml:"github,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.