github ericc-ch/copilot-api v0.5.1

latest releases: v0.5.13, v0.5.12, v0.5.11...
2 months ago

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 and GET /token endpoints. A dashboard URL now appears on server start.
  • Token Visibility: A new --show-token flag lets you display GitHub and Copilot tokens during auth and start 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 to src/start.ts for better organization.
  • ESLint: ESLint configuration now uses eslint.config.js instead of .ts.

This one is automatically generated from commits:

   🚀 Features

   🐞 Bug Fixes

  • Corrected type definitions for ChatCompletion responses  -  by @ericc-ch (e5072)
    View changes on GitHub

Don't miss a new copilot-api release

NewReleases is sending notifications on new releases.