Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitPlan ¶
type InitPlan struct {
System struct {
Platform string `json:"platform" yaml:"platform"`
Architecture string `json:"architecture" yaml:"architecture"`
Shell string `json:"shell" yaml:"shell"`
PackageManagers []string `json:"package_managers" yaml:"package_managers"`
ExistingDotfileManager string `json:"existing_dotfile_manager,omitempty" yaml:"existing_dotfile_manager,omitempty"`
} `json:"system" yaml:"system"`
Recommendation struct {
Action string `json:"action" yaml:"action"` // "init" or "migrate"
Reason string `json:"reason" yaml:"reason"`
MigrateSource string `json:"migrate_source,omitempty" yaml:"migrate_source,omitempty"`
} `json:"recommendation" yaml:"recommendation"`
RepoSetup struct {
Layer RepoLayer `json:"layer" yaml:"layer"`
LayerReason string `json:"layer_reason" yaml:"layer_reason"`
SuggestedStructure []struct {
Path string `json:"path" yaml:"path"`
Description string `json:"description" yaml:"description"`
} `json:"suggested_structure" yaml:"suggested_structure"`
} `json:"repo_setup" yaml:"repo_setup"`
Packages []PackageRecommendation `json:"packages" yaml:"packages"`
Projects []ProjectSuggestion `json:"projects" yaml:"projects"`
NextSteps []NextStep `json:"next_steps" yaml:"next_steps"`
Observations []string `json:"observations,omitempty" yaml:"observations,omitempty"`
Warnings []string `json:"warnings,omitempty" yaml:"warnings,omitempty"`
}
InitPlan represents the complete initialization plan.
type NextStep ¶
type NextStep struct {
Step string `json:"step" yaml:"step"`
Command string `json:"command" yaml:"command"`
Note string `json:"note,omitempty" yaml:"note,omitempty"`
}
NextStep represents a step in the initialization process.
type Options ¶
type Options struct {
Layer string // user-specified layer preference
Focus string // development focus (web, backend, devops, etc.)
Verbose bool
Format string // "text", "yaml", "json"
AIProvider ai.Provider
RegClient *registry.Client
}
Options controls init behavior.
type PackageRecommendation ¶
type PackageRecommendation struct {
Name string `json:"name" yaml:"name"`
Reason string `json:"reason" yaml:"reason"`
Category string `json:"category" yaml:"category"` // essential, recommended, optional
PlatformSpecific bool `json:"platform_specific" yaml:"platform_specific"`
}
PackageRecommendation represents a recommended package.
type ProjectSuggestion ¶
type ProjectSuggestion struct {
Name string `json:"name" yaml:"name"`
Description string `json:"description" yaml:"description"`
Files []string `json:"files,omitempty" yaml:"files,omitempty"`
}
ProjectSuggestion represents a suggested project to create.
Click to show internal directories.
Click to hide internal directories.