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 AutonomyBasic + const AutonomyFull + const AutonomySemi + const AutonomySupervised + const AutonomyYOLO + const CompactBase + const CompactPartial + const CompactUpTo + const ConfidenceThreshold + const DefaultExploreTurns + const DefaultGeneralTurns + const DefaultMaxEntries + const DefaultSnapshotTTL + const DoomLoopThreshold + const MaxAgentDepth + const MaxAutoFixRetries + const PermissionModeAcceptEdits + const PermissionModeBypassPermissions + const PermissionModeDefault + const PermissionModeDontAsk + const PermissionModePlan + const SubAgentExplore + const SubAgentGeneral + const SynthesisPrompt + var AdaptiveSizes = history.AdaptiveSizes + var BuildDependencyGraph = diff.BuildDependencyGraph + var BuildFormPrompt = planning.BuildFormPrompt + var BuildImportGraph = project.BuildImportGraph + var BuildPrompt = io.BuildPrompt + var BuildRejectionMessage = safety.BuildRejectionMessage + var BuildSearchContext = search.BuildSearchContext + var BuiltinPersonas = []Persona + var BuiltinWorkflows = workflow.BuiltinWorkflows + var BumpVersion = project.BumpVersion + var ClassifyUpdate = project.ClassifyUpdate + var CompareApproaches = review.CompareApproaches + var CompareReports = workflow.CompareReports + var ComputeDiff = diff.ComputeDiff + var ComputeMyersDiff = diff.ComputeMyersDiff + var DecomposePrompt = planning.DecomposePrompt + var DedupEvents = io.DedupEvents + var DefaultIgnorePatterns = io.DefaultIgnorePatterns + var DefaultLimits = lifecycle.DefaultLimits + var DefaultTimeoutConfig = lifecycle.DefaultTimeoutConfig + var DefaultWeights = review.DefaultWeights + var DetectAnnotations = history.DetectAnnotations + var DetectArchitecture = project.DetectArchitecture + var DetectContentType = io.DetectContentType + var DetectLanguage = io.DetectLanguage + var DetectPatterns = project.DetectPatterns + var EditScript = diff.EditScript + var EvalCondition = workflow.EvalCondition + var ExploreTools = agent.ExploreTools + var ExtractCode = search.ExtractCode + var ExtractHTML = search.ExtractHTML + var ExtractJSON = search.ExtractJSON + var ExtractMarkdown = search.ExtractMarkdown + var FilterBySeverity = review.FilterBySeverity + var FixCodeFences = streaming.FixCodeFences + var FixMarkdown = streaming.FixMarkdown + var FormatAnalysis = project.FormatAnalysis + var FormatAnnotations = history.FormatAnnotations + var FormatAsMarkdown = workflow.FormatAsMarkdown + var FormatAsTerminal = workflow.FormatAsTerminal + var FormatAssessment = safety.FormatAssessment + var FormatCommandSuggestions = intelligence.FormatCommandSuggestions + var FormatConflictMarkers = diff.FormatConflictMarkers + var FormatConsensus = review.FormatConsensus + var FormatEvents = io.FormatEvents + var FormatForCommit = workflow.FormatForCommit + var FormatForContext = io.FormatForContext + var FormatGroundingResult = safety.FormatGroundingResult + var FormatImpact = project.FormatImpact + var FormatInline = review.FormatInline + var FormatIntent = intelligence.FormatIntent + var FormatIssueResults = search.FormatIssueResults + var FormatLanguages = intelligence.FormatLanguages + var FormatOutdated = project.FormatOutdated + var FormatPlan = project.FormatPlan + var FormatReleaseNotes = project.FormatReleaseNotes + var FormatReport = review.FormatReport + var FormatResponse = planning.FormatResponse + var FormatReview = review.FormatReview + var FormatSelfAssessment = review.FormatSelfAssessment + var FormatTasks = planning.FormatTasks + var FormatToolSelection = intelligence.FormatToolSelection + var FormatViolations = project.FormatViolations + var FormatWindow = history.FormatWindow + var GenerateChangelog = project.GenerateChangelog + var GenerateMitigations = safety.GenerateMitigations + var GenerateOnboardingDoc = project.GenerateOnboardingDoc + var GenerateTestCommand = diff.GenerateTestCommand + var HashPrompt = streaming.HashPrompt + var HintsFilenames = []string + var IsDue = io.IsDue + var LCS = diff.LCS + var MatchesPattern = io.MatchesPattern + var Merge3 = diff.Merge3 + var MergeClean = diff.MergeClean + var ModeToolAllowlist = agent.ModeToolAllowlist + var NewAIWatcher = io.NewAIWatcher + var NewActionManager = planning.NewActionManager + var NewAnnotationManager = history.NewAnnotationManager + var NewBacktrackEngine = control.NewBacktrackEngine + var NewCapabilityRegistry = intelligence.NewCapabilityRegistry + var NewClipboardMonitor = io.NewClipboardMonitor + var NewCommandHistory = history.NewCommandHistory + var NewConsensusSampler = review.NewConsensusSampler + var NewConventionSet = project.NewConventionSet + var NewConversationSummarizer = history.NewConversationSummarizer + var NewCritic = review.NewCritic + var NewCronScheduler = io.NewCronScheduler + var NewDebugRecorder = observability.NewDebugRecorder + var NewDependencyUpdater = project.NewDependencyUpdater + var NewDiffPreview = diff.NewDiffPreview + var NewDiffReporter = workflow.NewDiffReporter + var NewDiffSandbox = diff.NewDiffSandbox + var NewDiffSummarizer = diff.NewDiffSummarizer + var NewDistillationPipeline = history.NewDistillationPipeline + var NewExecutionPlanner = planning.NewExecutionPlanner + var NewExperienceStore = memory.NewExperienceStore + var NewFeedbackCollector = observability.NewFeedbackCollector + var NewFileMentionDetector = history.NewFileMentionDetector + var NewFileWatcher = io.NewFileWatcher + var NewGoalTracker = planning.NewGoalTracker + var NewHallucinationGuard = safety.NewHallucinationGuard + var NewHeadTailWindow = history.NewHeadTailWindow + var NewImpactAnalyzer = project.NewImpactAnalyzer + var NewIntentClassifier = intelligence.NewIntentClassifier + var NewIssueIndex = search.NewIssueIndex + var NewKnowledgeBase = memory.NewKnowledgeBase + var NewLanguageRegistry = intelligence.NewLanguageRegistry + var NewLimitTracker = lifecycle.NewLimitTracker + var NewLoopDetector = control.NewLoopDetector + var NewMemoryConsolidator = memory.NewMemoryConsolidator + var NewMigrationPlanner = project.NewMigrationPlanner + var NewOutputRedactor = safety.NewOutputRedactor + var NewPermissionEngine = safety.NewPermissionEngine + var NewPermissionMemory = safety.NewPermissionMemory + var NewPlanState = planning.NewPlanState + var NewProfiler = observability.NewProfiler + var NewProjectAnalyzer = project.NewProjectAnalyzer + var NewProjectContext = project.NewProjectContext + var NewProjectSnapshotCache = project.NewProjectSnapshotCache + var NewProtectedPaths = safety.NewProtectedPaths + var NewQualityScorer = review.NewQualityScorer + var NewReleaseManager = project.NewReleaseManager + var NewResearchAgent = search.NewResearchAgent + var NewResponseCache = streaming.NewResponseCache + var NewResponseFormatter = streaming.NewResponseFormatter + var NewReviewBot = review.NewReviewBot + var NewRiskAssessor = safety.NewRiskAssessor + var NewRotatingWriter = observability.NewRotatingWriter + var NewSelfAssessor = review.NewSelfAssessor + var NewSolutionReviewer = review.NewSolutionReviewer + var NewStagingArea = diff.NewStagingArea + var NewStallDetector = control.NewStallDetector + var NewSteeringQueue = streaming.NewSteeringQueue + var NewStreamOptimizer = streaming.NewStreamOptimizer + var NewStructuredLogger = observability.NewStructuredLogger + var NewSuggestionEngine = intelligence.NewSuggestionEngine + var NewTaskDecomposer = planning.NewTaskDecomposer + var NewTaskQueue = planning.NewTaskQueue + var NewTestSelector = diff.NewTestSelector + var NewThinkingProtocol = streaming.NewThinkingProtocol + var NewToolSelector = intelligence.NewToolSelector + var NewTrajectoryInspector = workflow.NewTrajectoryInspector + var NewURLScraper = search.NewURLScraper + var NewWorkflowEngine = workflow.NewWorkflowEngine + var NewWorkspaceState = workflow.NewWorkspaceState + var NextRunTime = io.NextRunTime + var ParseAndApplyMemoryOps = lifecycle.ParseAndApplyMemoryOps + var ParseAutonomyLevel = safety.ParseAutonomyLevel + var ParseConventionalCommit = project.ParseConventionalCommit + var ParseCron = io.ParseCron + var ParseLevel = observability.ParseLevel + var ParseSemver = project.ParseSemver + var ParseSubtasks = planning.ParseSubtasks + var PreserveToolPairs = history.PreserveToolPairs + var PresetConfig = safety.PresetConfig + var ReadClipboard = io.ReadClipboard + var RemainingTime = lifecycle.RemainingTime + var RemoveComment = io.RemoveComment + var RemoveFluff = streaming.RemoveFluff + var RenderUnified = diff.RenderUnified + var ResearchLimits = lifecycle.ResearchLimits + var ReviewCategories = []string + var ScaleBehaviors = map[TaskScale]ScaleBehavior + var ScanDirectory = io.ScanDirectory + var ScanFile = io.ScanFile + var ScanGitTasks = planning.ScanGitTasks + var ScanTODOs = planning.ScanTODOs + var ScanTestFailures = planning.ScanTestFailures + var ShouldApply = history.ShouldApply + var ShouldCache = streaming.ShouldCache + var ShouldProceed = safety.ShouldProceed + var ShouldRetry = review.ShouldRetry + var StripAnnotations = history.StripAnnotations + var SubstituteVars = workflow.SubstituteVars + var SuggestResolution = search.SuggestResolution + var SummarizeClipboard = io.SummarizeClipboard + var TimeoutMessage = lifecycle.TimeoutMessage + var ToolNeedsPermission = safety.ToolNeedsPermission + var ToolSummary = safety.ToolSummary + var UpdateVersionFile = project.UpdateVersionFile + var Validate = planning.Validate + var ValidateWorkflow = workflow.ValidateWorkflow + var VibeLimits = lifecycle.VibeLimits + var WatchSingle = io.WatchSingle + var WithBudget = planning.WithBudget + var WithDependencies = planning.WithDependencies + var WithPriority = planning.WithPriority + var WithTags = planning.WithTags + var WithTimeout = lifecycle.WithTimeout + var WriteClipboard = io.WriteClipboard + func AdjustIndexToPreserveAPIInvariants(msgs []types.EyrieMessage, startIdx int) int + func AutoFixPrompt(path, content string, errors []ValidationError) string + func BrainstormPrompt(phase BrainstormPhase, topic string, context string) string + func BuildCompactPrompt(variant CompactVariant) string + func BuildEditorPrompt(plan *ArchitectPlan, step PlanStep) string + func CheckpointPrompts(phase CheckpointPhase, files []string) string + func ClassifyRisk(changes []SemanticChange) string + func ClassifyTaskComplexity(task string) string + func CompressForContext(text string, budget int) (string, int) + func CorrectCoursePrompt(originalIntent, currentState, problem string) string + func CountTokens(text string) int + func CountTokensFast(text string) int + func DefaultCouncilModels() []string + func DefaultSoulPath() string + func DefaultValidateCmd(dir string) string + func DegradationTimeout(turnCount int) time.Duration + func DetectGenerated(path string) bool + func DiffPrompts(old, new string) string + func DirectivePrompt(d Directive) string + func DynamicMaxTokens(messages []types.EyrieMessage, contextSize int, taskType string) int + func EditStrategyPrompt(strategy EditStrategy) string + func EstimateDiffTokens(diff string) int + func EstimateMessageTokens(m types.EyrieMessage) int + func EstimateSavings(plan *ArchitectPlan, architectCost, editorCost float64) string + func EstimateStringTokens(content string) int + func EstimateTokens(msgs []types.EyrieMessage) int + func ExperimentPrompt(iteration int, validateCmd string, history []ExperimentResult, ...) string + func ExtractPattern(errorMsg string) string + func FilterToolsForMode(mode SubAgentMode, available []string) []string + func FormatCompactSummary(raw string) string + func FormatCompressedPR(pr *CompressedPR) string + func FormatCostDisplay(totalUSD float64) string + func FormatError(enriched *EnrichedError) string + func FormatGateResults(results []GateResult) string + func FormatHealResult(result *HealResult) string + func FormatPartyTurn(p Persona, content string) string + func FormatPattern(p *PromptPattern) string + func FormatPrediction(pred *Prediction, model string) string + func FormatPrompt(base string, sections []PromptSection) string + func FormatResults(results []BackgroundResult) string + func FormatSkill(s *Skill) string + func FormatTeachingMoment(action, reasoning string) string + func GenerateAwaySummary(ctx context.Context, session *Session, cfg AwaySummaryConfig, ...) (string, error) + func GenerateSummary(diff *SemanticDiff) string + func HasTextContent(m types.EyrieMessage) bool + func ImplementFromSpecPrompt(spec *Spec) string + func InitSoulPrompt() string + func InvestigatePrompt(phase InvestigatePhase, context string) string + func IsCompactableTool(name string) bool + func LearnPrompt(context string) string + func ListPersonas() string + func LoadCostHistory() ([]analytics.CostEntry, error) + func MergeSynthesisPrompt(subtasks []SubTask, results map[string]string) string + func ModelPricing(modelName string) (inputPricePerM, outputPricePerM float64) + func NormalizeError(msg string) string + func QuickDevClarifyPrompt(userInput string) string + func QuickDevPresentPrompt() string + func QuickDevReviewPrompt(filesChanged []string) string + func RebuildSessionTransport(ctx context.Context, s *Session, useDeploymentRouting bool, ...) error + func ReflectPrompt(sessionSummary string) string + func ReviewPrompt(files []string) string + func ShouldShowAwaySummary(lastActivity time.Time, cfg AwaySummaryConfig) bool + func ShouldUseArchitect(prompt string, messageCount int) bool + func SpecGeneratePrompt(intent string) string + func SummarizeTrajectory(messages []types.EyrieMessage) string + func SynthesizeSubAgent(ctx context.Context, llm LLMClient, model string, ...) (string, error) + func TeachPromptAugment(depth int) string + func TruncateHunks(diff string, maxTokens int) string + func WarnIfExpensive(pred *Prediction, budgetUSD float64) string + type AIComment = io.AIComment + type AIWatcher = io.AIWatcher + type APICompactConfig = compact.APICompactConfig + func DefaultAPICompactConfig() APICompactConfig + type APICompactStrategy struct + func (s *APICompactStrategy) Compact(ctx context.Context, sess *Session) (*CompactResult, error) + func (s *APICompactStrategy) Name() string + func (s *APICompactStrategy) ShouldTrigger(msgs []types.EyrieMessage, tokenCount, threshold int) bool + type ActionManager = planning.ActionManager + type ActionRequired = planning.ActionRequired + type AdaptivePrompt struct + func NewAdaptivePrompt() *AdaptivePrompt + func (ap *AdaptivePrompt) Count() int + func (ap *AdaptivePrompt) FormatForPrompt() string + func (ap *AdaptivePrompt) LearnFromFeedback(userMessage string) + type AdversarialReview struct + Findings []ReviewFinding + func (ar *AdversarialReview) FormatFindings() string + type AgentIntelligence struct + ScaleClassifier func(string) TaskScale + func NewAgentIntelligence() *AgentIntelligence + func (ai *AgentIntelligence) AnalyzeForParallelism(prompt string) SpawnDecision + func (ai *AgentIntelligence) ExecuteWithIntelligence(ctx context.Context, prompt string, ...) (string, error) + func (ai *AgentIntelligence) SelectMode(subtask string) SubAgentMode + type AgentLogger = observability.AgentLogger + type AliasSuggestion = history.AliasSuggestion + type Allocation struct + CurrentTokens int + Flexible bool + MaxTokens int + MinTokens int + Name string + Priority int + Usage float64 + type Annotation = history.Annotation + type AnnotationManager = history.AnnotationManager + type Architect struct + ChatFn func(ctx context.Context, model string, messages []ArchitectMessage) (string, error) + Config ArchitectConfig + func (a *Architect) Plan(ctx context.Context, goal string, repoContext string) (*ArchitectPlan, error) + type ArchitectConfig struct + ArchitectModel string + EditorModel string + Enabled bool + PlanTokenBudget int + type ArchitectMessage struct + Content string + Role string + type ArchitectPlan struct + EstimatedComplexity string + FilesToModify []string + Goal string + RawPlan string + Steps []PlanStep + func ParsePlan(response string) (*ArchitectPlan, error) + type Assessment = review.Assessment + type Assumption struct + Proof string + Status AssumptionStatus + Text string + type AssumptionStatus int + const AssumptionConfirmed + const AssumptionFailed + const AssumptionUnverified + type AssumptionTracker struct + Assumptions []Assumption + func NewAssumptionTracker() *AssumptionTracker + func (at *AssumptionTracker) Add(text string) + func (at *AssumptionTracker) Failed() []Assumption + func (at *AssumptionTracker) Reset() + func (at *AssumptionTracker) Summary() string + func (at *AssumptionTracker) VerifyCommandSucceeds(text, cmd string) + func (at *AssumptionTracker) VerifyFileExists(text, path string) + type AutoCommitter struct + Enabled bool + RepoDir string + func NewAutoCommitter(repoDir string) *AutoCommitter + func (ac *AutoCommitter) CommitIfChanged(description string) error + func (ac *AutoCommitter) Undo() error + type AutoCompactor struct + func NewAutoCompactor(config CompactConfig) *AutoCompactor + func (ac *AutoCompactor) AutoCompactIfNeeded(ctx context.Context, sess *Session) (string, bool) + func (ac *AutoCompactor) GetAutoCompactThreshold() int + func (ac *AutoCompactor) LastStrategy() string + func (ac *AutoCompactor) ResetFailures() + func (ac *AutoCompactor) RunCompaction(ctx context.Context, sess *Session) (string, error) + func (ac *AutoCompactor) ShouldAutoCompact(sess *Session) bool + type AutonomyConfig = safety.AutonomyConfig + type AutonomyLevel = safety.AutonomyLevel + type AwaySummaryConfig struct + Enabled bool + IdleThreshold time.Duration + MaxMessages int + func DefaultAwaySummaryConfig() AwaySummaryConfig + type BackgroundAgentPool = agent.BackgroundAgentPool + func NewBackgroundAgentPool() *BackgroundAgentPool + type BackgroundResult = agent.BackgroundResult + type BackgroundRunner struct + func NewBackgroundRunner() *BackgroundRunner + func (br *BackgroundRunner) Collect(id string) *BackgroundTask + func (br *BackgroundRunner) Delegate(ctx context.Context, prompt string, ...) string + func (br *BackgroundRunner) ListActive() []*BackgroundTask + func (br *BackgroundRunner) PendingCount() int + func (br *BackgroundRunner) Status(id string) *BackgroundTask + type BackgroundTask struct + DoneAt time.Time + Error string + ID string + Prompt string + Result string + StartedAt time.Time + Status string + type BacktrackEngine = control.BacktrackEngine + type Belief struct + Category string + Confidence float64 + Content string + DiscoveredAt int + ID string + LastVerified int + Subject string + type BeliefState struct + func NewBeliefState() *BeliefState + func (bs *BeliefState) FormatForPrompt() string + func (bs *BeliefState) Get(subject string) []*Belief + func (bs *BeliefState) Invalidate(subject string) + func (bs *BeliefState) Prune(currentTurn int) + func (bs *BeliefState) Record(category, subject, content string, turn int) + func (bs *BeliefState) Size() int + type Bot = review.ReviewBot + func NewBot() *Bot + type BrainstormPhase int + const BrainstormConverge + const BrainstormDiverge + const BrainstormEvaluate + const BrainstormOrganize + const BrainstormSetup + func (p BrainstormPhase) String() string + type BrainstormSession struct + Clusters map[string][]string + Ideas []string + Phase BrainstormPhase + TopPicks []string + Topic string + func NewBrainstormSession(topic string) *BrainstormSession + type BudgetAlert = token.BudgetAlert + type BudgetAllocator struct + Allocations map[string]*Allocation + OutputReserve int + Priority []string + TotalBudget int + func NewBudgetAllocator(totalBudget, outputReserve int) *BudgetAllocator + func (ba *BudgetAllocator) Allocate() map[string]int + func (ba *BudgetAllocator) DefaultAllocations() + func (ba *BudgetAllocator) FormatBudget() string + func (ba *BudgetAllocator) GetAvailable() int + func (ba *BudgetAllocator) Rebalance() + func (ba *BudgetAllocator) Register(name string, min, max, priority int, flexible bool) + func (ba *BudgetAllocator) Release(name string, amount int) + func (ba *BudgetAllocator) RequestMore(name string, needed int) int + func (ba *BudgetAllocator) SuggestCompaction() string + func (ba *BudgetAllocator) WouldExceed(name string, additional int) bool + type CacheEntry = streaming.CacheEntry + type CacheStats = streaming.CacheStats + type Capability = intelligence.Capability + type CapabilityRegistry = intelligence.CapabilityRegistry + type ChangeEntry = project.ChangeEntry + type ChangeStats = diff.ChangeStats + type ChatClient interface + Chat func(ctx context.Context, messages []types.EyrieMessage, opts types.ChatOptions) (*types.EyrieResponse, error) + SetAPIKey func(provider, apiKey string) + StreamChatContinue func(ctx context.Context, messages []types.EyrieMessage, opts types.ChatOptions, ...) (*types.StreamResult, error) + func BuildChatClient(ctx context.Context, useDeploymentRouting bool, legacyProvider string) (ChatClient, string, bool) + func NewMockClientForTest() ChatClient + func NewProviderChatClient(p types.Provider) ChatClient + type CheckpointPhase int + const CheckpointDetail + const CheckpointOrientation + const CheckpointTesting + const CheckpointWalkthrough + const CheckpointWrapup + type ChunkedResponse struct + Chunks []string + Current int + TotalChars int + TotalPages int + func (cr *ChunkedResponse) FormatPage(page int) string + type ClassifiedInput = intelligence.ClassifiedInput + type ClipboardBridge = io.ClipboardBridge + type ClipboardMonitor = io.ClipboardMonitor + type CodingSoul struct + Path string + Preferences string + Style string + func LoadCodingSoul() *CodingSoul + func (s *CodingSoul) ForPrompt() string + type CommandFrequency = history.CommandFrequency + type CommandHistory = history.CommandHistory + type CommandRecord = history.CommandRecord + type CommandSuggestion = intelligence.CommandSuggestion + type Comment = review.ReviewComment + type CompactConfig = compact.CompactConfig + func DefaultCompactConfig() CompactConfig + type CompactResult = compact.CompactResult + type CompactStrategy interface + Compact func(ctx context.Context, s *Session) (*CompactResult, error) + Name func() string + ShouldTrigger func(msgs []types.EyrieMessage, tokenCount, threshold int) bool + type CompactVariant = compact.CompactVariant + type CompactionTrigger = compact.CompactionTrigger + func NewCompactionTrigger(windowSize int) *CompactionTrigger + type CompressMessage = session.CompressMessage + type CompressStrategy = session.CompressStrategy + type CompressedBlock = session.CompressedBlock + type CompressedFile struct + Diff string + Language string + Path string + Priority float64 + Tokens int + Truncated bool + type CompressedPR struct + Files []CompressedFile + OverflowFiles []string + Summary string + TotalTokens int + type CompressionResult = session.CompressionResult + type ConsensusResult = review.ConsensusResult + type ConsensusSampler = review.ConsensusSampler + type ConsolidatedMemory = memory.ConsolidatedMemory + type ConsolidatorStats = memory.ConsolidatorStats + type Convention = project.Convention + type ConventionSet = project.ConventionSet + type ConversationSummarizer = history.ConversationSummarizer + type CoreLoop struct + APIKeys map[string]string + Client ChatClient + Log *logger.Logger + MaxTurns int + Messages []types.EyrieMessage + Model string + Provider string + Registry *tool.Registry + System string + type Cost = cost.Cost + type CostEntry = lifecycle.CostEntry + type CostOptimizer = cost.CostOptimizer + func NewCostOptimizer() *CostOptimizer + type CostTracker = cost.CostTracker + func NewCostTracker(sessionID string) *CostTracker + type CostTrackerInterface = lifecycle.CostTrackerInterface + type CouncilConfig struct + Chairman string + Models []string + type CouncilRanking struct + Model string + Ranking string + type CouncilResponse struct + Model string + Response string + type CouncilResult struct + Rankings []CouncilRanking + Responses []CouncilResponse + Synthesis string + func RunCouncil(ctx context.Context, query string, cfg CouncilConfig, sess *Session) (*CouncilResult, error) + type Counter = observability.Counter + type Critic = review.Critic + type CronExpr = io.CronExpr + type CronJob = io.CronJob + type CronScheduler = io.CronScheduler + type CrossSessionLearner = session.CrossSessionLearner + func NewCrossSessionLearner(dir string) *CrossSessionLearner + type DebugRecorder = observability.DebugRecorder + type DebugSession = observability.DebugSession + type DebugStep = observability.DebugStep + type DecisionPoint = control.DecisionPoint + type DegradationDetector struct + func NewDegradationDetector(maxTurns int) *DegradationDetector + func (dd *DegradationDetector) IsDegraded() bool + func (dd *DegradationDetector) RecordTurn(toolName string, success bool) + func (dd *DegradationDetector) RecoveryAction() string + func (dd *DegradationDetector) Reset() + func (dd *DegradationDetector) Signal() DegradationSignal + func (dd *DegradationDetector) Stats() (turns, errors, consecutive int) + type DegradationSignal int + const SignalContextDrift + const SignalErrorSpike + const SignalLooping + const SignalNoProgress + type Dependency = project.Dependency + type DependencyUpdater = project.DependencyUpdater + type Diff3Conflict = diff.Diff3Conflict + type Diff3Region = diff.Diff3Region + type Diff3Result = diff.Diff3Result + type Diff3Stats = diff.Diff3Stats + type DiffHunk = diff.DiffHunk + type DiffLine = diff.DiffLine + type DiffPreview = diff.DiffPreview + type DiffReporter = workflow.DiffReporter + type DiffSandbox = diff.DiffSandbox + type DiffSummarizer = diff.DiffSummarizer + type DiffSummary = diff.DiffSummary + type Directive struct + Command string + Context string + File string + Line int + func ScanDirectives(dir string) []Directive + type DistillExample = history.DistillExample + type DistillStats = history.DistillStats + type DistillationPipeline = history.DistillationPipeline + type Edit = diff.Edit + type EditStrategy int + const EditAppend + const EditDiff + const EditInsert + const EditSearchReplace + const EditWholeFile + func SelectEditStrategy(fileLines int, changeDescription string) EditStrategy + type EfficientPrompter struct + Stats EfficientStats + Strategies []PromptOpt + func NewEfficientPrompter() *EfficientPrompter + func (ep *EfficientPrompter) DisableStrategy(name string) + func (ep *EfficientPrompter) EnableStrategy(name string) + func (ep *EfficientPrompter) EstimateSavings(prompt string) int + func (ep *EfficientPrompter) FormatEfficientStats() string + func (ep *EfficientPrompter) Optimize(prompt string) *OptimizedResult + func (ep *EfficientPrompter) OptimizeMessages(messages []PromptMsg) []PromptMsg + func (ep *EfficientPrompter) OptimizeOutput(output string) string + type EfficientStats struct + CallCount int + OptimizedTokens int + OriginalTokens int + TotalSavings int + type Engine = workflow.WorkflowEngine + func NewEngine(executeFn func(ctx context.Context, agent, prompt string) (string, error)) *Engine + type EnrichedError = errs.EnrichedError + type ErrorContext = errs.ErrorContext + func NewErrorContext() *ErrorContext + type ErrorGroup = errs.ErrorGroup + type ErrorGrouper = errs.ErrorGrouper + func NewErrorGrouper() *ErrorGrouper + type ErrorHelp = errs.ErrorHelp + type ErrorInstance = errs.ErrorInstance + type ErrorLearner = errs.ErrorLearner + func NewErrorLearner() *ErrorLearner + type ErrorLearnerStats = errs.ErrorLearnerStats + type ErrorPattern = errs.ErrorPattern + type ErrorPatternDB = errs.ErrorPatternDB + func NewErrorPatternDB() *ErrorPatternDB + type ErrorRecovery = errs.ErrorRecovery + func NewErrorRecovery() *ErrorRecovery + type Event struct + Payload interface{} + Type EventType + type EventBus struct + func NewEventBus() *EventBus + func (eb *EventBus) Publish(event Event) + func (eb *EventBus) Subscribe(eventType EventType) chan Event + func (eb *EventBus) Unsubscribe(eventType EventType, ch chan Event) + type EventType string + const EventError + const EventFileChanged + const EventPermission + const EventSessionEnd + const EventSessionStart + const EventStreamChunk + const EventStreamDone + const EventToolCompleted + const EventToolFailed + const EventToolStarted + type EvolvingMemoryAdapter = lifecycle.EvolvingMemoryAdapter + type EvolvingMemoryInterface = lifecycle.EvolvingMemoryInterface + type ExecutionPlan = planning.ExecutionPlan + type ExecutionPlanner = planning.ExecutionPlanner + type ExecutionStep = planning.ExecutionStep + type Experience = memory.Experience + type ExperienceStats = memory.ExperienceStats + type ExperienceStore = memory.ExperienceStore + type ExperimentLoop struct + MaxIters int + Results []ExperimentResult + Timeout time.Duration + ValidateCmd string + WorkDir string + func NewExperimentLoop(workDir, validateCmd string, maxIters int) *ExperimentLoop + func (el *ExperimentLoop) Run(ctx context.Context, ...) error + func (el *ExperimentLoop) Summary() string + type ExperimentResult struct + Change string + Duration time.Duration + ID int + Kept bool + Metric string + Passed bool + type FailureLayer int + const LayerImplementation + const LayerIntent + const LayerSpec + func (l FailureLayer) String() string + type FailurePattern = session.FailurePattern + type Feedback = observability.Feedback + type FeedbackCollector = observability.FeedbackCollector + type FewShotExample = scaffold.FewShotExample + type FewShotStore = scaffold.FewShotStore + func NewFewShotStore() *FewShotStore + type FieldSpec = validation.FieldSpec + type FileChange = diff.FileChange + type FileDiffReport = workflow.FileDiffReport + type FileEvent = io.FileEvent + type FileFix struct + Action string + File string + Line int + NewContent string + OldContent string + type FileMentionDetector = history.FileMentionDetector + type FileSnapshot struct + ModifiedContent []byte + OriginalContent []byte + OriginalMode os.FileMode + Path string + WasNew bool + type FileState = workflow.FileState + type FileSummary = diff.FileSummary + type FileTracker = compact.FileTracker + func NewFileTracker() *FileTracker + type FileWatcher = io.FileWatcher + type FormField = planning.FormField + type FormResponse = planning.FormResponse + type FormatRule = streaming.FormatRule + type FormattedResponse = streaming.FormattedResponse + type GatePhase int + const GateDone + const GateImplement + const GatePlan + const GateSpec + const GateVerify + func (p GatePhase) String() string + type GateResult struct + Passed bool + Phase GatePhase + Reason string + func RunQualityGates(gates []QualityGate) ([]GateResult, bool) + type GenCheck = validation.GenCheck + type GenIssue = validation.GenIssue + type GenValidation = validation.GenValidation + type GenValidator = validation.GenValidator + func NewGenValidator() *GenValidator + type Goal = planning.Goal + type GoalEvent = planning.GoalEvent + type GoalOption = planning.GoalOption + type GoalStatus = planning.GoalStatus + type GoalTracker = planning.GoalTracker + type GroundingResult = safety.GroundingResult + type HallucinationGuard = safety.HallucinationGuard + type HeadTailWindow = history.HeadTailWindow + type HealAttempt struct + Attempt int + Duration time.Duration + Error string + ExitCode int + Fix string + Output string + Script string + Success bool + type HealResult struct + Attempts []HealAttempt + FinalSuccess bool + FixesApplied int + TotalDuration time.Duration + type HintsLoader struct + func NewHintsLoader() *HintsLoader + func (h *HintsLoader) IsLoaded(dir string) bool + func (h *HintsLoader) LoadHints(dir string) string + func (h *HintsLoader) LoadHintsRecursive(dir string) string + func (h *HintsLoader) Reset() + type Hypothesis = observability.Hypothesis + type ImpactAnalysis = project.ImpactAnalysis + type ImpactAnalyzer = project.ImpactAnalyzer + type ImplicitSignal = observability.ImplicitSignal + type InjectionScanner struct + Patterns []injectionPattern + func NewInjectionScanner() *InjectionScanner + func (is *InjectionScanner) Scan(input string) *ScanResult + type Insight = session.Insight + type InspectionAction int + const ActionAllow + const ActionDeny + const ActionRequireApproval + type InspectionResult struct + Action InspectionAction + Confidence float64 + Reason string + ToolName string + func (r InspectionResult) ShouldExecute() bool + type IntegrationPipeline struct + AdaptivePrompt *SystemPromptBuilder + BudgetAllocator *BudgetAllocator + CommandHistory *CommandHistory + ContextDecay *ctxmgr.ContextDecay + ErrorRecovery *ErrorRecovery + ExperienceStore *ExperienceStore + FeedbackCollector *FeedbackCollector + FileMentionDetector *FileMentionDetector + InjectionScanner *InjectionScanner + IntentClassifier *IntentClassifier + KnowledgeBase *KnowledgeBase + LintLoop *LintLoop + OutputRedactor *OutputRedactor + QualityScorer *QualityScorer + ResponseCache *ResponseCache + ResponseFormatter *ResponseFormatter + SelfAssessor *SelfAssessor + StallDetector *StallDetector + TestLoop *TestLoop + Timeline *Timeline + TokenPredictor *TokenPredictor + TokenReporter *TokenReporter + ToolSelector *ToolSelector + WorkspaceState *WorkspaceState + func NewIntegrationPipeline() *IntegrationPipeline + func (p *IntegrationPipeline) EndSession(success bool, taskGoal string) *SessionSummary + func (p *IntegrationPipeline) FormatPipelineStatus() string + func (p *IntegrationPipeline) PostResponse(response string, messages []types.EyrieMessage) *PostResponseResult + func (p *IntegrationPipeline) PostToolExecution(toolName string, args map[string]interface{}, output string, err error) *PostToolResult + func (p *IntegrationPipeline) PreQuery(messages []types.EyrieMessage, userInput string) *PreQueryResult + type Intelligence struct + Activity *memory.ActivityTracker + Beliefs *BeliefState + Enhanced *memory.EnhancedMemoryManager + FileMentions *FileMentionDetector + Memory MemoryRecaller + SkillDistill *memory.SkillDistiller + Sleeptime *memory.SleeptimeAgent + YaadBridge *memory.YaadBridge + type Intent = intelligence.Intent + type IntentClassifier = intelligence.IntentClassifier + type IntentRule = intelligence.IntentRule + type InvestigatePhase int + const InvestigateFix + const InvestigateIsolate + const InvestigateReproduce + const InvestigateRootCause + const InvestigateVerify + func (p InvestigatePhase) String() string + type Issue = search.Issue + type IssueIndex = search.IssueIndex + type KnowledgeBase = memory.KnowledgeBase + type KnowledgeEntry = memory.KnowledgeEntry + type KnowledgeStats = memory.KnowledgeStats + type LLMClient interface + Chat func(ctx context.Context, msgs []types.EyrieMessage, opts types.ChatOptions) (*types.EyrieResponse, error) + type LanguageConfig = intelligence.LanguageConfig + type LanguageRegistry = intelligence.LanguageRegistry + type LargeResponseHandler struct + MaxChunkSize int + OverlapLines int + func NewLargeResponseHandler() *LargeResponseHandler + func (h *LargeResponseHandler) Process(content string) *ChunkedResponse + type LearnedPattern = errs.LearnedPattern + type LearnerStats = session.LearnerStats + type LimitTracker = lifecycle.LimitTracker + type LintLoop = validation.LintLoop + func NewLintLoop() *LintLoop + type LintResult = validation.LintResult + type LogEntry = observability.LogEntry + type LogLevel = observability.LogLevel + type LoopDetector = control.LoopDetector + type MemoryConsolidator = memory.MemoryConsolidator + type MemoryRecaller interface + Recall func(query string, tokenBudget int) (string, error) + Remember func(content, category string) error + type MicroCompactConfig = compact.MicroCompactConfig + func DefaultMicroCompactConfig() MicroCompactConfig + type MicroCompactStrategy struct + func (s *MicroCompactStrategy) Compact(ctx context.Context, sess *Session) (*CompactResult, error) + func (s *MicroCompactStrategy) Name() string + func (s *MicroCompactStrategy) ShouldTrigger(msgs []types.EyrieMessage, tokenCount, threshold int) bool + type MigrationPlan = project.MigrationPlan + type MigrationPlanner = project.MigrationPlanner + type MigrationResult = project.MigrationResult + type MigrationStep = project.MigrationStep + type ModelPrice = cost.ModelPrice + type ModuleInfo = project.ModuleInfo + type MultiRepoConfig struct + Repos []RepoRelation + type MultiRepoContext struct + BaseDir string + Config MultiRepoConfig + func LoadMultiRepoConfig(projectDir string) *MultiRepoContext + func (mrc *MultiRepoContext) HasRelatedRepos() bool + func (mrc *MultiRepoContext) LoadBoundaryContext() string + type Observability struct + Log *logger.Logger + Metrics *metrics.Registry + Tracer *oteltrace.Tracer + type OptimizedResult struct + Applied []string + Optimized string + Original string + TokensSaved int + type Optimizer struct + Cascade *branching.CascadeRouter + Cost Cost + CostTracker *CostTracker + MaxBudget float64 + Router *modelPkg.Router + func (o *Optimizer) WithinBudget() bool + type OutputRedactor = safety.OutputRedactor + type PRCompressor struct + LanguagePriority map[string]int + MaxTokens int + func NewPRCompressor(maxTokens int) *PRCompressor + func (pc *PRCompressor) CompressDiff(fullDiff string, budget int) *CompressedPR + func (pc *PRCompressor) ScoreFile(path string) float64 + type PartySession struct + Personas []Persona + Topic string + Turns []PartyTurn + func NewPartySession(topic string, personaCodes []string) *PartySession + func (ps *PartySession) GeneratePrompt(roundNum int) string + type PartyTurn struct + Content string + Persona Persona + type PatchVerdict = review.PatchVerdict + type Pattern = project.Pattern + type PatternLibrary = scaffold.PatternLibrary + func NewPatternLibrary(dir string) *PatternLibrary + type PendingChange = diff.PendingChange + type PermissionEngine = safety.PermissionEngine + type PermissionMemory = safety.PermissionMemory + type PermissionMode = safety.PermissionMode + type PermissionRequest = safety.PermissionRequest + type Persona struct + Code string + Icon string + Name string + Style string + Title string + type PlanState = planning.PlanState + type PlanStep struct + Action string + Description string + Details string + File string + type PlannedCall = planning.PlannedCall + type PostResponseResult struct + FormattedResponse string + MentionedFiles []string + QualityScore float64 + TokensUsed int + type PostToolResult struct + LintErrors string + RecoveryAction string + ShouldRetry bool + StallWarning string + TestFailures string + type PreQueryResult struct + BudgetAllocation map[string]int + CacheHit bool + CachedResponse string + InjectionRisk *ScanResult + Intent *Intent + PredictedCost float64 + SuggestedTools []string + SystemPrompt string + type Prediction = token.Prediction + type PredictionRecord = token.PredictionRecord + type Preview = diff.DiffPreview + type ProfileSpan = observability.ProfileSpan + type Profiler = observability.Profiler + type ProjectAnalysis = project.ProjectAnalysis + type ProjectAnalyzer = project.ProjectAnalyzer + type ProjectContext = project.ProjectContext + type ProjectSnapshot = project.ProjectSnapshot + type ProjectSnapshotCache = project.ProjectSnapshotCache + type PromptAdjustment struct + Active bool + Confidence float64 + CreatedAt time.Time + LastUsed time.Time + Polarity string + Rule string + Source string + type PromptBuildContext struct + HasGoals bool + HasMemory bool + Language string + Model string + ProjectType string + Task string + TurnCount int + type PromptMsg struct + Content string + Role string + Tokens int + type PromptOpt struct + ApplyFn func(string) string + Enabled bool + Name string + type PromptPattern = scaffold.PromptPattern + type PromptSection struct + Conditional func() bool + Content string + Dynamic func() string + Name string + Priority int + Tokens int + func DefaultSections(ctx PromptBuildContext) []PromptSection + type ProtectedPaths = safety.ProtectedPaths + type QualityGate struct + Check func() GateResult + Phase GatePhase + func ImplementGate(validateCmd string, workDir string) QualityGate + func SpecGate(spec *Spec) QualityGate + type QualityScorer = review.QualityScorer + type QuickDevPhase int + const QuickDevClarify + const QuickDevImplement + const QuickDevPresent + const QuickDevReview + const QuickDevRoute + func (p QuickDevPhase) String() string + type QuickDevState struct + FilesChanged []string + Intent string + IsOneShot bool + Phase QuickDevPhase + Spec string + type RawMemory = memory.RawMemory + type Recipe = scaffold.Recipe + type RecipeRegistry = scaffold.RecipeRegistry + func NewRecipeRegistry(dir string) *RecipeRegistry + type Recommendation = cost.Recommendation + type RecoveryAttempt = errs.RecoveryAttempt + type RecoveryContext = errs.RecoveryContext + type RecoveryResult = errs.RecoveryResult + type RecoveryStrategy = errs.RecoveryStrategy + type RedactPattern = safety.RedactPattern + type RedactStats = safety.RedactStats + type ReflectionEntry struct + Attempt int + TaskGoal string + Timestamp time.Time + WhatFailed string + WhatToDo string + WhyFailed string + type Reflector struct + func NewReflector(llm LLMClient, model string) *Reflector + func (r *Reflector) History() []ReflectionEntry + func (r *Reflector) InjectReflections() string + func (r *Reflector) Reflect(ctx context.Context, goal string, msgs []types.EyrieMessage, ...) (*ReflectionEntry, error) + func (r *Reflector) Reset() + type Release = project.Release + type ReleaseManager = project.ReleaseManager + type ReleaseStats = project.ReleaseStats + type RepoRelation struct + Path string + Relation string + type Report = review.ReviewReport + type RequestCost = cost.RequestCost + type ResearchAgent = search.ResearchAgent + type ResearchFinding = search.ResearchFinding + type ResearchQuery = search.ResearchQuery + type ResearchResult = search.ResearchResult + type ResponseCache = streaming.ResponseCache + type ResponseContext = review.ResponseContext + type ResponseFormatter = streaming.ResponseFormatter + type Result = workflow.WorkflowResult + type ReviewBot = review.ReviewBot + type ReviewComment = review.ReviewComment + type ReviewFinding struct + Category string + File string + Fix string + Issue string + Line int + Severity string + type ReviewReport = review.ReviewReport + type ReviewResult = review.ReviewResult + type ReviewRule = review.ReviewRule + type RiskAssessment = safety.RiskAssessment + type RiskAssessor = safety.RiskAssessor + type RiskContext = safety.RiskContext + type RiskFactor = safety.RiskFactor + type RiskFactorDef = safety.RiskFactorDef + type RotatingWriter = observability.RotatingWriter + type Rule = review.ReviewRule + type SafetyLayer struct + Autonomy AutonomyLevel + Limits *LimitTracker + Perm *PermissionEngine + Protected *ProtectedPaths + Sandbox *DiffSandbox + func (sl *SafetyLayer) IsPermitted(action string) bool + type SafetyLimits = lifecycle.SafetyLimits + type Sample = review.Sample + type Scaffolder = scaffold.Scaffolder + func NewScaffolder() *Scaffolder + type ScaleBehavior struct + AutoApprove bool + MaxTurns int + PlanRequired bool + Scale TaskScale + ScanScope string + func GetBehavior(scale TaskScale) ScaleBehavior + type ScanResult struct + IsRisky bool + Patterns []string + RiskLevel string + Suggestion string + type Schema = validation.Schema + type SchemaValidationError = validation.SchemaValidationError + type SchemaValidationResult = validation.SchemaValidationResult + type SchemaValidator = validation.SchemaValidator + func NewSchemaValidator() *SchemaValidator + type ScoreWeights = review.ScoreWeights + type ScoredResponse = review.ScoredResponse + type ScrapeResult = search.ScrapeResult + type SelectedTests = diff.SelectedTests + type SelfAssessor = review.SelfAssessor + type SelfAwareness struct + MaxComplexity TaskScale + Specialties []string + func (sa *SelfAwareness) DelegationPrompt(prompt string, reason string) string + func (sa *SelfAwareness) ShouldDelegate(prompt string, currentScale TaskScale) bool + type SelfHealer struct + ChatFn func(ctx context.Context, prompt string) (string, error) + History []HealAttempt + MaxAttempts int + Timeout time.Duration + func NewSelfHealer(chatFn func(context.Context, string) (string, error)) *SelfHealer + func (sh *SelfHealer) ApplyFixes(fixes []FileFix) error + func (sh *SelfHealer) BuildFixPrompt(script, output, errorMsg string, attempt int) string + func (sh *SelfHealer) Heal(ctx context.Context, scriptPath string) (*HealResult, error) + func (sh *SelfHealer) HealCommand(ctx context.Context, command string) (*HealResult, error) + func (sh *SelfHealer) ParseFix(response string) ([]FileFix, error) + func (sh *SelfHealer) RunScript(ctx context.Context, path string) (stdout, stderr string, exitCode int, err error) + type SelfImproveEntry struct + Category string + Lesson string + Timestamp time.Time + What string + Why string + type SelfImprover struct + Entries []SelfImproveEntry + Path string + func NewSelfImprover() *SelfImprover + func (si *SelfImprover) ForPrompt(maxEntries int) string + func (si *SelfImprover) Learn(what, why, lesson, category string) + func (si *SelfImprover) Lessons(category string) []SelfImproveEntry + type SelfReviewResult struct + Approved bool + Confidence float64 + Issues []string + Suggestions []string + func ReviewBeforeWrite(ctx context.Context, llm LLMClient, model string, intent string, ...) (*SelfReviewResult, error) + type SemanticAnalyzer struct + func NewSemanticAnalyzer() *SemanticAnalyzer + func (sa *SemanticAnalyzer) AnalyzeDiff(diff string) (*SemanticDiff, error) + func (sa *SemanticAnalyzer) FindAffectedAPIs(changes []SemanticChange, content string) []string + type SemanticChange struct + Breaking bool + Description string + File string + Name string + Risk string + Type string + func DetectBehaviorChanges(oldContent, newContent string) []SemanticChange + func DetectBreakingChanges(oldContent, newContent string) []SemanticChange + type SemanticDiff struct + AffectedAPIs []string + Changes []SemanticChange + RiskLevel string + Summary string + type ServiceOption func(*SessionServices) + func WithCascade(cascade *branching.CascadeRouter) ServiceOption + func WithGuardian(guardian *permissions.Guardian) ServiceOption + func WithLogger(log *logger.Logger) ServiceOption + func WithMaxBudget(budget float64) ServiceOption + func WithMemory(mem MemoryRecaller) ServiceOption + func WithProvider(provider, model string) ServiceOption + func WithSandbox(sandbox *DiffSandbox) ServiceOption + func WithTools(registry *tool.Registry) ServiceOption + func WithTracing(tracer *oteltrace.Tracer) ServiceOption + type Session struct + Activity *memory.ActivityTracker + AgentSpawnFn func(ctx context.Context, prompt string) (string, error) + AllowedDirs []string + AskUserFn func(question string) (string, error) + AutoCompactThresholdPct int + AutoMode *permissions.AutoModeState + Autonomy AutonomyLevel + Backtrack *BacktrackEngine + Beliefs *BeliefState + BypassKill *permissions.BypassKillswitch + Cascade *branching.CascadeRouter + Classifier *permissions.Classifier + ContainerExecutor tool.ContainerExecutor + ConvoDAG *storage.DAG + Cost Cost + CostTracker *CostTracker + Critic *Critic + DeploymentRouting bool + EnhancedMemory *memory.EnhancedMemoryManager + FileMentions *FileMentionDetector + Files *FileTracker + Lifecycle *SessionLifecycle + Limits *LimitTracker + LintLoop *LintLoop + MaxBudgetUSD float64 + MaxTurns int + Memory MemoryRecaller + Mode PermissionMode + Perm *PermissionEngine + PermissionFn func(PermissionRequest) + Permissions *PermissionMemory + PinnedMessages int + Pipeline *IntegrationPipeline + Plan *PlanState + Reflector *Reflector + ResponseCache *ResponseCache + Router *modelPkg.Router + Sandbox *DiffSandbox + SettingsGet func(key string) (string, bool) + SettingsSet func(key, value string) error + Shadow *branching.ShadowWorkspace + SkillDistiller *memory.SkillDistiller + Sleeptime *memory.SleeptimeAgent + Snapshots SnapshotTracker + Steering *SteeringQueue + Teach TeachConfig + TestLoop *TestLoop + Tracer *oteltrace.Tracer + Trajectory *TrajectoryDistiller + YaadBridge *memory.YaadBridge + func NewHawkSession(ctx context.Context, useDeploymentRouting bool, ...) *Session + func NewSession(provider, model, systemPrompt string, registry *tool.Registry) *Session + func NewSessionWithClient(chat ChatClient, provider, model, systemPrompt string, registry *tool.Registry, ...) *Session + func (s *Session) AddAssistant(content string) + func (s *Session) AddUser(content string) + func (s *Session) AppendSystemContext(content string) + func (s *Session) AutoCompactIfNeeded() bool + func (s *Session) Compact() + func (s *Session) ConvoHead() string + func (s *Session) ForkConversation(nodeID string) (string, error) + func (s *Session) ListBranches(nodeID string) ([]*storage.DAGNode, error) + func (s *Session) LoadMessages(msgs []types.EyrieMessage) + func (s *Session) MessageCount() int + func (s *Session) Metrics() *metrics.Registry + func (s *Session) Model() string + func (s *Session) Provider() string + func (s *Session) RawMessages() []types.EyrieMessage + func (s *Session) ReattachTransport(chat ChatClient, provider string, deploymentRouting bool) + func (s *Session) RemoveLastExchange() + func (s *Session) ReplaceSystemContextSection(header, content string) + func (s *Session) Services() *SessionServices + func (s *Session) SetAPIKey(provider, apiKey string) + func (s *Session) SetAPIKeys(apiKeys map[string]string) + func (s *Session) SetAllowedDirs(dirs []string) + func (s *Session) SetLogger(l *logger.Logger) + func (s *Session) SetMaxBudgetUSD(amount float64) error + func (s *Session) SetMaxTurns(turns int) error + func (s *Session) SetModel(model string) + func (s *Session) SetPermissionMode(mode string) error + func (s *Session) SetProvider(provider string) + func (s *Session) SetTestClient(c ChatClient) + func (s *Session) ShouldAutoCompact() bool + func (s *Session) SmartCompact() + func (s *Session) SplitTurnNeeded(keepCount int) bool + func (s *Session) Stream(ctx context.Context) (<-chan StreamEvent, error) + func (s *Session) SubSession(model, systemPrompt string, registry *tool.Registry) *Session + func (s *Session) SwitchBranch(nodeID string) error + func (s *Session) WireAgentTool() + type SessionCompressor = session.SessionCompressor + func NewSessionCompressor(strategy CompressStrategy) *SessionCompressor + type SessionConvention = session.SessionConvention + type SessionLifecycle = lifecycle.SessionLifecycle + type SessionMemoryConfig = compact.SessionMemoryConfig + func DefaultSessionMemoryConfig() SessionMemoryConfig + type SessionMemoryStrategy struct + func (s *SessionMemoryStrategy) Compact(ctx context.Context, sess *Session) (*CompactResult, error) + func (s *SessionMemoryStrategy) Name() string + func (s *SessionMemoryStrategy) ShouldTrigger(msgs []types.EyrieMessage, tokenCount, threshold int) bool + type SessionOutcome = lifecycle.SessionOutcome + type SessionReflection struct + Confidence int + Lesson string + ToImprove string + WentBadly string + WentWell string + type SessionServices struct + Backtrack *BacktrackEngine + ConvoDAG *storage.DAG + Core *CoreLoop + Critic *Critic + Intel *Intelligence + Lifecycle *SessionLifecycle + LintLoop *LintLoop + Observe *Observability + Optim *Optimizer + Plan *PlanState + Reflector *Reflector + Safety *SafetyLayer + Shadow *branching.ShadowWorkspace + Snapshots SnapshotTracker + Teach TeachConfig + Trajectory *TrajectoryDistiller + func NewSessionServices(opts ...ServiceOption) *SessionServices + type SessionSummary struct + Assessment *Assessment + Duration time.Duration + Experience *Experience + FilesModified []string + Summary string + TokensTotal int + type SignatureChange struct + Name string + NewReceiver string + NewReturn string + OldReceiver string + OldReturn string + ParamsAdded []string + ParamsRemoved []string + ParamsReordered bool + ReceiverChanged bool + ReturnChanged bool + func CompareSignatures(oldSig, newSig string) *SignatureChange + type SimilarIssue = search.SimilarIssue + type SingleFileWatcher = io.SingleFileWatcher + type Skill = scaffold.Skill + type SkillDistillerAdapter = lifecycle.SkillDistillerAdapter + type SkillRegistry = scaffold.SkillRegistry + func NewSkillRegistry(dir string) *SkillRegistry + type SkillResult = scaffold.SkillResult + type SkillStep = scaffold.SkillStep + type SkillStoreInterface = lifecycle.SkillStoreInterface + type SmartCompactStrategy struct + func (s *SmartCompactStrategy) Compact(ctx context.Context, sess *Session) (*CompactResult, error) + func (s *SmartCompactStrategy) Name() string + func (s *SmartCompactStrategy) ShouldTrigger(msgs []types.EyrieMessage, tokenCount, threshold int) bool + type SnapshotCache struct + func NewSnapshotCache(ttl time.Duration) *SnapshotCache + func (sc *SnapshotCache) Get(key string) (string, bool) + func (sc *SnapshotCache) GetOrCompute(key string, fn func() (string, error)) (string, error) + func (sc *SnapshotCache) Set(key, value string) + type SnapshotTracker interface + Track func(message string) (string, error) + type Solution = review.Solution + type SolutionReviewer = review.SolutionReviewer + type SourceRoot struct + ExploredAt time.Time + FileCount int + Path string + type SourceRoots struct + func NewSourceRoots() *SourceRoots + func (sr *SourceRoots) Invalidate(path string) + func (sr *SourceRoots) IsExplored(path string) bool + func (sr *SourceRoots) List() []*SourceRoot + func (sr *SourceRoots) Mark(path string, fileCount int) + func (sr *SourceRoots) Stale(maxAge time.Duration) []*SourceRoot + type SpawnDecision struct + ShouldParallelize bool + Strategy SpawnStrategy + SubTasks []SubTask + type SpawnStrategy int + const StrategyParallel + const StrategyPipeline + const StrategySequential + const StrategySingle + type Spec struct + Approved bool + Assumptions []string + CreatedAt time.Time + Criteria []string + Files []string + Goal string + OutOfScope []string + Title string + func (s *Spec) Format() string + type StagedChange = diff.StagedChange + type StagedHunk = diff.StagedHunk + type StagingArea = diff.StagingArea + type StallDetector = control.StallDetector + type StallEntry = control.StallEntry + type StallResult = control.StallResult + type SteeringMessage = streaming.SteeringMessage + type SteeringQueue = streaming.SteeringQueue + type Step = workflow.WorkflowStep + type StepResult = workflow.StepResult + type StrategyRegistry struct + func NewStrategyRegistry(config CompactConfig) *StrategyRegistry + func (r *StrategyRegistry) SelectStrategy(msgs []types.EyrieMessage, tokenCount int) CompactStrategy + type StreamEvent struct + Content string + ToolID string + ToolName string + Type string + Usage *StreamUsage + type StreamOptimizer = streaming.StreamOptimizer + type StreamStats = streaming.StreamStats + type StreamUsage struct + CacheReadTokens int + CacheWriteTokens int + CompletionTokens int + PromptTokens int + type StructuredLogger = observability.StructuredLogger + type SubAgentBudget = agent.SubAgentBudget + func NewSubAgentBudget(mode SubAgentMode, cfg SubAgentConfig) *SubAgentBudget + type SubAgentConfig = agent.SubAgentConfig + func DefaultSubAgentConfig() SubAgentConfig + type SubAgentMode = agent.SubAgentMode + type SubTask struct + DependsOn []string + ID string + Mode SubAgentMode + Priority int + Prompt string + type Subtask = planning.Subtask + type SuggestedTask = planning.SuggestedTask + type SuggestionEngine = intelligence.SuggestionEngine + type SuggestionRule = intelligence.SuggestionRule + type SumMessage = history.SumMessage + type Summarizer = diff.DiffSummarizer + type Summary = history.Summary + type SummaryLevel = history.SummaryLevel + type SystemPromptBuilder struct + BasePrompt string + MaxTokens int + Sections []PromptSection + func NewSystemPromptBuilder(basePrompt string, maxTokens int) *SystemPromptBuilder + func (b *SystemPromptBuilder) AdaptForModel(model string) *SystemPromptBuilder + func (b *SystemPromptBuilder) AdaptForTask(task string) *SystemPromptBuilder + func (b *SystemPromptBuilder) AddSection(section PromptSection) + func (b *SystemPromptBuilder) Build(ctx PromptBuildContext) string + func (b *SystemPromptBuilder) RemoveSection(name string) + type Task = planning.Task + type TaskContext = review.TaskContext + type TaskDecomposer = planning.TaskDecomposer + type TaskPlan = planning.TaskPlan + type TaskQueue = planning.TaskQueue + type TaskScale int + const ScaleEpic + const ScaleMajor + const ScaleMinor + const ScalePatch + func ClassifyScale(prompt string) TaskScale + func (s TaskScale) String() string + type TeachConfig struct + Depth int + Enabled bool + type Template = scaffold.Template + type TemplateFile = scaffold.TemplateFile + type TemplateVariable = scaffold.TemplateVariable + type TestLoop = validation.TestLoop + func NewTestLoop() *TestLoop + type TestResult = validation.TestResult + type TestSelector = diff.TestSelector + type ThinkingPhase = streaming.ThinkingPhase + type ThinkingProtocol = streaming.ThinkingProtocol + type ThinkingStep = streaming.ThinkingStep + type Timeline = session.Timeline + func NewTimeline(sessionID string) *Timeline + type TimelineEvent = session.TimelineEvent + type TimeoutConfig = lifecycle.TimeoutConfig + type Timer = observability.Timer + type TokenEntry = token.TokenEntry + type TokenPredictor = token.TokenPredictor + func NewTokenPredictor() *TokenPredictor + type TokenReporter = token.TokenReporter + func NewTokenReporter(sessionBudget int) *TokenReporter + type ToolCallInfo = safety.ToolCallInfo + type ToolConfirmationRouter struct + Override map[string]ToolRisk + func NewToolConfirmationRouter() *ToolConfirmationRouter + func (r *ToolConfirmationRouter) Classify(toolName string, args map[string]interface{}) ToolRisk + func (r *ToolConfirmationRouter) NeedsConfirmation(toolName string, args map[string]interface{}) bool + type ToolInfo = intelligence.ToolInfo + type ToolInspector struct + Router *ToolConfirmationRouter + func NewToolInspector() *ToolInspector + func (ti *ToolInspector) Inspect(toolName string, args map[string]interface{}) InspectionResult + type ToolRisk int + const RiskHigh + const RiskLow + const RiskMedium + const RiskNone + type ToolSelection = intelligence.ToolSelection + type ToolSelector = intelligence.ToolSelector + type TrajectoryDistiller struct + func NewTrajectoryDistiller(session *Session, maxRuns int) *TrajectoryDistiller + func (td *TrajectoryDistiller) BestRun(runs []TrajectoryRun) *TrajectoryRun + func (td *TrajectoryDistiller) RunWithDistillation(ctx context.Context, prompt string) (string, error) + type TrajectoryEvent = workflow.TrajectoryEvent + type TrajectoryInspector = workflow.TrajectoryInspector + type TrajectoryRun struct + ID int + Messages []types.EyrieMessage + Success bool + Summary string + Tokens int + type TransferLearning struct + func NewTransferLearning() *TransferLearning + func (tl *TransferLearning) Apply(language, taskDescription string) []TransferPattern + func (tl *TransferLearning) FormatForPrompt(language, task string) string + func (tl *TransferLearning) Learn(language, category, pattern, approach string) + type TransferPattern struct + Approach string + Category string + Confidence float64 + CreatedAt time.Time + Language string + Pattern string + SuccessRate float64 + UsedCount int + type TruncateStrategy struct + func (s *TruncateStrategy) Compact(ctx context.Context, sess *Session) (*CompactResult, error) + func (s *TruncateStrategy) Name() string + func (s *TruncateStrategy) ShouldTrigger(_ []types.EyrieMessage, tokenCount, threshold int) bool + type URLScraper = search.URLScraper + type UndoEntry struct + Description string + Files []FileSnapshot + ID string + Timestamp time.Time + ToolArgs map[string]interface{} + ToolName string + type UndoManager struct + MaxEntries int + Stack []UndoEntry + func NewUndoManager() *UndoManager + func (um *UndoManager) BeforeModify(path string) error + func (um *UndoManager) Clear() + func (um *UndoManager) DiffEntry(entry *UndoEntry) string + func (um *UndoManager) FormatHistory(entries []UndoEntry) string + func (um *UndoManager) History(limit int) []UndoEntry + func (um *UndoManager) Peek() *UndoEntry + func (um *UndoManager) RecordChange(description, toolName string, toolArgs map[string]interface{}, paths []string) string + func (um *UndoManager) Size() int + func (um *UndoManager) Undo() (*UndoEntry, error) + func (um *UndoManager) UndoN(n int) ([]*UndoEntry, error) + func (um *UndoManager) UndoTo(entryID string) ([]*UndoEntry, error) + type UpdatePlan = project.UpdatePlan + type ValidationError struct + Column int + File string + Line int + Message string + type ValidationResult struct + Errors []ValidationError + Valid bool + func ValidateFile(path string) *ValidationResult + type Violation = project.Violation + type WatcherConfig = io.WatcherConfig + type WindowMessage = history.WindowMessage + type WindowResult = history.WindowResult + type Workflow = workflow.Workflow + type WorkflowEngine = workflow.WorkflowEngine + type WorkflowResult = workflow.WorkflowResult + type WorkflowStep = workflow.WorkflowStep + type WorkspaceDiffReport = workflow.WorkspaceDiffReport + type WorkspaceState = workflow.WorkspaceState