Merged
Conversation
added 5 commits
July 24, 2025 22:32
- Introduces persistent codebase analysis using SQLite for caching analysis results. - Implements a background analysis worker to perform intensive codebase analysis operations without blocking the main VS Code thread. - Adds commands to show cache status, clear the cache, and refresh the analysis. - Improves performance and responsiveness by caching analysis results and reusing them when appropriate.
…alysis - Replaces the previous JSON-based database implementation with SQLite using the sql.js library. - Adds sql.js as a project dependency. - Implements database initialization, table creation, data caching, and cleanup using SQLite. - Introduces an ErrorHandler class to centralize error handling across services. - Implements stub methods for chat history functionality when the database is disabled. - Updates codebase analysis worker to analyze file contents, endpoints, and models.
This commit introduces a new approach to codebase analysis by implementing file-specific analyzers, improving maintainability and testability. It also addresses error handling during file analysis and enhances data model extraction. - Implemented file-specific analyzers using the Strategy Pattern for different file types (TypeScript, JavaScript, Python, Config). - Added AnalyzerFactory to manage and provide the appropriate analyzer for a given file. - Improved error handling during file reading and analysis to provide more informative error messages to the user. - Enhanced data model extraction to include classes, React components, and potential API endpoints from analyzed files. - Switched to in-memory chat history repository
…revention, and performance optimizations - Implemented persistent chat history using SQLite database for cross-session data retention - Added input sanitization to prevent prompt injection in architectural recommendation command - Optimized performance by caching regex patterns at class level in file analyzers - Added new SQL execution methods to SqliteDatabaseService for extensibility - Enhanced error handling for file operations in CodebaseAnalysisWorker
…reads - Introduces SQLite database for persistent chat history storage, replacing in-memory storage. - Implements a web worker for asynchronous chat history operations to prevent blocking the main thread. - Adds class and to manage database interactions. - Introduces to support SQLite operations. - Upgrades package version to 3.4.6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.