package codeserver import ( "fmt" "path/filepath" "zlh-agent/internal/provision/executil" "zlh-agent/internal/state" ) func Install(cfg state.Config) error { scriptPath := filepath.Join( executil.ScriptsRoot, "addons", "codeserver", "install.sh", ) if err := executil.RunScript(scriptPath); err != nil { return fmt.Errorf("codeserver install failed: %w", err) } return nil }