Skip to content

Fix Copilot integration and other enhancements#1

Open
hareki wants to merge 6 commits intoaweis89:mainfrom
hareki:copilot-enhancements
Open

Fix Copilot integration and other enhancements#1
hareki wants to merge 6 commits intoaweis89:mainfrom
hareki:copilot-enhancements

Conversation

@hareki
Copy link

@hareki hareki commented Feb 4, 2026

  • Support copilot authentication via copilot.lua or copilot.vim. Code reference: codecompanion.nvim
  • Update copilot request header to be compatible with the new api. Code reference: CopilotChat.nvim
  • Properly replace the content of existing notification when using with spinner instead of creating new ones each frame. Code reference: tsc.nvim
  • Make spinner frames configurable via config.spinner (true to use default frames, false to disable, string array to customize the frames)

hareki and others added 5 commits February 4, 2026 20:22
- add functions to fetch and cache OAuth and Copilot tokens
- enhance configuration path discovery for GitHub Copilot
- implement token exchange for Copilot API calls with improved error handling
- update API call to use dynamic endpoints from Copilot token
- add EDITOR_VERSION from vim.version() to reflect actual Neovim version
- replace hardcoded Editor-Version and plugin version headers with dynamic values
- remove static User-Agent and standardize Editor-Plugin-Version to ai-commit-msg.nvim/*
- expose DEFAULT_SPINNER_FRAMES constant for reuse
- allow spinner to be true (use default frames), false (disable), or a custom table
- generator resolves spinner_frames and updates notification spinner usage
- update spec to accept boolean or table for spinner
@hareki hareki changed the title Fix Copilot Fix Copilot integration and other ennhancements Feb 4, 2026
@hareki hareki changed the title Fix Copilot integration and other ennhancements Fix Copilot integration and other enhancements Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant