Skip to content
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
wants to merge 46 commits into
base: main
Choose a base branch
from
Open

Development #126

wants to merge 46 commits into from

Conversation

olasunkanmi-SE
Copy link
Owner

No description provided.

olasunkanmiraymond and others added 30 commits December 20, 2024 18:05
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
…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
Olasunkanmi Oyinlola and others added 16 commits January 22, 2025 18:13
…-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
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.

2 participants