Versions in this module Expand all Collapse all v1 v1.5.0 Apr 2, 2026 v1.2.0 Mar 19, 2026 Changes in this version + const GitConflicted + const GitDeleted + const GitModified + const GitStaged + const GitUntracked + var Version = "dev" + func AgentsCmd() *cobra.Command + func GetCompactionMaxTokens() int + func GetCompactionPreserveTurns() int + func GetCompactionThreshold() int + func GetConfig() (*config.Config, error) + func GetQueryIntent() string + func GetTokenBudget() int + func IsCompactionAutoDetect() bool + func IsCompactionEnabled() bool + func IsCompactionSnapshotEnabled() bool + func IsDryRun() bool + func IsLLMEnabled() bool + func IsSkipEnv() bool + func IsUltraCompact() bool + func IsVerbose() bool + func TeeOnFailure(raw string, commandSlug string, err error) string + func TeeOnFailureWithCode(raw string, commandSlug string, exitCode int) string + func VerbosityLevel() int + type AuditEntry struct + Action string + OriginalCmd string + RewrittenCmd string + Timestamp string + type CcusagePeriod struct + CacheCreationTokens uint64 + CacheReadTokens uint64 + InputTokens uint64 + Key string + OutputTokens uint64 + TotalCost float64 + TotalTokens uint64 + type CodeSummary struct + type CommandBreakdown struct + AvgPct float64 + AvgTime int64 + Command string + Count int + Saved int + type Correction struct + Category string + Confidence float64 + CorrectedCommand string + Count int + Example string + FailedCommand string + type DayBreakdown struct + Commands int + Date string + Original int + Saved int + type DiscoverResult struct + MissedSavings int + Opportunities []DiscoveredCommand + Project string + TotalCommands int + UnsupportedCmds []DiscoveredCommand + type DiscoveredCommand struct + Category string + Command string + CouldSave bool + Count int + Example string + type EslintMessage struct + Column int + Line int + Message string + RuleId string + Severity int + type EslintResult struct + ErrorCount int + FilePath string + Messages []EslintMessage + WarningCount int + type ExtractedCommand struct + Command string + IsError bool + OutputLen int + SessionID string + type FallbackHandler struct + func GetFallback() *FallbackHandler + func NewFallbackHandler() *FallbackHandler + func (h *FallbackHandler) Handle(args []string) (string, bool, error) + type GainSummary struct + AvgSavingsPct float64 + AvgTimeMs int64 + ByCommand []CommandBreakdown + ByDay []DayBreakdown + TotalCommands int + TotalInput int + TotalOutput int + TotalSaved int + TotalTimeMs int64 + type GhCheckRun struct + Conclusion string + Name string + Status string + type GhIssue struct + Author string + Number int + State string + Title string + type GhPR struct + Author string + HeadRefName string + Number int + State string + Title string + type GhPRFile struct + Path string + type GhPRView struct + Additions int + Author string + BaseRefName string + ChangedFiles int + Commits int + Deletions int + Files []GhPRFile + HeadRefName string + MergeStateStatus string + Mergeable string + Number int + State string + StatusCheckRollup []GhCheckRun + Title string + type GhRelease struct + CreatedAt string + IsDraft bool + IsPrerelease bool + Name string + TagName string + type GhRun struct + Conclusion string + CreatedAt string + DatabaseId int + DisplayTitle string + Event string + Status string + type GitFile struct + Code string + Path string + type GitStatus struct + Ahead int + Behind int + Branch string + Conflicted []GitFile + Modified []GitFile + Staged []GitFile + TrackingBranch string + Untracked []GitFile + type GoTestEvent struct + Action string + Elapsed float64 + Output string + Package string + Test string + Time string + type K8sContainerStatus struct + Name string + RestartCount int + State map[string]interface{} + type K8sMetadata struct + Name string + Namespace string + type K8sPod struct + Metadata K8sMetadata + Status K8sPodStatus + type K8sPodList struct + Items []K8sPod + type K8sPodStatus struct + ContainerStatuses []K8sContainerStatus + Phase string + type K8sService struct + Metadata K8sMetadata + Spec K8sServiceSpec + type K8sServiceList struct + Items []K8sService + type K8sServicePort struct + Port int + TargetPort string + type K8sServiceSpec struct + Ports []K8sServicePort + Type string + type LearnResult struct + Corrections []Correction + Project string + RulesWritten bool + TotalErrors int + type MypyError struct + Code string + ContextLines []string + File string + Line int + Message string + type OutputType int + const OutputTypeBuild + const OutputTypeGeneric + const OutputTypeJSON + const OutputTypeList + const OutputTypeLog + const OutputTypeTest + type ParseState int + const StateFailures + const StateHeader + const StateSummary + const StateTestProgress + type PatchMode int + const PatchModeAsk + const PatchModeAuto + const PatchModeSkip + type PatchResult int + const PatchResultAlreadyPresent + const PatchResultDeclined + const PatchResultPatched + const PatchResultSkipped + type PylintDiagnostic struct + Column int + Line int + Message string + MessageId string + Module string + Obj string + Path string + Symbol string + Type string + type RuffDiagnostic struct + Code string + Filename string + Fix *RuffFix + Location RuffLocation + Message string + type RuffFix struct + Applicability string + type RuffLocation struct + Column int + Row int + type SessionSummary struct + Date string + ID string + OutputTokens int + TokmanCmds int + TotalCmds int + func (s *SessionSummary) AdoptionPct() float64 + type TestSuite struct + Duration time.Duration + Failed int + FailedTests []string + Package string + Passed int + Skipped int + type TsError struct + Code string + Col string + ContextLines []string + File string + Line string + Message string + Severity string + type WcMode int + const WcModeBytes + const WcModeChars + const WcModeFull + const WcModeLines + const WcModeMixed + const WcModeWords v0 v0.28.0 Apr 16, 2026 v0.1.0 Apr 6, 2026 Changes in this version + func Execute() int + func ExecuteContext(ctx context.Context) int