-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Development #126
Open
olasunkanmi-SE
wants to merge
46
commits into
main
Choose a base branch
from
development
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Development #126
Conversation
This file contains 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
Set up new React + TypeScript project using Vite build tool Configure ESLint with TypeScript and React-specific rules Add essential project configuration files (.gitignore, tsconfig) Include basic React application template with sample components Set up development dependencies including React 18.3, TypeScript 5.6, and Vite 6.0
refactor(webview): migrate chat UI to React with VS Code Webview UI Toolkit Add React-based webview UI infrastructure with Vite bundler Update webview content generation to use new UI components Configure build system for webview assets distribution Add security features (nonce, CSP) for webview scripts Update gitignore to exclude webview dist directory Add VS Code Webview UI Toolkit dependency for native VS Code components
create communication between the extension and the React webview
* Update event generator to handle different AI models * Fix errors in user prompt handling and response generation * Improve code formatting and consolidate duplicate code * Update webview UI components to display bot messages and code blocks
Remove unused properties from model configurations
refactor(event-generator): Improve event generator functionality
…e file structure • Add TypeScript code mapper service for analyzing codebase structure and dependencies • Implement interfaces for code mapping and file uploading • Move file-uploader from events to services directory • Update imports across multiple files to reflect new file structure • Add support for extracting class metadata, function details, and type information
… system handling * Move interfaces and constants to new application directory for better organization * Add new FileSystemService class for centralized file system operations * Remove duplicate code and unused enums from interfaces * Add FSPROPS enum for file system constants * Improve error handling with new handleError utility function * Update imports across files to reflect new directory structure
Code traverse
Code traverse
…handling Add path normalization for module paths and root directory Add error handling for empty TypeScript files array Remove unused TypeScript and path imports from file-system service Refactor file reading operations to use vscode.Uri consistently Extract getRootUri method for better code organization
Replace path.posix.join with vscode.Uri.joinPath for consistent path
… storage Create CodeRepository class for database operations with vector search capabilities Implement CodeStructureMapper for transforming code structure into simplified format Add logging functionality with new Logger class Rename TypeScriptCodeMapper to TypeScriptAtsMapper and update related interfaces Add new interfaces for code structure mapping and database operations
…e_mapper Create repository and code mapper
Implement context service for code indexing and function mapping Configure embedding settings with batch processing and rate limiting Update code repository to separate table creation and data insertion Add @xenova/transformers dependency Refactor TypeScriptAtsMapper to use singleton pattern
…e_mapper Create repository and code mapper
… code structure * Introduce a singleton pattern in CodeRepository to ensure a single instance * Improve error handling in database connection and initialization * Modify code structure and formatting in various services for better readability * Update dependencies and imports in TypeScript services
…sitory instance Implement buildFunctionStructureMap method to map codebase structures Introduce generateFunctionDescription method for generating function descriptions Create generateEmbeddings method for generating embeddings from function descriptions Add InsertFunctionsinDB method to insert functions into the database Update EmbeddingService to process functions in batches with rate limiting
…-004 Refactor ICodeRepository interface and related methods Update error message display in utils.ts Modify extension.ts to include database connection and code indexing Implement new CodeIndexingService and update related services
Change embedding model from Xenova/all-MiniLM-L6-v2 to text-embedding…
Integrate EmbeddingService with Gemini API for generating code embeddings Update CodeRepository to use vector search for similar function lookup Refactor CodeIndexingService to use new Gemini-based embedding generation Modify extension activation to prepare for code indexing functionality
Add file.ts for file operations Introduce search.ts for search capabilities Include sql.ts for SQL-related operations
Create new directories for specific components (agents, llms, memory, tools) Rename files to follow consistent naming conventions Remove unused files and commented-out code Update import statements to reflect new file locations
Move and rename files to create a more organized project structure
implement the base llm class
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.