feat: add GitHub Copilot and Windows support#27
Open
russosalv wants to merge 7 commits intom0n0x41d:mainfrom
Open
feat: add GitHub Copilot and Windows support#27russosalv wants to merge 7 commits intom0n0x41d:mainfrom
russosalv wants to merge 7 commits intom0n0x41d:mainfrom
Conversation
MCP config writes to .vscode/mcp.json with VS Code's "servers" schema, slash commands become .github/prompts/*.prompt.md with Copilot frontmatter. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add install.ps1 PowerShell script for Windows installation - Add windows-amd64 build to release pipeline - Fix home path display on Windows in commands.go - Update README with Windows install instructions - Point install URLs to russosalv/quint-code-vscode Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ection RuntimeInformation.OSArchitecture returns an enum that doesn't match string comparison in PowerShell switch. PROCESSOR_ARCHITECTURE is a native Windows env var that reliably returns "AMD64" or "ARM64". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Show download URL and winget command instead of a bare error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2>$null can fail with native commands in PowerShell. Use 2>&1 | Out-Null. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
--copilotflag forquint-code initthat generates.vscode/mcp.json(VS Code MCP format) and.github/prompts/*.prompt.md(Copilot prompt files with proper frontmatter)install.ps1PowerShell installer,windows-amd64added to release pipeline, path display fix for Windows incommands.go%PROCESSOR_ARCHITECTURE%, dependency checks for Git and Go with install instructions, correct PowerShell stderr redirectionChanges
src/mcp/cmd/init.go--copilotflag,configureMCPCopilot()with VS Codeserversschemasrc/mcp/cmd/commands.gocopilotplatform ininstallCommands(),transformCopilot()for.prompt.mdformat, path display fix.github/workflows/release.ymlwindows-amd64matrix entry, conditional Unix/Windows build and package stepsinstall.ps1README.md--copilotin flags tableTest plan
go buildcompiles successfullyquint-code init --copilotgenerates correct.vscode/mcp.jsonand.github/prompts/*.prompt.mdinstall.ps1tested on Windows (arch detection, Git/Go checks, build from source)🤖 Generated with Claude Code