Documentation
¶
Index ¶
- func ApplyPathDefaults(defaults *execconfig.Defaults)
- type Root
- func (r *Root) DecodeAuth(out interface{}) error
- func (r *Root) DefaultsWithFallback(fallback *execconfig.Defaults) *execconfig.Defaults
- func (r *Root) GoalWakeupMaxConversationWakeups() int
- func (r *Root) GoalWakeupMaxDelaySeconds() int
- func (r *Root) GoalWakeupMaxGlobalWakeupsPerHour() int
- func (r *Root) GoalWakeupMaxGoalWakeups() int
- func (r *Root) GoalWakeupMinDelaySeconds() int
- func (r *Root) GoalWakeupsEnabled() bool
- func (r *Root) GoalsEnabled() bool
- func (r *Root) InternalServiceList() ([]string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPathDefaults ¶
func ApplyPathDefaults(defaults *execconfig.Defaults)
ApplyPathDefaults applies runtime/state/db path defaults from workspace config when explicit environment overrides are absent.
Types ¶
type Root ¶
type Root struct {
DefaultNode yaml.Node `yaml:"default"`
AuthNode yaml.Node `yaml:"auth"`
MCPServer *mcpexpose.ServerConfig `yaml:"mcpServer"`
Raw map[string]interface{} `yaml:",inline"`
}
Root represents the root workspace config.yaml in a reusable decoded form. Package-specific consumers can decode sections they own from the stored YAML nodes.
func (*Root) DecodeAuth ¶
DecodeAuth decodes the auth section into the supplied destination.
func (*Root) DefaultsWithFallback ¶
func (r *Root) DefaultsWithFallback(fallback *execconfig.Defaults) *execconfig.Defaults
DefaultsWithFallback merges the workspace default section over the supplied fallback.
func (*Root) GoalWakeupMaxConversationWakeups ¶ added in v0.1.13
GoalWakeupMaxConversationWakeups returns the effective per-conversation pending wakeup budget. Missing config defaults to 3.
func (*Root) GoalWakeupMaxDelaySeconds ¶ added in v0.1.13
GoalWakeupMaxDelaySeconds returns the effective maximum delay for autonomous goal wakeups. Missing config defaults to 3600 seconds.
func (*Root) GoalWakeupMaxGlobalWakeupsPerHour ¶ added in v0.1.13
GoalWakeupMaxGlobalWakeupsPerHour returns the effective global wakeup budget window. Missing config defaults to 5.
func (*Root) GoalWakeupMaxGoalWakeups ¶ added in v0.1.13
GoalWakeupMaxGoalWakeups returns the effective per-goal pending wakeup budget. Missing config defaults to 2.
func (*Root) GoalWakeupMinDelaySeconds ¶ added in v0.1.13
GoalWakeupMinDelaySeconds returns the effective minimum delay for autonomous goal wakeups. Missing config defaults to 60 seconds.
func (*Root) GoalWakeupsEnabled ¶ added in v0.1.13
GoalWakeupsEnabled reports whether scheduler-backed goal wakeups are enabled by workspace policy. Missing config defaults to true so existing workspaces keep current behavior until they explicitly opt out.
func (*Root) GoalsEnabled ¶ added in v0.1.13
GoalsEnabled reports whether workspace goal features are enabled by policy. Missing config defaults to true so existing workspaces retain behavior until they explicitly opt out.
func (*Root) InternalServiceList ¶
InternalServiceList returns configured internal MCP service names when present.