Versions in this module Expand all Collapse all v0 v0.3.0 May 26, 2026 v0.2.1 May 26, 2026 Changes in this version + const DefaultProjectSnapshotTTL + var ProjectContextFiles = []string + func BuildImportGraph(projectDir string) map[string][]string + func BumpVersion(current string, changes []ChangeEntry) string + func ClassifyUpdate(current, latest string) string + func DetectArchitecture(dir string) string + func FormatAnalysis(analysis *ProjectAnalysis) string + func FormatImpact(analysis *ImpactAnalysis) string + func FormatOutdated(deps []Dependency) string + func FormatPlan(plan *UpdatePlan) string + func FormatReleaseNotes(release *Release) string + func FormatViolations(violations []Violation) string + func GenerateChangelog(release *Release) string + func GenerateOnboardingDoc(analysis *ProjectAnalysis) string + func ParseSemver(version string) (major, minor, patch int, err error) + func UpdateVersionFile(version, filePath string) error + type ChangeEntry struct + Author string + Breaking bool + CommitHash string + Description string + Scope string + Type string + func ParseConventionalCommit(msg string) *ChangeEntry + type Convention struct + AntiPattern *regexp.Regexp + Category string + Confidence float64 + Description string + Example string + Language string + Name string + Pattern *regexp.Regexp + type ConventionSet struct + Conventions []Convention + ProjectDir string + func NewConventionSet(projectDir string) *ConventionSet + func (cs *ConventionSet) AddConvention(conv Convention) + func (cs *ConventionSet) Check(code, file string) []Violation + func (cs *ConventionSet) CheckErrorHandling(code string) []Violation + func (cs *ConventionSet) CheckNaming(code string) []Violation + func (cs *ConventionSet) CheckTestStyle(code string) []Violation + func (cs *ConventionSet) Enforce(code string) (string, []Violation) + func (cs *ConventionSet) FormatConventions() string + func (cs *ConventionSet) LearnConventions(projectDir string) error + type Dependency struct + Changelog string + CurrentVersion string + HasBreakingChanges bool + IsDirectDep bool + LatestVersion string + Name string + SecurityFix bool + UpdateType string + type DependencyUpdater struct + Language string + ProjectDir string + func NewDependencyUpdater(projectDir string) *DependencyUpdater + func (du *DependencyUpdater) ApplyUpdate(dep Dependency) error + func (du *DependencyUpdater) BatchUpdate(deps []Dependency, maxRisk string) ([]string, []error) + func (du *DependencyUpdater) DetectLanguage() string + func (du *DependencyUpdater) GeneratePlan(deps []Dependency) *UpdatePlan + func (du *DependencyUpdater) ListOutdated() ([]Dependency, error) + type ImpactAnalysis struct + ChangedFiles []string + DirectlyAffected []string + RiskScore float64 + Suggestions []string + TestCoverage float64 + TransitivelyAffected []string + type ImpactAnalyzer struct + ImportGraph map[string][]string + ProjectDir string + TestMapping map[string][]string + func NewImpactAnalyzer(projectDir string) *ImpactAnalyzer + func (ia *ImpactAnalyzer) Analyze(changedFiles []string) (*ImpactAnalysis, error) + func (ia *ImpactAnalyzer) FindDirectDependents(pkg string) []string + func (ia *ImpactAnalyzer) FindTestCoverage(packages []string) float64 + func (ia *ImpactAnalyzer) FindTransitiveDependents(pkg string, depth int) []string + func (ia *ImpactAnalyzer) GenerateSuggestions(analysis *ImpactAnalysis) []string + func (ia *ImpactAnalyzer) QuickImpact(file string) string + func (ia *ImpactAnalyzer) ScoreRisk(analysis *ImpactAnalysis) float64 + type MigrationPlan struct + AffectedFiles []string + CreatedAt time.Time + Description string + EstimatedChanges int + Name string + RiskLevel string + Steps []MigrationStep + Validated bool + type MigrationPlanner struct + ProjectDir string + func NewMigrationPlanner(projectDir string) *MigrationPlanner + func (mp *MigrationPlanner) Execute(plan *MigrationPlan) (*MigrationResult, error) + func (mp *MigrationPlanner) PlanAPIChange(oldSig, newSig string) (*MigrationPlan, error) + func (mp *MigrationPlanner) PlanDependencyUpgrade(pkg, fromVersion, toVersion string) (*MigrationPlan, error) + func (mp *MigrationPlanner) PlanPatternReplace(pattern, replacement, fileGlob string) (*MigrationPlan, error) + func (mp *MigrationPlanner) PlanRename(oldName, newName string) (*MigrationPlan, error) + func (mp *MigrationPlanner) Preview(plan *MigrationPlan) string + func (mp *MigrationPlanner) Rollback(plan *MigrationPlan) error + func (mp *MigrationPlanner) Validate(plan *MigrationPlan) []string + type MigrationResult struct + Completed int + Failed int + ManualReview []MigrationStep + Skipped int + type MigrationStep struct + Completed bool + Description string + Error string + Files []string + Manual bool + Order int + Pattern string + Replacement string + type ModuleInfo struct + Dependencies []string + Name string + Path string + PublicAPI []string + Purpose string + Size int + type Pattern struct + Confidence float64 + Description string + Files []string + Name string + func DetectPatterns(dir string) []Pattern + type ProjectAnalysis struct + Architecture string + Complexity string + Conventions []string + Dependencies int + EntryPoints []string + Framework string + KeyModules []ModuleInfo + LOC int + Language string + Name string + Patterns []Pattern + TestCoverage string + type ProjectAnalyzer struct + Dir string + func NewProjectAnalyzer(dir string) *ProjectAnalyzer + func (pa *ProjectAnalyzer) Analyze() (*ProjectAnalysis, error) + func (pa *ProjectAnalyzer) AnalyzeModule(path string) *ModuleInfo + type ProjectContext struct + Loaded map[string]string + ProjectDir string + func NewProjectContext(projectDir string) *ProjectContext + func (pc *ProjectContext) HasContext() bool + func (pc *ProjectContext) InitPrompt() string + func (pc *ProjectContext) Load() string + type ProjectSnapshot struct + DirectoryListing string + GatheredAt time.Time + GitStatus string + RecentCommits string + func (s *ProjectSnapshot) ForExploreMode() *ProjectSnapshot + type ProjectSnapshotCache struct + func NewProjectSnapshotCache(dir string, ttl time.Duration) *ProjectSnapshotCache + func (c *ProjectSnapshotCache) Get(ctx context.Context) *ProjectSnapshot + func (c *ProjectSnapshotCache) Invalidate() + type Release struct + BreakingChanges []ChangeEntry + Changes []ChangeEntry + Contributors []string + Date time.Time + Stats ReleaseStats + Version string + type ReleaseManager struct + CurrentVersion string + ProjectDir string + func NewReleaseManager(projectDir string) *ReleaseManager + func (rm *ReleaseManager) DetectCurrentVersion() (string, error) + func (rm *ReleaseManager) GatherChanges(sinceTag string) ([]ChangeEntry, error) + func (rm *ReleaseManager) PrepareRelease() (*Release, error) + func (rm *ReleaseManager) ValidateRelease(release *Release) []string + type ReleaseStats struct + Additions int + Commits int + Contributors int + Deletions int + FilesChanged int + type UpdatePlan struct + Dependencies []Dependency + EstimatedBreaking int + RiskLevel string + RollbackCommand string + TestCommand string + type Violation struct + Code string + Convention string + Expected string + File string + Got string + Line int