diff --git a/CHANGELOG.md b/CHANGELOG.md index d34cfa3..ebc25ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,24 +4,83 @@ All notable changes to the "copilot-token-tracker" extension will be documented Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. -## [Unreleased] +## [0.0.8] + +### Changed +- Adding fix for Code - Insiders. +- Show stats for all different editors: + - `Code` — Stable VS Code release + - `Code - Insiders` — VS Code Insiders (preview) builds + - `Code - Exploration` — Exploration/pre-release builds + - `VSCodium` — Community-built VS Code distribution + - `Cursor` — Cursor editor +- Update model colors to avoid using grey/white/black for the largest models. + +### Dependencies +- Bump devops-actions/issue-comment-tag from 0.1.8 to 0.1.9. +- Bump the minor-and-patch-updates group with 4 updates. + +## [0.0.7] ### Added -- Intelligent file caching to improve performance when processing session files -- Cache management with automatic size limits and cleanup of non-existent files -- Cache hit/miss rate logging for performance monitoring +- Support for VS Code Insiders, VSCodium, Cursor and other VS Code variants. +- Support for Copilot CLI session files (`.jsonl`). +- Display of token usage per editor in the details panel and chart view. -### Changed -- Session file processing now uses cached data when files haven't been modified -- Reduced file I/O operations during periodic updates for better performance +### Changed +- Improved session file discovery to be more robust across different environments. +- Updated README with new features and improved formatting. -- Initial release -- Automated VSIX build and release workflow +## [0.0.6] + +### Added +- Diagnostic report generation for troubleshooting extension issues. + +## [0.0.5] + +### Added +- Chart panel for day-by-day token usage visualization. +- Ability to view token usage by model in the chart. + +### Changed +- Updated model names for better accuracy. +- Show a loading indicator on startup. + +## [0.0.4] + +### Added +- Intelligent file caching to improve performance when processing session files. +- Cache management with automatic size limits and cleanup of non-existent files. +- Cache hit/miss rate logging for performance monitoring. + +### Changed +- Session file processing now uses cached data when files haven't been modified. +- Reduced file I/O operations during periodic updates for better performance. + +## [0.0.3] + +### Changed +- Automated VSIX build and release workflow. + +## [0.0.2] + +### Added +- CI build pipeline with GitHub Actions. +- GitHub issue templates for bug reports and feature requests. +- Development guidelines for minimal file changes to Copilot instructions. +- `SUPPORT.md` file with bug report guidance. +- Button to refresh the data on demand. +- Estimated water usage tracking to token usage display. +- Support for other platforms (macOS, Linux). +- Dependabot configuration for automated dependency and GitHub Actions updates. + +### Changed +- Added missing publishing info. ## [0.0.1] - Initial Release - Initial release -- Real-time token tracking with status bar display +- Real-time token tracking with status bar display - Automatic updates every 5 minutes - Click to refresh functionality - Smart estimation using character-based analysis diff --git a/README.md b/README.md index 0572131..1beb833 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,23 @@ The extension shows token usage in the format: `# | ` in the ![Status Bar Display](docs/images/01%20Toolbar%20info.png) Hovering on the status bar item shows a detailed breakdown of token usage: -![Hover Details](docs/images/02%20Popup.png) +![Hover Details](docs/images/02%20Popup.png) Clicking the status bar item opens a detailed view with comprehensive statistics: -![Detailed View](docs/images/03%20Detail%20panel.png) +![Detailed View](docs/images/03%20Detail%20panel.png) Chart overview per day, with option to view per model as well: -![Chart View](docs/images/04%20Chart.png) +![Chart View](docs/images/04%20Chart.png) + +Or per supported editor: +![Chart View](docs/images/04%20Chart_02.png) +Supported editors are: + +- `Code` — Stable VS Code release +- `Code - Insiders` — VS Code Insiders (preview) builds +- `Code - Exploration` — Exploration/pre-release builds +- `VSCodium` — Community-built VS Code distribution +- `Cursor` — Cursor editor ## Performance Optimization diff --git a/docs/images/04 Chart.png b/docs/images/04 Chart.png index 6ecbebf..94b51ac 100644 Binary files a/docs/images/04 Chart.png and b/docs/images/04 Chart.png differ diff --git a/docs/images/04 Chart_02.png b/docs/images/04 Chart_02.png new file mode 100644 index 0000000..e4aac1b Binary files /dev/null and b/docs/images/04 Chart_02.png differ diff --git a/package.json b/package.json index 123b95d..ef7d771 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "copilot-token-tracker", "displayName": "Copilot Token Tracker", "description": "Shows daily and monthly (estimated) GitHub Copilot token usage stats in VS Code status bar", - "version": "0.0.7", + "version": "0.0.8", "publisher": "RobBos", "engines": { "vscode": "^1.107.0"