Versions in this module Expand all Collapse all v0 v0.5.1 May 12, 2026 v0.1.0 May 12, 2026 Changes in this version + const DefaultCacheMaxSize + const DefaultChunkSize + const DefaultMaxContextTokens + const DefaultStreamThreshold + func ConfigDir() string + func ConfigPath() string + func DataPath() string + func DatabasePath() string + func FiltersDir() string + func FiltersPath() string + func HooksPath() string + func LogPath() string + func ProjectPath() string + type AlertsConfig struct + DailyTokenLimit int64 + Enabled bool + UsageSpikeThreshold float64 + WeeklyTokenLimit int64 + type BudgetConfig struct + DailyTokens int + WarningThreshold int + type CommandContext struct + Command string + ExitCode int + Intent string + IsBuild bool + IsError bool + IsTest bool + Subcommand string + type Config struct + Alerts AlertsConfig + Budget BudgetConfig + Dashboard DashboardConfig + Edit EditConfig + Export ExportConfig + Filter FilterConfig + Hooks HooksConfig + Keybindings KeybindingsConfig + Pipeline PipelineConfig + Tracking TrackingConfig + func Defaults() *Config + func Load(cfgFile string) (*Config, error) + func LoadFromFile(path string) (*Config, error) + func (c *Config) GetDatabasePath() string + func (c *Config) Save(path string) (retErr error) + func (c *Config) Validate() error + type DashboardConfig struct + Bind string + EnableExport bool + Port int + Theme string + UpdateInterval int + type EditConfig struct + AllowedPatterns []string + AtomicWrites bool + BatchEnabled bool + BatchSize int + BatchTimeoutMs int + CreateBackups bool + DeniedPatterns []string + DryRun bool + MaxFileSize int + type ExportConfig struct + DefaultFormat string + IncludeTimestamp bool + MaxRecords int + type FilterConfig struct + IgnoreFiles []string + MaxWidth int + Mode string + NoiseDirs []string + type HooksConfig struct + AuditDir string + ExcludedCommands []string + TeeDir string + TeeEnabled bool + type KeybindingsConfig struct + Back string + Bottom string + Down string + Enter string + Export string + Help string + HistoryBack string + HistoryForward string + NextSection string + PageDown string + PageUp string + Palette string + PrevSection string + Quit string + Refresh string + Search string + Top string + Up string + Yank string + type PipelineConfig struct + ASTPreserveThreshold float64 + AgentMemoryExtractFn string + AgentMemoryMaxEdges int + AgentMemoryMaxNodes int + AnchorMinPreserve int + AnchorThreshold float64 + AttentionRecentCount int + AttentionSinkCount int + AttributionFrequency bool + AttributionPositional bool + AttributionSemantic bool + AttributionThreshold float64 + BudgetOverflowFile string + CacheEnabled bool + CacheMaxSize int + ChunkMaxSize int + ChunkMinSize int + ChunkSize int + CompactionAutoDetect bool + CompactionMaxTokens int + CompactionPreserveTurns int + CompactionStateSnapshot bool + CompactionThreshold int + ContrastiveThreshold float64 + DefaultBudget int + EnableACON bool + EnableAST bool + EnableAgentMemory bool + EnableAgentOCR bool + EnableAgentOCRHist bool + EnableAttentionSink bool + EnableAttribution bool + EnableBudget bool + EnableCompaction bool + EnableContextCrunch bool + EnableContrastive bool + EnableDiffAdapt bool + EnableEPiC bool + EnableEntropy bool + EnableEvaluator bool + EnableExtractiveFilter bool + EnableGist bool + EnableGoalDriven bool + EnableGraphCoT bool + EnableH2O bool + EnableHierarchical bool + EnableJSONSampler bool + EnableLatentCollab bool + EnableLazyPruner bool + EnableLightMem bool + EnableMetaToken bool + EnableNgram bool + EnablePathShorten bool + EnablePerplexity bool + EnablePlanBudget bool + EnablePlannedLayers bool + EnablePolicyRouter bool + EnableQualityGuardrail bool + EnableResearchPack bool + EnableRoleBudget bool + EnableS2MAD bool + EnableSSDP bool + EnableSWEAdaptive bool + EnableSearchCrunch bool + EnableSemanticAnchor bool + EnableSemanticChunk bool + EnableSketchStore bool + EnableStructColl bool + EntropyMinWordLength int + EntropySamplingHuge int + EntropySamplingLarge int + EntropySamplingRate int + EntropyThreshold float64 + EvaluatorThreshold float64 + ExtractiveHeadLines int + ExtractiveMaxLines int + ExtractiveSignalLines int + ExtractiveTailLines int + FailSafeMode bool + GistMinChunkSize int + GoalDrivenThreshold float64 + H2OHeavyHitterSize int + H2ORecentSize int + H2OSinkSize int + HardBudgetLimit bool + HierarchicalMaxLevels int + HierarchicalRatio float64 + LLMBaseURL string + LLMModel string + LLMProvider string + LazyBudgetRatio float64 + LazyLayerDecay float64 + MaxContextTokens int + MetaTokenMinMatch int + MetaTokenWindow int + NgramMinOccurrences int + ParallelLayers bool + PerplexityContextWindow int + PerplexityConvergenceThreshold float64 + PerplexityIterationSteps int + PerplexityPruneRatio float64 + PerplexityTargetRatio float64 + PerplexityThreshold float64 + Preset string + SemanticThreshold float64 + ShortCircuitBudget bool + SketchMemoryRatio int + SketchOnDemand bool + StreamThreshold int + TeeDir string + TeeOnFailure bool + ValidateOutput bool + type TrackingConfig struct + DatabasePath string + Enabled bool + Telemetry bool