agent-ecosystem/src/main/services/discovery/index.ts
matt 75dfcf2d50 feat: implement SearchTextCache and SearchTextExtractor for efficient text extraction and caching
- Added SearchTextCache for LRU caching of extracted search text with mtime invalidation.
- Introduced SearchTextExtractor for lightweight extraction of searchable text from session messages.
- Updated SessionSearcher to utilize the new extractor and cache for improved search performance.
- Added tests for SearchTextCache and SearchTextExtractor to ensure functionality and correctness.
2026-02-22 02:03:22 +09:00

22 lines
804 B
TypeScript

/**
* Discovery services - Scanning and locating session data.
*
* Exports:
* - ProjectScanner: Scans ~/.claude/projects/ for projects and sessions
* - SessionSearcher: Searches session content
* - SessionContentFilter: Filters session content for display
* - SubagentLocator: Locates subagent JSONL files
* - SubagentResolver: Resolves and links subagents to Task calls
* - WorktreeGrouper: Groups projects by git worktree
*/
export * from './ProjectPathResolver';
export * from './ProjectScanner';
export * from './SearchTextCache';
export * from './SearchTextExtractor';
export * from './SessionContentFilter';
export * from './SessionSearcher';
export * from './SubagentLocator';
export * from './SubagentResolver';
export * from './SubprojectRegistry';
export * from './WorktreeGrouper';