Versions in this module Expand all Collapse all v0 v0.4.0 Aug 3, 2026 Changes in this version + const APIVersionV1 + func ExecCapture(cmd Command, workDir string, vars map[string]any) (string, error) + func ExecForeground(cmd Command, workDir string, vars map[string]any, extraEnv []string) error + func ProjectFrameworksDir(projectRoot string) string + func RenderArgs(args []string, vars map[string]any) ([]string, error) + func RenderTemplates(p *Framework, dst string, vars map[string]any) error + func ToMCPArguments(args []string) []v1alpha1.MCPArgument + func UserFrameworksDir() string + type Command struct + Command []string + Script string + type EnvSpec struct + Optional []string + Required []string + type Framework struct + APIVersion string + Build Command + Description string + Env EnvSpec + Framework string + Language string + Launch *FrameworkLaunch + LocalInstall *Command + LocalLaunch *FrameworkLaunch + Name string + Run Command + SourceDir string + TemplatesDir string + Type string + func DiscoverFromDir(root string) ([]*Framework, error) + func LoadEmbedded(stageDir string) ([]*Framework, error) + func ParseDescriptor(data []byte) (*Framework, error) + func Pick(opts PickOpts) (*Framework, error) + type FrameworkLaunch struct + HTTP *MCPLaunch + Stdio *MCPLaunch + func (l *FrameworkLaunch) ForTransport(transport string) *MCPLaunch + type LoadOpts struct + ProjectRoot string + StageDir string + UserDir string + type MCPLaunch struct + Args []string + Command string + func (l *MCPLaunch) Render(port int) (string, []string, error) + type PickOpts struct + Framework string + Language string + NonInteractive bool + Registry *Registry + Type string + type Registry struct + func LoadAll(opts LoadOpts) (*Registry, error) + func NewRegistry() *Registry + func (r *Registry) Add(p *Framework, src Source) error + func (r *Registry) Conflicts() []registryConflict + func (r *Registry) ListByType(typ string) []*Framework + func (r *Registry) Lookup(typ, framework, language string) (*Framework, bool) + type Source int + const SourceInTree + const SourceProject + const SourceUserHome + func (s Source) String() string