Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 69 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,23 @@ The extension shows token usage in the format: `# <today> | <this month>` 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

Expand Down
Binary file modified docs/images/04 Chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/04 Chart_02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading