Copilot CLI sign-ins are detected
- A Copilot account signed in through the standalone GitHub Copilot CLI now shows up in Providers. magpie reads who is signed in from
~/.copilot/config.json(or$COPILOT_HOME), and the token from the system keychain itemcopilot-cli(macOS Keychain; libsecret on Linux) or from the CLI's plaintext store when that was chosen. Nothing is copied or exported. (#20) - The CLI's token is used the way the CLI itself uses it: sent as is, under the CLI's own integration, to the API endpoint GitHub serves the account from. It is no longer traded for an editor session token, which answered 403 for CLI tokens.
- The editor sign-ins (
~/.config/github-copilot/apps.json/hosts.json) work exactly as before, and are preferred when both exist.