Documentation
¶
Index ¶
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) InternalServiceList ¶
InternalServiceList returns configured internal MCP service names when present.
Click to show internal directories.
Click to hide internal directories.