feat(context): Introduce smart context system: analyzer, lazy loader, cache and README/docs improvements
This commit is contained in:
		@@ -2,14 +2,27 @@ import { EnhancedContext } from './enhanced-context.js';
 | 
			
		||||
import { TaskContextFactory } from './task-context-factory.js';
 | 
			
		||||
import { ConfigManager } from './config-manager.js';
 | 
			
		||||
import { ContextTrimmer } from './context-trimmer.js';
 | 
			
		||||
import type { 
 | 
			
		||||
  ContextMode, 
 | 
			
		||||
  IContextConfig, 
 | 
			
		||||
import { LazyFileLoader } from './lazy-file-loader.js';
 | 
			
		||||
import { ContextCache } from './context-cache.js';
 | 
			
		||||
import { ContextAnalyzer } from './context-analyzer.js';
 | 
			
		||||
import type {
 | 
			
		||||
  ContextMode,
 | 
			
		||||
  IContextConfig,
 | 
			
		||||
  IContextResult,
 | 
			
		||||
  IFileInfo,
 | 
			
		||||
  ITrimConfig,
 | 
			
		||||
  ITaskConfig,
 | 
			
		||||
  TaskType
 | 
			
		||||
  TaskType,
 | 
			
		||||
  ICacheConfig,
 | 
			
		||||
  IAnalyzerConfig,
 | 
			
		||||
  IPrioritizationWeights,
 | 
			
		||||
  ITierConfig,
 | 
			
		||||
  ITierSettings,
 | 
			
		||||
  IFileMetadata,
 | 
			
		||||
  ICacheEntry,
 | 
			
		||||
  IFileDependencies,
 | 
			
		||||
  IFileAnalysis,
 | 
			
		||||
  IAnalysisResult
 | 
			
		||||
} from './types.js';
 | 
			
		||||
 | 
			
		||||
export {
 | 
			
		||||
@@ -18,6 +31,9 @@ export {
 | 
			
		||||
  TaskContextFactory,
 | 
			
		||||
  ConfigManager,
 | 
			
		||||
  ContextTrimmer,
 | 
			
		||||
  LazyFileLoader,
 | 
			
		||||
  ContextCache,
 | 
			
		||||
  ContextAnalyzer,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
// Types
 | 
			
		||||
@@ -28,5 +44,15 @@ export type {
 | 
			
		||||
  IFileInfo,
 | 
			
		||||
  ITrimConfig,
 | 
			
		||||
  ITaskConfig,
 | 
			
		||||
  TaskType
 | 
			
		||||
  TaskType,
 | 
			
		||||
  ICacheConfig,
 | 
			
		||||
  IAnalyzerConfig,
 | 
			
		||||
  IPrioritizationWeights,
 | 
			
		||||
  ITierConfig,
 | 
			
		||||
  ITierSettings,
 | 
			
		||||
  IFileMetadata,
 | 
			
		||||
  ICacheEntry,
 | 
			
		||||
  IFileDependencies,
 | 
			
		||||
  IFileAnalysis,
 | 
			
		||||
  IAnalysisResult
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user