Skip to content

Commit 08be793

Browse files
committed
Fix all CLI commands to use correct tool names
Corrected CLI commands: - Claude Code: claude (was correct) - Codex: codex (was correct) - Gemini: gemini (fixed from 'gemini-cli') - Copilot: copilot (fixed from 'gh') Updated: - config/agents.yaml - All command names - adapters/cli_communicator.py - CLI registry patterns - SETUP_GUIDE.md - Installation instructions and examples All CLI tools now use their actual command names as they are invoked in the terminal.
1 parent 18e38ae commit 08be793

3 files changed

Lines changed: 18 additions & 32 deletions

File tree

SETUP_GUIDE.md

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The AI Orchestrator coordinates these CLI tools:
88
- **Claude Code** (command: `claude`)
99
- **Codex** (command: `codex`)
1010
- **Gemini** (command: `gemini`)
11-
- **GitHub Copilot CLI** (command: `gh copilot`)
11+
- **GitHub Copilot CLI** (command: `copilot`)
1212

1313
You need **at least one** of these installed to use the orchestrator.
1414

@@ -95,33 +95,25 @@ gemini --prompt "Hello, Gemini!"
9595

9696
**Install:**
9797
```bash
98-
# First install GitHub CLI
99-
# macOS
100-
brew install gh
101-
102-
# Linux
103-
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
104-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
105-
sudo apt update
106-
sudo apt install gh
107-
108-
# Then install Copilot extension
109-
gh extension install github/gh-copilot
98+
# Install Copilot CLI
99+
# Follow GitHub's installation instructions
100+
npm install -g @githubnext/github-copilot-cli
101+
102+
# Or via other methods provided by GitHub
110103
```
111104

112105
**Authenticate:**
113106
```bash
114-
gh auth login
107+
copilot auth login
115108
# Follow the prompts to authenticate
116109
```
117110

118111
**Verify:**
119112
```bash
120-
gh --version
121-
gh copilot --version
113+
copilot --version
122114

123115
# Test it works
124-
gh copilot suggest "write a function"
116+
copilot "write a function"
125117
```
126118

127119
## ✅ Verify All Installations
@@ -162,15 +154,11 @@ fi
162154
echo ""
163155

164156
# GitHub Copilot
165-
if command -v gh &> /dev/null; then
166-
echo "✓ GitHub CLI: INSTALLED"
167-
if gh extension list 2>&1 | grep -q copilot; then
168-
echo "✓ Copilot extension: INSTALLED"
169-
else
170-
echo "✗ Copilot extension: NOT INSTALLED"
171-
fi
157+
if command -v copilot &> /dev/null; then
158+
echo "✓ Copilot CLI: INSTALLED"
159+
copilot --version 2>&1 | head -1
172160
else
173-
echo "GitHub CLI: NOT FOUND"
161+
echo "Copilot CLI: NOT FOUND"
174162
fi
175163
echo ""
176164

@@ -297,7 +285,7 @@ After installation:
297285
claude --message "Test"
298286
echo "Test" | codex
299287
gemini --prompt "Test"
300-
gh copilot suggest "Test"
288+
copilot "Test"
301289
```
302290

303291
2. **Validate configuration:**
@@ -337,8 +325,7 @@ For the **best experience**, install all tools:
337325
claude auth login # Claude Code
338326
# Set up Codex
339327
gemini auth login # Gemini
340-
gh auth login # Copilot
341-
gh extension install github/gh-copilot
328+
copilot auth login # Copilot
342329

343330
# Verify all are working
344331
./ai-orchestrator agents

adapters/cli_communicator.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,8 @@ class AgentCLIRegistry:
355355
'supports_workspace': False,
356356
'output_format': 'text'
357357
},
358-
'github-copilot-cli': {
359-
'command': 'gh',
360-
'subcommand': 'copilot',
358+
'copilot': {
359+
'command': 'copilot',
361360
'method': 'arg',
362361
'supports_workspace': False,
363362
'output_format': 'text'

config/agents.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ agents:
2929
# GitHub Copilot - Additional suggestions (optional)
3030
copilot:
3131
enabled: false
32-
command: "gh" # GitHub CLI with copilot extension
32+
command: "copilot"
3333
role: "suggestions"
3434
timeout: 120
3535
description: "Provides alternative implementation suggestions"

0 commit comments

Comments
 (0)