feature: Add GitHub Copilot support (CLI and CHAT) ‼️‼️‼️#129
feature: Add GitHub Copilot support (CLI and CHAT) ‼️‼️‼️#129npkriami18 wants to merge 1 commit intotirth8205:mainfrom
Conversation
tirth8205
left a comment
There was a problem hiding this comment.
Thanks for adding Copilot support! The structure is solid. A few issues to fix:
-
CHANGELOG version regression. The PR adds a
[2.1.1]entry, but we're already at[2.2.1]. Please remove the CHANGELOG entry — we'll add it when we cut the next release. -
Detection is too broad.
_copilot_vscode_detectedreturnsTrueif any VS Code directory exists — but that proves VS Code is installed, not Copilot. Every VS Code user would get Copilot MCP config injected. Other platforms check for platform-specific directories. Consider checking for the Copilot extension directory instead (e.g.,~/.vscode/extensions/github.copilot-*). -
Writes to VS Code's global settings.json. This is more invasive than other platforms which use dedicated config files. A misconfigured write could corrupt VS Code settings. Please add extra caution here (e.g., validate the JSON structure before writing).
-
Tests are shallow. The existing
TestPlatformInstalltests verify actual file writes and JSON structure. Please add similar tests for Copilot (not just thatdetect()returns a bool).
Thank you for the feedback! I've addressed all the points:
|
aede802 to
95c4421
Compare
Review: PR #129 — feature: Add GitHub Copilot supportThe owner already requested changes and the author has addressed them in a follow-up commit. Looking at the current state of the diff: What was fixed (per author's comment):
Remaining issues:
The owner's original |
|
Merge conflict detected. This PR has merge conflicts with main (mergeStateStatus: DIRTY). Please rebase on main and also address the cross-platform config path issue noted above (macOS uses ~/Library/Application Support/Code/User/settings.json, not ~/.config/Code/User/settings.json). Both issues need to be resolved before this can merge. |
95c4421 to
570c6f3
Compare
@tirth8205 Done
Full test suite was run locally: 673 passed (5 skipped, 2 xpassed). Please re-review when you can and merge if this looks good. Happy to adjust anything else you want changed. |
|
Skipping auto-merge: after #142 (platform target filters) landed on |
Adds MCP server integration for: - GitHub Copilot (VS Code Extension) - GitHub Copilot Chat (VS Code) - GitHub Copilot CLI Uses `--platform copilot` for VS Code variant Uses `--platform copilot-cli` for CLI variant Platforms now: 10 (was 8) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Made-with: Cursor
570c6f3 to
dc1340f
Compare
|
Adds MCP server integration for:
Uses
--platform copilotfor VS Code variantUses
--platform copilot-clifor CLI variantPlatforms now: 10 (was 8)