AI Code Change Tracker
A VS Code extension that tracks and logs changes made by AI in your codebase.
Features
This extension automatically monitors and logs AI-generated code changes in your workspace by:
- Detecting code blocks marked with
//<AI_Start> and //<AI_End> tags
- Tracking file modifications in real-time
- Logging AI changes with timestamps and line numbers
- Saving change history to
ai-change-log.jsonl in your workspace root
Requirements
- Visual Studio Code version 1.95.0 or higher
- A workspace must be open for logging functionality
How It Works
- The extension activates automatically when VS Code starts
- It monitors all text changes in your workspace
- When code is modified with AI tags:
//<AI_Start>
// AI generated code here
//<AI_End>
- Changes are logged to
ai-change-log.jsonl with:
- File path
- Start and end lines
- Timestamp
- Change details
Extension Settings
Currently, this extension runs with default settings. Future versions may include configurable options.
Known Issues
- Logs are only saved when a workspace is open
- Only tracks changes marked with specific AI tags
Release Notes
0.0.1
Initial release with core features:
- AI code change detection
- Automatic logging
- File system monitoring
Contributing
The source code for this extension is available on GitHub. Contributions are welcome!
License
This extension is licensed under the MIT License.
| |