@aiready/core 0.23.1 → 0.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.mts CHANGED
@@ -780,6 +780,10 @@ interface NamingConvention {
780
780
  classPattern: RegExp;
781
781
  /** Allowed constant naming patterns */
782
782
  constantPattern: RegExp;
783
+ /** Allowed type naming patterns */
784
+ typePattern?: RegExp;
785
+ /** Allowed interface naming patterns */
786
+ interfacePattern?: RegExp;
783
787
  /** Language-specific exceptions (e.g., __init__ in Python) */
784
788
  exceptions?: string[];
785
789
  }
package/dist/client.d.ts CHANGED
@@ -780,6 +780,10 @@ interface NamingConvention {
780
780
  classPattern: RegExp;
781
781
  /** Allowed constant naming patterns */
782
782
  constantPattern: RegExp;
783
+ /** Allowed type naming patterns */
784
+ typePattern?: RegExp;
785
+ /** Allowed interface naming patterns */
786
+ interfacePattern?: RegExp;
783
787
  /** Language-specific exceptions (e.g., __init__ in Python) */
784
788
  exceptions?: string[];
785
789
  }
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { ToolName, ScanOptions, SpokeOutput, ToolScoringOutput, AIReadyConfig, ModelContextTier, CostConfig, TokenBudget, ProductivityImpact, AcceptancePrediction, ComprehensionDifficulty, TechnicalValueChainSummary, TechnicalValueChain, LanguageParser, Language, ExportInfo, ParseResult, NamingConvention } from './client.mjs';
2
- export { AiSignalClarityConfig, AnalysisResult, AnalysisResultSchema, AnalysisStatus, AnalysisStatusSchema, BaseToolConfig, BusinessReport, COMMON_FINE_TUNING_OPTIONS, CONTEXT_TIER_THRESHOLDS, CommonASTNode, ContextAnalyzerConfig, DEFAULT_TOOL_WEIGHTS, FRIENDLY_TOOL_NAMES, GLOBAL_INFRA_OPTIONS, GLOBAL_SCAN_OPTIONS, GraphData, GraphEdge, GraphIssueSeverity, GraphMetadata, GraphNode, ImportInfo, Issue, IssueSchema, IssueType, IssueTypeSchema, LANGUAGE_EXTENSIONS, LanguageConfig, Location, LocationSchema, Metrics, MetricsSchema, ModelTier, ModelTierSchema, NamingConsistencyConfig, ParseError, ParseStatistics, PatternDetectConfig, ReadinessRating, RecommendationPriority, Report, SCORING_PROFILES, SIZE_ADJUSTED_THRESHOLDS, ScoringConfig, ScoringProfile, ScoringResult, Severity, SeveritySchema, SourceLocation, SourceRange, SpokeOutputSchema, SpokeSummary, SpokeSummarySchema, TOOL_NAME_MAP, ToolNameSchema, UnifiedReport, UnifiedReportSchema, calculateOverallScore, formatScore, formatToolScore, generateHTML, getProjectSizeTier, getRating, getRatingDisplay, getRatingWithContext, getRecommendedThreshold, getToolWeight, normalizeToolName, parseWeightString } from './client.mjs';
1
+ import { ToolName, ScanOptions, SpokeOutput, ToolScoringOutput, AnalysisResult, AIReadyConfig, ModelContextTier, CostConfig, TokenBudget, ProductivityImpact, AcceptancePrediction, ComprehensionDifficulty, TechnicalValueChainSummary, TechnicalValueChain, LanguageParser, Language, ExportInfo, ParseResult, NamingConvention } from './client.mjs';
2
+ export { AiSignalClarityConfig, AnalysisResultSchema, AnalysisStatus, AnalysisStatusSchema, BaseToolConfig, BusinessReport, COMMON_FINE_TUNING_OPTIONS, CONTEXT_TIER_THRESHOLDS, CommonASTNode, ContextAnalyzerConfig, DEFAULT_TOOL_WEIGHTS, FRIENDLY_TOOL_NAMES, GLOBAL_INFRA_OPTIONS, GLOBAL_SCAN_OPTIONS, GraphData, GraphEdge, GraphIssueSeverity, GraphMetadata, GraphNode, ImportInfo, Issue, IssueSchema, IssueType, IssueTypeSchema, LANGUAGE_EXTENSIONS, LanguageConfig, Location, LocationSchema, Metrics, MetricsSchema, ModelTier, ModelTierSchema, NamingConsistencyConfig, ParseError, ParseStatistics, PatternDetectConfig, ReadinessRating, RecommendationPriority, Report, SCORING_PROFILES, SIZE_ADJUSTED_THRESHOLDS, ScoringConfig, ScoringProfile, ScoringResult, Severity, SeveritySchema, SourceLocation, SourceRange, SpokeOutputSchema, SpokeSummary, SpokeSummarySchema, TOOL_NAME_MAP, ToolNameSchema, UnifiedReport, UnifiedReportSchema, calculateOverallScore, formatScore, formatToolScore, generateHTML, getProjectSizeTier, getRating, getRatingDisplay, getRatingWithContext, getRecommendedThreshold, getToolWeight, normalizeToolName, parseWeightString } from './client.mjs';
3
3
  import { z } from 'zod';
