Skip to content

Conversation

@olasunkanmi-SE
Copy link
Owner

No description provided.

olasunkanmi-SE and others added 30 commits April 11, 2025 12:26
- Introduces  to handle database initialization, connection, and management.
- Implements logic to create the database file if it doesn't exist.
- Implements retry logic with fallback to an in-memory database if the file connection fails.
- Removes direct database connection logic from  and consolidates it in .
- Adds a close method to the DatabaseManager class to properly close the database connection.
- Adds a new file dev.db in repo directory
remove libSQL and replace with sqlite 3
- Replaces the previous build process with esbuild for faster and more efficient bundling.
- Adds esbuild.js to handle bundling of both the VS Code extension and the React webview.
- Configures esbuild for production and watch modes.
- Implements asset copying from webviewUi/dist/assets to dist/webview/assets.
- Updates .vscodeignore to reflect changes in build output and exclude unnecessary files.
olasunkanmiraymond and others added 3 commits June 30, 2025 10:25
feat: Bundle extension and React webview using esbuild
- Introduces ChatHistoryManager to handle conversation history with configurable auto-pruning based on message count, token count, and age.
- Adds a database repository for chat history persistence.
- Includes configurations for pruning strategies in VS Code settings (chatHistory.*).
- Implements methods for initializing, clearing, formatting, and pruning chat history.
- Syncs chat history between memory and database to ensure data consistency.
- Adds utility methods to estimate token count and add timestamps to messages.
- Adds configuration options to disable/enable pruning.
- Adds debugging and monitoring tools to inspect the pruning behavior.
- Updates BaseWebViewProvider to initialize chat history and use formatted history.
- Removes unused event listeners.
- Modifies .vscode/launch.json to use dist folder for output files and enable source maps.
- Uploads the git diff between the current commit and the base branch as a workflow artifact.
- This allows for easier debugging and analysis of changes introduced by the workflow run.
@olasunkanmi-SE olasunkanmi-SE merged commit a7bac43 into development Jul 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants