The /usage endpoints and dashboard was implemented by @Asheblog, thank you! (sorry I don't know why it's not showing)
Trying out AI generated changelog:
Changelog: v0.5.0
to v0.5.1
This update brings a new Usage Dashboard and minor fixes.
✨ New Features
- Usage Dashboard: Monitor your Copilot API usage and quotas via new
GET /usage
andGET /token
endpoints. A dashboard URL now appears on server start. - Token Visibility: A new
--show-token
flag lets you display GitHub and Copilot tokens duringauth
andstart
for debugging.
🚀 Improvements
- Error Logging: Improved HTTP error logging to include upstream JSON responses.
- Anthropic Compatibility: Corrected token usage reporting and content mapping for Anthropic API translation.
🛠️ Refactoring
- Code Structure:
start
command logic was moved tosrc/start.ts
for better organization. - ESLint: ESLint configuration now uses
eslint.config.js
instead of.ts
.
This one is automatically generated from commits:
🚀 Features
- Log http error - by @ericc-ch (76b0c)
- Limit logging length - by @ericc-ch (a80ce)
- Improve non-streaming translation and token usage mapping - by @ericc-ch (1bd8a)
- Add show-token flag to display tokens on auth and refresh - by @ericc-ch (0c8ff)
- Add Copilot API Usage Dashboard documentation - by @ericc-ch (cbb91)