4
4
  import * as Parser from 'web-tree-sitter';
5
5
  import { TSESTree } from '@typescript-eslint/typescript-estree';
@@ -201,6 +201,53 @@ declare function emitProgress(processed: number, total: number, toolId: string,
201
201
  * @param chalk chalk instance
202
202
  */
203
203
  declare function getSeverityColor(severity: string, chalk: any): any;
204
+ /**
205
+ * Find the latest aiready report in a directory by modification time
206
+ * Searches for both new format (aiready-report-*) and legacy format (aiready-scan-*)
207
+ * @param dirPath - The directory path to search for .aiready directory
208
+ * @returns The path to the latest report or null if not found
209
+ */
210
+ declare function findLatestReport(dirPath: string): string | null;
211
+ /**
212
+ * Find the latest scan report file in a directory
213
+ */
214
+ declare function findLatestScanReport(scanReportsDir: string, reportFilePrefix: string): string | null;
215
+
216
+ /**
217
+ * Groups a flat array of issues by their `location.file` path into the
218
+ * `AnalysisResult[]` shape expected by `SpokeOutputSchema`.
219
+ *
220
+ * Shared across multiple spoke providers that follow the simple analyze → group
221
+ * → schema-parse pattern (doc-drift, deps, etc.).
222
+ */
223
+ declare function groupIssuesByFile(issues: any[]): AnalysisResult[];
224
+ /**
225
+ * Builds a simple `ToolScoringOutput` from a spoke summary object.
226
+ * Shared across providers whose scoring logic is purely pass-through
227
+ * (score and recommendations are already computed in the analyzer).
228
+ */
229
+ declare function buildSimpleProviderScore(toolName: string, summary: any, rawData?: any): ToolScoringOutput;
230
+ /**
231
+ * Builds and validates a `SpokeOutput` with common provider metadata.
232
+ * This removes repeated schema/metadata boilerplate from spoke providers.
233
+ */
234
+ declare function buildSpokeOutput(toolName: string, version: string, summary: any, results: AnalysisResult[], metadata?: Record<string, unknown>): SpokeOutput;
235
+ interface ProviderFactoryConfig<TReport> {
236
+ id: ToolName;
237
+ alias: string[];
238
+ version: string;
239
+ defaultWeight: number;
240
+ analyzeReport: (options: ScanOptions) => Promise<TReport>;
241
+ getResults: (report: TReport) => AnalysisResult[];
242
+ getSummary: (report: TReport) => any;
243
+ getMetadata?: (report: TReport) => Record<string, unknown>;
244
+ score: (output: SpokeOutput, options: ScanOptions) => ToolScoringOutput;
245
+ }
246
+ /**
247
+ * Creates a tool provider from shared analyze/score plumbing.
248
+ * Spokes only provide report adapters and scoring behavior.
249
+ */
250
+ declare function createProvider<TReport>(config: ProviderFactoryConfig<TReport>): ToolProvider;
204
251
 
205
252
  interface ExportWithImports {
206
253
  name: string;
@@ -877,6 +924,17 @@ declare function calculateDependencyHealth(params: {
877
924
  trainingCutoffSkew: number;
878
925
  }): DependencyHealthScore;
879
926
 
927
+ interface FutureProofRecommendationParams {
928
+ cognitiveLoad: CognitiveLoad;
929
+ patternEntropy: PatternEntropy;
930
+ conceptCohesion: ConceptCohesion;
931
+ aiSignalClarity: AiSignalClarity;
932
+ agentGrounding: AgentGroundingScore;
933
+ testability: TestabilityIndex;
934
+ docDrift?: DocDriftRisk;
935
+ dependencyHealth?: DependencyHealthScore;
936
+ }
937
+
880
938
  /**
881
939
  * Change Amplification Metrics
882
940
  * Measures how a change in one file ripples through the system.
@@ -921,15 +979,7 @@ declare function calculateFutureProofScore(params: {
921
979
  /**
922
980
  * Complete Extended Future-Proof Score
923
981
  */
924
- declare function calculateExtendedFutureProofScore(params: {
925
- cognitiveLoad: CognitiveLoad;
926
- patternEntropy: PatternEntropy;
927
- conceptCohesion: ConceptCohesion;
928
- aiSignalClarity: AiSignalClarity;
929
- agentGrounding: AgentGroundingScore;
930
- testability: TestabilityIndex;
931
- docDrift?: DocDriftRisk;
932
- dependencyHealth?: DependencyHealthScore;
982
+ declare function calculateExtendedFutureProofScore(params: FutureProofRecommendationParams & {
933
983
  semanticDistances?: SemanticDistance[];
934
984
  }): ToolScoringOutput;
935
985
 
@@ -1012,4 +1062,4 @@ declare function severityToAnnotationLevel(severity: string): 'error' | 'warning
1012
1062
  */
1013
1063
  declare function emitIssuesAsAnnotations(issues: any[]): void;
1014
1064
 
1015
- export { AIReadyConfig, type ASTNode, AcceptancePrediction, type AgentGroundingScore, type AiSignalClarity, type AiSignalClaritySignal, type CLIOptions, CSharpParser, type ChangeAmplificationScore, type CognitiveLoad, ComprehensionDifficulty, type ConceptCohesion, CostConfig, DEFAULT_COST_CONFIG, DEFAULT_EXCLUDE, type DependencyHealthScore, type DocDriftRisk, ExportInfo, type ExportWithImports, type FileImport, type FileWithDomain, GoParser, JavaParser, type KnowledgeConcentrationRisk, Language, LanguageParser, type LoadFactor, MODEL_PRICING_PRESETS, ModelContextTier, type ModelPricingPreset, NamingConvention, ParseResult, ParserFactory, type PatternEntropy, ProductivityImpact, PythonParser, SEVERITY_TIME_ESTIMATES, ScanOptions, type ScoreHistoryEntry, type ScoreTrend, type SemanticDistance, SpokeOutput, type TechnicalDebtInterest, TechnicalValueChain, TechnicalValueChainSummary, type TestabilityIndex, TokenBudget, ToolName, type ToolProvider, ToolRegistry, ToolScoringOutput, TypeScriptParser, VAGUE_FILE_NAMES, calculateAgentGrounding, calculateAiSignalClarity, calculateBusinessROI, calculateChangeAmplification, calculateCognitiveLoad, calculateComprehensionDifficulty, calculateConceptCohesion, calculateDebtInterest, calculateDependencyHealth, calculateDocDrift, calculateExtendedFutureProofScore, calculateFutureProofScore, calculateImportSimilarity, calculateKnowledgeConcentration, calculateMonthlyCost, calculatePatternEntropy, calculateProductivityImpact, calculateSemanticDistance, calculateTechnicalValueChain, calculateTestabilityIndex, calculateTokenBudget, clearHistory, emitAnnotation, emitIssuesAsAnnotations, emitProgress, estimateCostFromBudget, estimateTokens, exportHistory, extractFunctions, extractImports, formatAcceptanceRate, formatCost, formatHours, generateValueChain, getElapsedTime, getFileCommitTimestamps, getFileExtension, getHistorySummary, getLineRangeLastModifiedCached, getModelPreset, getParser, getRepoMetadata, getSafetyIcon, getScoreBar, getSeverityColor, getSupportedLanguages, getWasmPath, handleCLIError, handleJSONOutput, initTreeSitter, initializeParsers, isFileSupported, isSourceFile, loadConfig, loadMergedConfig, loadScoreHistory, mergeConfigWithDefaults, parseCode, parseFileExports, predictAcceptanceRate, readFileContent, resolveOutputPath, saveScoreEntry, scanEntries, scanFiles, setupParser, severityToAnnotationLevel, validateSpokeOutput, validateWithSchema };
1065
+ export { AIReadyConfig, type ASTNode, AcceptancePrediction, type AgentGroundingScore, type AiSignalClarity, type AiSignalClaritySignal, AnalysisResult, type CLIOptions, CSharpParser, type ChangeAmplificationScore, type CognitiveLoad, ComprehensionDifficulty, type ConceptCohesion, CostConfig, DEFAULT_COST_CONFIG, DEFAULT_EXCLUDE, type DependencyHealthScore, type DocDriftRisk, ExportInfo, type ExportWithImports, type FileImport, type FileWithDomain, GoParser, JavaParser, type KnowledgeConcentrationRisk, Language, LanguageParser, type LoadFactor, MODEL_PRICING_PRESETS, ModelContextTier, type ModelPricingPreset, NamingConvention, ParseResult, ParserFactory, type PatternEntropy, ProductivityImpact, type ProviderFactoryConfig, PythonParser, SEVERITY_TIME_ESTIMATES, ScanOptions, type ScoreHistoryEntry, type ScoreTrend, type SemanticDistance, SpokeOutput, type TechnicalDebtInterest, TechnicalValueChain, TechnicalValueChainSummary, type TestabilityIndex, TokenBudget, ToolName, type ToolProvider, ToolRegistry, ToolScoringOutput, TypeScriptParser, VAGUE_FILE_NAMES, buildSimpleProviderScore, buildSpokeOutput, calculateAgentGrounding, calculateAiSignalClarity, calculateBusinessROI, calculateChangeAmplification, calculateCognitiveLoad, calculateComprehensionDifficulty, calculateConceptCohesion, calculateDebtInterest, calculateDependencyHealth, calculateDocDrift, calculateExtendedFutureProofScore, calculateFutureProofScore, calculateImportSimilarity, calculateKnowledgeConcentration, calculateMonthlyCost, calculatePatternEntropy, calculateProductivityImpact, calculateSemanticDistance, calculateTechnicalValueChain, calculateTestabilityIndex, calculateTokenBudget, clearHistory, createProvider, emitAnnotation, emitIssuesAsAnnotations, emitProgress, estimateCostFromBudget, estimateTokens, exportHistory, extractFunctions, extractImports, findLatestReport, findLatestScanReport, formatAcceptanceRate, formatCost, formatHours, generateValueChain, getElapsedTime, getFileCommitTimestamps, getFileExtension, getHistorySummary, getLineRangeLastModifiedCached, getModelPreset, getParser, getRepoMetadata, getSafetyIcon, getScoreBar, getSeverityColor, getSupportedLanguages, getWasmPath, groupIssuesByFile, handleCLIError, handleJSONOutput, initTreeSitter, initializeParsers, isFileSupported, isSourceFile, loadConfig, loadMergedConfig, loadScoreHistory, mergeConfigWithDefaults, parseCode, parseFileExports, predictAcceptanceRate, readFileContent, resolveOutputPath, saveScoreEntry, scanEntries, scanFiles, setupParser, severityToAnnotationLevel, validateSpokeOutput, validateWithSchema };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ToolName, ScanOptions, SpokeOutput, ToolScoringOutput, AIReadyConfig, ModelContextTier, CostConfig, TokenBudget, ProductivityImpact, AcceptancePrediction, ComprehensionDifficulty, TechnicalValueChainSummary, TechnicalValueChain, LanguageParser, Language, ExportInfo, ParseResult, NamingConvention } from './client.js';
2
- export { AiSignalClarityConfig, AnalysisResult, AnalysisResultSchema, AnalysisStatus, AnalysisStatusSchema, BaseToolConfig, BusinessReport, COMMON_FINE_TUNING_OPTIONS, CONTEXT_TIER_THRESHOLDS, CommonASTNode, ContextAnalyzerConfig, DEFAULT_TOOL_WEIGHTS, FRIENDLY_TOOL_NAMES, GLOBAL_INFRA_OPTIONS, GLOBAL_SCAN_OPTIONS, GraphData, GraphEdge, GraphIssueSeverity, GraphMetadata, GraphNode, ImportInfo, Issue, IssueSchema, IssueType, IssueTypeSchema, LANGUAGE_EXTENSIONS, LanguageConfig, Location, LocationSchema, Metrics, MetricsSchema, ModelTier, ModelTierSchema, NamingConsistencyConfig, ParseError, ParseStatistics, PatternDetectConfig, ReadinessRating, RecommendationPriority, Report, SCORING_PROFILES, SIZE_ADJUSTED_THRESHOLDS, ScoringConfig, ScoringProfile, ScoringResult, Severity, SeveritySchema, SourceLocation, SourceRange, SpokeOutputSchema, SpokeSummary, SpokeSummarySchema, TOOL_NAME_MAP, ToolNameSchema, UnifiedReport, UnifiedReportSchema, calculateOverallScore, formatScore, formatToolScore, generateHTML, getProjectSizeTier, getRating, getRatingDisplay, getRatingWithContext, getRecommendedThreshold, getToolWeight, normalizeToolName, parseWeightString } from './client.js';
1
+ import { ToolName, ScanOptions, SpokeOutput, ToolScoringOutput, AnalysisResult, AIReadyConfig, ModelContextTier, CostConfig, TokenBudget, ProductivityImpact, AcceptancePrediction, ComprehensionDifficulty, TechnicalValueChainSummary, TechnicalValueChain, LanguageParser, Language, ExportInfo, ParseResult, NamingConvention } from './client.js';
2
+ export { AiSignalClarityConfig, AnalysisResultSchema, AnalysisStatus, AnalysisStatusSchema, BaseToolConfig, BusinessReport, COMMON_FINE_TUNING_OPTIONS, CONTEXT_TIER_THRESHOLDS, CommonASTNode, ContextAnalyzerConfig, DEFAULT_TOOL_WEIGHTS, FRIENDLY_TOOL_NAMES, GLOBAL_INFRA_OPTIONS, GLOBAL_SCAN_OPTIONS, GraphData, GraphEdge, GraphIssueSeverity, GraphMetadata, GraphNode, ImportInfo, Issue, IssueSchema, IssueType, IssueTypeSchema, LANGUAGE_EXTENSIONS, LanguageConfig, Location, LocationSchema, Metrics, MetricsSchema, ModelTier, ModelTierSchema, NamingConsistencyConfig, ParseError, ParseStatistics, PatternDetectConfig, ReadinessRating, RecommendationPriority, Report, SCORING_PROFILES, SIZE_ADJUSTED_THRESHOLDS, ScoringConfig, ScoringProfile, ScoringResult, Severity, SeveritySchema, SourceLocation, SourceRange, SpokeOutputSchema, SpokeSummary, SpokeSummarySchema, TOOL_NAME_MAP, ToolNameSchema, UnifiedReport, UnifiedReportSchema, calculateOverallScore, formatScore, formatToolScore, generateHTML, getProjectSizeTier, getRating, getRatingDisplay, getRatingWithContext, getRecommendedThreshold, getToolWeight, normalizeToolName, parseWeightString } from './client.js';
3
3
  import { z } from 'zod';
4
4
  import * as Parser from 'web-tree-sitter';
5
5
  import { TSESTree } from '@typescript-eslint/typescript-estree';
@@ -201,6 +201,53 @@ declare function emitProgress(processed: number, total: number, toolId: string,
201
201
  * @param chalk chalk instance
202
202
  */
203
203
  declare function getSeverityColor(severity: string, chalk: any): any;
204
+ /**
205
+ * Find the latest aiready report in a directory by modification time
206
+ * Searches for both new format (aiready-report-*) and legacy format (aiready-scan-*)
207
+ * @param dirPath - The directory path to search for .aiready directory
208
+ * @returns The path to the latest report or null if not found
209
+ */
210
+ declare function findLatestReport(dirPath: string): string | null;
211
+ /**
212
+ * Find the latest scan report file in a directory
213
+ */
214
+ declare function findLatestScanReport(scanReportsDir: string, reportFilePrefix: string): string | null;
215
+
216
+ /**
217
+ * Groups a flat array of issues by their `location.file` path into the
218
+ * `AnalysisResult[]` shape expected by `SpokeOutputSchema`.
219
+ *
220
+ * Shared across multiple spoke providers that follow the simple analyze → group
221
+ * → schema-parse pattern (doc-drift, deps, etc.).
222
+ */
223
+ declare function groupIssuesByFile(issues: any[]): AnalysisResult[];
224
+ /**
225
+ * Builds a simple `ToolScoringOutput` from a spoke summary object.
226
+ * Shared across providers whose scoring logic is purely pass-through
227
+ * (score and recommendations are already computed in the analyzer).
228
+ */
229
+ declare function buildSimpleProviderScore(toolName: string, summary: any, rawData?: any): ToolScoringOutput;
230
+ /**
231
+ * Builds and validates a `SpokeOutput` with common provider metadata.
232
+ * This removes repeated schema/metadata boilerplate from spoke providers.
233
+ */
234
+ declare function buildSpokeOutput(toolName: string, version: string, summary: any, results: AnalysisResult[], metadata?: Record<string, unknown>): SpokeOutput;
235
+ interface ProviderFactoryConfig<TReport> {
236
+ id: ToolName;
237
+ alias: string[];
238
+ version: string;
239
+ defaultWeight: number;
240
+ analyzeReport: (options: ScanOptions) => Promise<TReport>;
241
+ getResults: (report: TReport) => AnalysisResult[];
242
+ getSummary: (report: TReport) => any;
243
+ getMetadata?: (report: TReport) => Record<string, unknown>;
244
+ score: (output: SpokeOutput, options: ScanOptions) => ToolScoringOutput;
245
+ }
246
+ /**
247
+ * Creates a tool provider from shared analyze/score plumbing.
248
+ * Spokes only provide report adapters and scoring behavior.
249
+ */
250
+ declare function createProvider<TReport>(config: ProviderFactoryConfig<TReport>): ToolProvider;
204
251
 
205
252
  interface ExportWithImports {
206
253
  name: string;
@@ -877,6 +924,17 @@ declare function calculateDependencyHealth(params: {
877
924
  trainingCutoffSkew: number;
878
925
  }): DependencyHealthScore;
879
926
 
927
+ interface FutureProofRecommendationParams {
928
+ cognitiveLoad: CognitiveLoad;
929
+ patternEntropy: PatternEntropy;
930
+ conceptCohesion: ConceptCohesion;
931
+ aiSignalClarity: AiSignalClarity;
932
+ agentGrounding: AgentGroundingScore;
933
+ testability: TestabilityIndex;
934
+ docDrift?: DocDriftRisk;
935
+ dependencyHealth?: DependencyHealthScore;
936
+ }
937
+
880
938
  /**
881
939
  * Change Amplification Metrics
882
940
  * Measures how a change in one file ripples through the system.
@@ -921,15 +979,7 @@ declare function calculateFutureProofScore(params: {
921
979
  /**
922
980
  * Complete Extended Future-Proof Score
923
981
  */
924
- declare function calculateExtendedFutureProofScore(params: {
925
- cognitiveLoad: CognitiveLoad;
926
- patternEntropy: PatternEntropy;
927
- conceptCohesion: ConceptCohesion;
928
- aiSignalClarity: AiSignalClarity;
929
- agentGrounding: AgentGroundingScore;
930
- testability: TestabilityIndex;
931
- docDrift?: DocDriftRisk;
932
- dependencyHealth?: DependencyHealthScore;
982
+ declare function calculateExtendedFutureProofScore(params: FutureProofRecommendationParams & {
933
983
  semanticDistances?: SemanticDistance[];
934
984
  }): ToolScoringOutput;
935
985
 
@@ -1012,4 +1062,4 @@ declare function severityToAnnotationLevel(severity: string): 'error' | 'warning
1012
1062
  */
1013
1063
  declare function emitIssuesAsAnnotations(issues: any[]): void;
1014
1064
 
1015
- export { AIReadyConfig, type ASTNode, AcceptancePrediction, type AgentGroundingScore, type AiSignalClarity, type AiSignalClaritySignal, type CLIOptions, CSharpParser, type ChangeAmplificationScore, type CognitiveLoad, ComprehensionDifficulty, type ConceptCohesion, CostConfig, DEFAULT_COST_CONFIG, DEFAULT_EXCLUDE, type DependencyHealthScore, type DocDriftRisk, ExportInfo, type ExportWithImports, type FileImport, type FileWithDomain, GoParser, JavaParser, type KnowledgeConcentrationRisk, Language, LanguageParser, type LoadFactor, MODEL_PRICING_PRESETS, ModelContextTier, type ModelPricingPreset, NamingConvention, ParseResult, ParserFactory, type PatternEntropy, ProductivityImpact, PythonParser, SEVERITY_TIME_ESTIMATES, ScanOptions, type ScoreHistoryEntry, type ScoreTrend, type SemanticDistance, SpokeOutput, type TechnicalDebtInterest, TechnicalValueChain, TechnicalValueChainSummary, type TestabilityIndex, TokenBudget, ToolName, type ToolProvider, ToolRegistry, ToolScoringOutput, TypeScriptParser, VAGUE_FILE_NAMES, calculateAgentGrounding, calculateAiSignalClarity, calculateBusinessROI, calculateChangeAmplification, calculateCognitiveLoad, calculateComprehensionDifficulty, calculateConceptCohesion, calculateDebtInterest, calculateDependencyHealth, calculateDocDrift, calculateExtendedFutureProofScore, calculateFutureProofScore, calculateImportSimilarity, calculateKnowledgeConcentration, calculateMonthlyCost, calculatePatternEntropy, calculateProductivityImpact, calculateSemanticDistance, calculateTechnicalValueChain, calculateTestabilityIndex, calculateTokenBudget, clearHistory, emitAnnotation, emitIssuesAsAnnotations, emitProgress, estimateCostFromBudget, estimateTokens, exportHistory, extractFunctions, extractImports, formatAcceptanceRate, formatCost, formatHours, generateValueChain, getElapsedTime, getFileCommitTimestamps, getFileExtension, getHistorySummary, getLineRangeLastModifiedCached, getModelPreset, getParser, getRepoMetadata, getSafetyIcon, getScoreBar, getSeverityColor, getSupportedLanguages, getWasmPath, handleCLIError, handleJSONOutput, initTreeSitter, initializeParsers, isFileSupported, isSourceFile, loadConfig, loadMergedConfig, loadScoreHistory, mergeConfigWithDefaults, parseCode, parseFileExports, predictAcceptanceRate, readFileContent, resolveOutputPath, saveScoreEntry, scanEntries, scanFiles, setupParser, severityToAnnotationLevel, validateSpokeOutput, validateWithSchema };
1065
+ export { AIReadyConfig, type ASTNode, AcceptancePrediction, type AgentGroundingScore, type AiSignalClarity, type AiSignalClaritySignal, AnalysisResult, type CLIOptions, CSharpParser, type ChangeAmplificationScore, type CognitiveLoad, ComprehensionDifficulty, type ConceptCohesion, CostConfig, DEFAULT_COST_CONFIG, DEFAULT_EXCLUDE, type DependencyHealthScore, type DocDriftRisk, ExportInfo, type ExportWithImports, type FileImport, type FileWithDomain, GoParser, JavaParser, type KnowledgeConcentrationRisk, Language, LanguageParser, type LoadFactor, MODEL_PRICING_PRESETS, ModelContextTier, type ModelPricingPreset, NamingConvention, ParseResult, ParserFactory, type PatternEntropy, ProductivityImpact, type ProviderFactoryConfig, PythonParser, SEVERITY_TIME_ESTIMATES, ScanOptions, type ScoreHistoryEntry, type ScoreTrend, type SemanticDistance, SpokeOutput, type TechnicalDebtInterest, TechnicalValueChain, TechnicalValueChainSummary, type TestabilityIndex, TokenBudget, ToolName, type ToolProvider, ToolRegistry, ToolScoringOutput, TypeScriptParser, VAGUE_FILE_NAMES, buildSimpleProviderScore, buildSpokeOutput, calculateAgentGrounding, calculateAiSignalClarity, calculateBusinessROI, calculateChangeAmplification, calculateCognitiveLoad, calculateComprehensionDifficulty, calculateConceptCohesion, calculateDebtInterest, calculateDependencyHealth, calculateDocDrift, calculateExtendedFutureProofScore, calculateFutureProofScore, calculateImportSimilarity, calculateKnowledgeConcentration, calculateMonthlyCost, calculatePatternEntropy, calculateProductivityImpact, calculateSemanticDistance, calculateTechnicalValueChain, calculateTestabilityIndex, calculateTokenBudget, clearHistory, createProvider, emitAnnotation, emitIssuesAsAnnotations, emitProgress, estimateCostFromBudget, estimateTokens, exportHistory, extractFunctions, extractImports, findLatestReport, findLatestScanReport, formatAcceptanceRate, formatCost, formatHours, generateValueChain, getElapsedTime, getFileCommitTimestamps, getFileExtension, getHistorySummary, getLineRangeLastModifiedCached, getModelPreset, getParser, getRepoMetadata, getSafetyIcon, getScoreBar, getSeverityColor, getSupportedLanguages, getWasmPath, groupIssuesByFile, handleCLIError, handleJSONOutput, initTreeSitter, initializeParsers, isFileSupported, isSourceFile, loadConfig, loadMergedConfig, loadScoreHistory, mergeConfigWithDefaults, parseCode, parseFileExports, predictAcceptanceRate, readFileContent, resolveOutputPath, saveScoreEntry, scanEntries, scanFiles, setupParser, severityToAnnotationLevel, validateSpokeOutput, validateWithSchema };