Skip to content

fix: update GitHub Copilot CLI command and package name#48

Open
travswim wants to merge 3 commits intokevinelliott:mainfrom
travswim:fix/copilot-detection
Open

fix: update GitHub Copilot CLI command and package name#48
travswim wants to merge 3 commits intokevinelliott:mainfrom
travswim:fix/copilot-detection

Conversation

@travswim
Copy link
Copy Markdown

Description

This PR updates the GitHub Copilot CLI detection logic to match the current official CLI.

Motivation

Previously, AgentPipe was looking for github-copilot-cli (the legacy technical preview package), while the current standard is a standalone copilot binary installed via @github/copilot. This caused agentpipe doctor to report Copilot as missing even when installed.

Changes

  • Updated internal/registry/agents.json to use the copilot command and @github/copilot package name.
  • Updated docs/troubleshooting.md and docs/development.md to recommend npm install -g @github/copilot.
  • Updated CHANGELOG.md to document these changes under the [Unreleased] section.

Testing

  • Verified with ./agentpipe doctor that it now correctly detects the copilot binary.
  • Ran go test ./internal/registry/... ./pkg/adapters/... to ensure no regressions.
  • Ran go vet and go fmt to ensure code quality.

Checklist

  • Tests added/updated
  • Documentation updated
  • CHANGELOG updated

Changed github-copilot-cli to copilot in agents.json and updated
the package name to @github/copilot to match the current
official CLI and internal adapter usage.
Updated documentation to recommend the official @github/copilot
package and copilot command, ensuring consistency with the
updated registry and internal agent usage.
denash84 pushed a commit to denash84/agentpipe that referenced this pull request Mar 20, 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