feat: add GitHub Copilot CLI provider support#202
Open
Zailushang211 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds GitHub Copilot CLI as a first-class provider in dr-claw across the backend session flow, provider auth checks, MCP configuration, frontend provider selection, and session rendering.
It also adds a small dev:stop helper script for stopping tracked local dev processes.
What Changed
add GitHub Copilot CLI session spawning, streaming, abort, active-session tracking, and session persistence
add Copilot provider support to project/session indexing, session restore, and session display naming
add Copilot auth status checks and install guidance in CLI auth routes
add Copilot API routes for models and MCP server management
expose Copilot in onboarding, settings, chat composer, realtime handlers, and provider/model state
add Copilot-specific permissions and MCP configuration UI
add Copilot i18n strings in English and Simplified Chinese
add dev:stop to stop tracked dev processes cleanly
Testing
ran npm run build
Notes
package-lock.json was regenerated after resolving a post-sync lockfile conflict, so it includes broad lockfile-only changes beyond the functional Copilot work
token usage tracking is currently marked as unsupported for GitHub Copilot CLI sessions
dev:stop is included as a small supporting DX utility added alongside this provider integration