Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "unknown" Date = "unknown" BuiltBy = "unknown" GoVersion = runtime.Version() )
Build-time variables (set by goreleaser or build scripts)
Functions ¶
Types ¶
type GitHubRelease ¶
type InitFlags ¶
type InitFlags struct {
ProjectName string
Description string
ModelProviders []string
NonInteractive bool
}
InitFlags represents the command line flags for init
type IssueSuggestion ¶
type IssueSuggestion struct {
Title string `json:"title" yaml:"title"`
Description string `json:"description" yaml:"description"`
Examples []string `json:"examples,omitempty" yaml:"examples,omitempty"`
DocsURL string `json:"docs_url,omitempty" yaml:"docs_url,omitempty"`
}
IssueSuggestion provides actionable advice
type ProjectAnswers ¶
type ProjectAnswers struct {
// contains filtered or unexported fields
}
type UpdateInfo ¶
type UpdateInfo struct {
LastChecked time.Time `json:"last_checked"`
LatestVersion string `json:"latest_version"`
CurrentIsOld bool `json:"current_is_old"`
DownloadURL string `json:"download_url"`
}
func ShouldShowUpdateNotification ¶
func ShouldShowUpdateNotification() *UpdateInfo
ShouldShowUpdateNotification checks if we should show an update notification This is called from the root command to show notifications on CLI operations
type ValidationIssue ¶
type ValidationIssue struct {
ID string `json:"id" yaml:"id"`
Severity string `json:"severity" yaml:"severity"`
Title string `json:"title" yaml:"title"`
Message string `json:"message" yaml:"message"`
Line int `json:"line" yaml:"line"`
Column int `json:"column" yaml:"column"`
Category string `json:"category" yaml:"category"`
Suggestion *IssueSuggestion `json:"suggestion,omitempty" yaml:"suggestion,omitempty"`
}
ValidationIssue represents a detailed validation issue
type ValidationResult ¶
type ValidationResult struct {
File string `json:"file" yaml:"file"`
Valid bool `json:"valid" yaml:"valid"`
Duration time.Duration `json:"duration_ms" yaml:"duration_ms"`
Errors []string `json:"errors,omitempty" yaml:"errors,omitempty"`
Warnings []string `json:"warnings,omitempty" yaml:"warnings,omitempty"`
Issues []*ValidationIssue `json:"issues,omitempty" yaml:"issues,omitempty"`
EnhancedError *parser.MultiErrorEnhanced `json:"-" yaml:"-"` // For internal use only
}
ValidationResult represents the result of validating a workflow
func NewValidationResult ¶
func NewValidationResult(file string) *ValidationResult
func (*ValidationResult) CollectError ¶
func (v *ValidationResult) CollectError(err error)
type ValidationSummary ¶
type ValidationSummary struct {
Total int `json:"total" yaml:"total"`
Valid int `json:"valid" yaml:"valid"`
Invalid int `json:"invalid" yaml:"invalid"`
Duration time.Duration `json:"total_duration_ms" yaml:"total_duration_ms"`
Results []ValidationResult `json:"results" yaml:"results"`
}
ValidationSummary represents the summary of all validation results
type VersionInfo ¶
type VersionInfo struct {
Version string `json:"version" yaml:"version"`
Commit string `json:"commit" yaml:"commit"`
Date string `json:"date" yaml:"date"`
BuiltBy string `json:"built_by" yaml:"built_by"`
GoVersion string `json:"go_version" yaml:"go_version"`
Platform string `json:"platform" yaml:"platform"`
}
VersionInfo represents version information
type WorkflowManager ¶
type WorkflowManager struct {
// contains filtered or unexported fields
}
WorkflowManager handles workflow creation and polling
Click to show internal directories.
Click to hide internal directories.