Skip to content

Commit 66109c3

Browse files
author
Denis Ashton
committed
Merge PR kevinelliott#48: update Copilot CLI detection
2 parents 1ba5d87 + 206fd85 commit 66109c3

4 files changed

Lines changed: 21 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- **GitHub Copilot CLI Detection**
12+
- Updated `internal/registry/agents.json` to use the current `copilot` command and `@github/copilot` package name
13+
- Fixed issue where `agentpipe doctor` failed to find GitHub Copilot installations
14+
- Updated documentation in `docs/troubleshooting.md` and `docs/development.md` to match current installation methods
15+
16+
1017
## [0.7.0] - 2025-01-27
1118

1219
### Added

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ brew install anthropics/claude/claude
7979
# Installation method varies
8080

8181
# GitHub Copilot CLI
82-
gh extension install github/gh-copilot
82+
npm install -g @github/copilot
8383

8484
# Cursor CLI
8585
# Installation from Cursor IDE

docs/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ which claude
195195
which gemini
196196

197197
# For GitHub Copilot
198-
gh copilot --help
198+
copilot --help
199199

200200
# For Cursor
201201
which cursor-agent
@@ -207,7 +207,7 @@ which cursor-agent
207207
brew install anthropics/claude/claude
208208

209209
# GitHub Copilot
210-
gh extension install github/gh-copilot
210+
npm install -g @github/copilot
211211

212212
# Others: See agent-specific documentation
213213
```

internal/registry/agents.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,25 @@
7474
},
7575
{
7676
"name": "Copilot",
77-
"command": "github-copilot-cli",
77+
"command": "copilot",
7878
"description": "GitHub Copilot CLI",
7979
"docs": "https://github.com/github/copilot-cli",
8080
"package_manager": "npm",
81-
"package_name": "@githubnext/github-copilot-cli",
81+
"package_name": "@github/copilot",
8282
"install": {
83-
"darwin": "npm install -g @githubnext/github-copilot-cli",
84-
"linux": "npm install -g @githubnext/github-copilot-cli",
85-
"windows": "npm install -g @githubnext/github-copilot-cli"
83+
"darwin": "npm install -g @github/copilot",
84+
"linux": "npm install -g @github/copilot",
85+
"windows": "npm install -g @github/copilot"
8686
},
8787
"uninstall": {
88-
"darwin": "npm uninstall -g @githubnext/github-copilot-cli",
89-
"linux": "npm uninstall -g @githubnext/github-copilot-cli",
90-
"windows": "npm uninstall -g @githubnext/github-copilot-cli"
88+
"darwin": "npm uninstall -g @github/copilot",
89+
"linux": "npm uninstall -g @github/copilot",
90+
"windows": "npm uninstall -g @github/copilot"
9191
},
9292
"upgrade": {
93-
"darwin": "npm update -g @githubnext/github-copilot-cli",
94-
"linux": "npm update -g @githubnext/github-copilot-cli",
95-
"windows": "npm update -g @githubnext/github-copilot-cli"
93+
"darwin": "npm update -g @github/copilot",
94+
"linux": "npm update -g @github/copilot",
95+
"windows": "npm update -g @github/copilot"
9696
},
9797
"requires_auth": true
9898
},

0 commit comments

Comments
 (0)