Yggdrasil Code Tracker
A VS Code extension that tracks file changes and selections for Yggdrasil chat integration.
Features
- File Change Tracking: Automatically tracks file modifications, creations, and deletions
- Selection Tracking: Monitors text selections and cursor position changes
- Context Sharing: Send current editor context to Yggdrasil server
- Project State: View and share complete project state information
- File Discovery: Get comprehensive file lists for @mention functionality
Commands
Yggdrasil: Show Project State - Display current project state information
Yggdrasil: Send Current Context - Send active editor context to Yggdrasil
Yggdrasil: Get All Files for @mention - Retrieve complete file list for mentions
Configuration
Configure the extension through VS Code settings:
yggdrasil.serverUrl (default: http://localhost:3001 ) - Yggdrasil server URL
yggdrasil.maxFiles (default: 10000 ) - Maximum number of files to scan in workspace
yggdrasil.enableFileWatcher (default: true ) - Enable file system change watching
Installation
- Install the extension from the VS Code marketplace or load from VSIX
- Configure the server URL in settings if different from default
- The extension activates automatically when VS Code starts
Development
Prerequisites
Building
npm install
npm run compile
Packaging
npm run package
Running in Development
- Open the project in VS Code
- Press F5 to launch Extension Development Host
- Test the extension in the new VS Code window
Requirements
- VS Code 1.74.0 or higher
- Active Yggdrasil server instance (for full functionality)
License
See license.md for details.
| |