Skip to content

Commit fc3b98e

Browse files
mnriemCopilot
andauthored
fix: rename Qoder AGENT_CONFIG key from 'qoder' to 'qodercli' to match actual CLI executable (#1651)
* fix: rename Qoder CLI to QoderCLI across scripts and documentation * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Apply suggestion from @Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update .github/workflows/scripts/create-release-packages.ps1 Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6150f1e commit fc3b98e

File tree

11 files changed

+33
-27
lines changed

11 files changed

+33
-27
lines changed

.github/workflows/scripts/create-github-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ gh release create "$VERSION" \
4040
.genreleases/spec-kit-template-roo-ps-"$VERSION".zip \
4141
.genreleases/spec-kit-template-codebuddy-sh-"$VERSION".zip \
4242
.genreleases/spec-kit-template-codebuddy-ps-"$VERSION".zip \
43-
.genreleases/spec-kit-template-qoder-sh-"$VERSION".zip \
44-
.genreleases/spec-kit-template-qoder-ps-"$VERSION".zip \
43+
.genreleases/spec-kit-template-qodercli-sh-"$VERSION".zip \
44+
.genreleases/spec-kit-template-qodercli-ps-"$VERSION".zip \
4545
.genreleases/spec-kit-template-amp-sh-"$VERSION".zip \
4646
.genreleases/spec-kit-template-amp-ps-"$VERSION".zip \
4747
.genreleases/spec-kit-template-shai-sh-"$VERSION".zip \

.github/workflows/scripts/create-release-packages.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
.PARAMETER Agents
1616
Comma or space separated subset of agents to build (default: all)
17-
Valid agents: claude, gemini, copilot, cursor-agent, qwen, opencode, windsurf, codex, kilocode, auggie, roo, codebuddy, amp, q, bob, qoder, generic
17+
Valid agents: claude, gemini, copilot, cursor-agent, qwen, opencode, windsurf, codex, kilocode, auggie, roo, codebuddy, amp, q, bob, qodercli, shai, agy, generic
1818
1919
.PARAMETER Scripts
2020
Comma or space separated subset of script types to build (default: both)
@@ -343,9 +343,9 @@ function Build-Variant {
343343
$cmdDir = Join-Path $baseDir ".bob/commands"
344344
Generate-Commands -Agent 'bob' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script
345345
}
346-
'qoder' {
346+
'qodercli' {
347347
$cmdDir = Join-Path $baseDir ".qoder/commands"
348-
Generate-Commands -Agent 'qoder' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script
348+
Generate-Commands -Agent 'qodercli' -Extension 'md' -ArgFormat '$ARGUMENTS' -OutputDir $cmdDir -ScriptVariant $Script
349349
}
350350
'generic' {
351351
$cmdDir = Join-Path $baseDir ".speckit/commands"
@@ -360,7 +360,7 @@ function Build-Variant {
360360
}
361361

362362
# Define all agents and scripts
363-
$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'q', 'bob', 'qoder', 'generic')
363+
$AllAgents = @('claude', 'gemini', 'copilot', 'cursor-agent', 'qwen', 'opencode', 'windsurf', 'codex', 'kilocode', 'auggie', 'roo', 'codebuddy', 'amp', 'q', 'bob', 'qodercli', 'shai', 'agy', 'generic')
364364
$AllScripts = @('sh', 'ps')
365365

366366
function Normalize-List {

.github/workflows/scripts/create-release-packages.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ build_variant() {
203203
codebuddy)
204204
mkdir -p "$base_dir/.codebuddy/commands"
205205
generate_commands codebuddy md "\$ARGUMENTS" "$base_dir/.codebuddy/commands" "$script" ;;
206-
qoder)
206+
qodercli)
207207
mkdir -p "$base_dir/.qoder/commands"
208-
generate_commands qoder md "\$ARGUMENTS" "$base_dir/.qoder/commands" "$script" ;;
208+
generate_commands qodercli md "\$ARGUMENTS" "$base_dir/.qoder/commands" "$script" ;;
209209
amp)
210210
mkdir -p "$base_dir/.agents/commands"
211211
generate_commands amp md "\$ARGUMENTS" "$base_dir/.agents/commands" "$script" ;;
@@ -230,7 +230,7 @@ build_variant() {
230230
}
231231

232232
# Determine agent list
233-
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai q agy bob qoder generic)
233+
ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai q agy bob qodercli generic)
234234
ALL_SCRIPTS=(sh ps)
235235

236236
norm_list() {

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Specify supports multiple AI agents by generating agent-specific command files a
4343
| **Auggie CLI** | `.augment/rules/` | Markdown | `auggie` | Auggie CLI |
4444
| **Roo Code** | `.roo/rules/` | Markdown | N/A (IDE-based) | Roo Code IDE |
4545
| **CodeBuddy CLI** | `.codebuddy/commands/` | Markdown | `codebuddy` | CodeBuddy CLI |
46-
| **Qoder CLI** | `.qoder/commands/` | Markdown | `qoder` | Qoder CLI |
46+
| **Qoder CLI** | `.qoder/commands/` | Markdown | `qodercli` | Qoder CLI |
4747
| **Amazon Q Developer CLI** | `.amazonq/prompts/` | Markdown | `q` | Amazon Q Developer CLI |
4848
| **Amp** | `.agents/commands/` | Markdown | `amp` | Amp CLI |
4949
| **SHAI** | `.shai/commands/` | Markdown | `shai` | SHAI CLI |
@@ -314,7 +314,7 @@ Require a command-line tool to be installed:
314314
- **opencode**: `opencode` CLI
315315
- **Amazon Q Developer CLI**: `q` CLI
316316
- **CodeBuddy CLI**: `codebuddy` CLI
317-
- **Qoder CLI**: `qoder` CLI
317+
- **Qoder CLI**: `qodercli` CLI
318318
- **Amp**: `amp` CLI
319319
- **SHAI**: `shai` CLI
320320

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ All notable changes to the Specify CLI and templates are documented here.
77
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
99

10+
## [0.1.4] - Unreleased
11+
12+
### Fixed
13+
14+
- **Qoder CLI detection**: Renamed `AGENT_CONFIG` key from `"qoder"` to `"qodercli"` to match the actual executable name, fixing `specify check` and `specify init --ai` detection failures
15+
1016
## [0.1.3] - Unreleased
1117

1218
### Added

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,14 @@ The `specify` command supports the following options:
173173
| Command | Description |
174174
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
175175
| `init` | Initialize a new Specify project from the latest template |
176-
| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `shai`, `qoder`) |
176+
| `check` | Check for installed tools (`git`, `claude`, `gemini`, `code`/`code-insiders`, `cursor-agent`, `windsurf`, `qwen`, `opencode`, `codex`, `shai`, `qodercli`) |
177177

178178
### `specify init` Arguments & Options
179179

180180
| Argument/Option | Type | Description |
181181
| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
182182
| `<project-name>` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) |
183-
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `q`, `agy`, `bob`, `qoder`, or `generic` (requires `--ai-commands-dir`) |
183+
| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `codebuddy`, `amp`, `shai`, `q`, `agy`, `bob`, `qodercli`, or `generic` (requires `--ai-commands-dir`) |
184184
| `--ai-commands-dir` | Option | Directory for agent command files (required with `--ai generic`, e.g. `.myagent/commands/`) |
185185
| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) |
186186
| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code |
@@ -205,7 +205,7 @@ specify init my-project --ai claude
205205
specify init my-project --ai cursor-agent
206206

207207
# Initialize with Qoder support
208-
specify init my-project --ai qoder
208+
specify init my-project --ai qodercli
209209

210210
# Initialize with Windsurf support
211211
specify init my-project --ai windsurf

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "specify-cli"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
description = "Specify CLI, part of GitHub Spec Kit. A tool to bootstrap your projects for Spec-Driven Development (SDD)."
55
requires-python = ">=3.11"
66
dependencies = [

scripts/bash/update-agent-context.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# - Creates default Claude file if no agent files exist
3636
#
3737
# Usage: ./update-agent-context.sh [agent_type]
38-
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qoder
38+
# Agent types: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qodercli
3939
# Leave empty to update all existing agent files
4040

4141
set -e
@@ -619,7 +619,7 @@ update_specific_agent() {
619619
codebuddy)
620620
update_agent_file "$CODEBUDDY_FILE" "CodeBuddy CLI"
621621
;;
622-
qoder)
622+
qodercli)
623623
update_agent_file "$QODER_FILE" "Qoder CLI"
624624
;;
625625
amp)
@@ -642,7 +642,7 @@ update_specific_agent() {
642642
;;
643643
*)
644644
log_error "Unknown agent type '$agent_type'"
645-
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|amp|shai|q|agy|bob|qoder|generic"
645+
log_error "Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qodercli|generic"
646646
exit 1
647647
;;
648648
esac
@@ -755,7 +755,7 @@ print_summary() {
755755

756756
echo
757757

758-
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qoder]"
758+
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qodercli]"
759759
}
760760

761761
#==============================================================================

scripts/powershell/update-agent-context.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Mirrors the behavior of scripts/bash/update-agent-context.sh:
99
2. Plan Data Extraction
1010
3. Agent File Management (create from template or update existing)
1111
4. Content Generation (technology stack, recent changes, timestamp)
12-
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, agy, bob, qoder)
12+
5. Multi-Agent Support (claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, roo, codebuddy, amp, shai, q, agy, bob, qodercli)
1313
1414
.PARAMETER AgentType
1515
Optional agent key to update a single agent. If omitted, updates all existing agent files (creating a default Claude file if none exist).
@@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1
2525
#>
2626
param(
2727
[Parameter(Position=0)]
28-
[ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','agy','bob','qoder','generic')]
28+
[ValidateSet('claude','gemini','copilot','cursor-agent','qwen','opencode','codex','windsurf','kilocode','auggie','roo','codebuddy','amp','shai','q','agy','bob','qodercli','generic')]
2929
[string]$AgentType
3030
)
3131

@@ -384,14 +384,14 @@ function Update-SpecificAgent {
384384
'auggie' { Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI' }
385385
'roo' { Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code' }
386386
'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI' }
387-
'qoder' { Update-AgentFile -TargetFile $QODER_FILE -AgentName 'Qoder CLI' }
387+
'qodercli' { Update-AgentFile -TargetFile $QODER_FILE -AgentName 'Qoder CLI' }
388388
'amp' { Update-AgentFile -TargetFile $AMP_FILE -AgentName 'Amp' }
389389
'shai' { Update-AgentFile -TargetFile $SHAI_FILE -AgentName 'SHAI' }
390390
'q' { Update-AgentFile -TargetFile $Q_FILE -AgentName 'Amazon Q Developer CLI' }
391391
'agy' { Update-AgentFile -TargetFile $AGY_FILE -AgentName 'Antigravity' }
392392
'bob' { Update-AgentFile -TargetFile $BOB_FILE -AgentName 'IBM Bob' }
393393
'generic' { Write-Info 'Generic agent: no predefined context file. Use the agent-specific update script for your agent.' }
394-
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qoder|generic'; return $false }
394+
default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qodercli|generic'; return $false }
395395
}
396396
}
397397

@@ -428,7 +428,7 @@ function Print-Summary {
428428
if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" }
429429
if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" }
430430
Write-Host ''
431-
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qoder|generic]'
431+
Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|q|agy|bob|qodercli|generic]'
432432
}
433433

434434
function Main {

src/specify_cli/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def _format_rate_limit_error(status_code: int, headers: httpx.Headers, url: str)
191191
"install_url": "https://www.codebuddy.ai/cli",
192192
"requires_cli": True,
193193
},
194-
"qoder": {
194+
"qodercli": {
195195
"name": "Qoder CLI",
196196
"folder": ".qoder/",
197197
"install_url": "https://qoder.com/cli",
@@ -1194,7 +1194,7 @@ def install_ai_skills(project_path: Path, selected_ai: str, tracker: StepTracker
11941194
@app.command()
11951195
def init(
11961196
project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"),
1197-
ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, codebuddy, amp, shai, q, agy, bob, qoder, or generic (requires --ai-commands-dir)"),
1197+
ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor-agent, qwen, opencode, codex, windsurf, kilocode, auggie, codebuddy, amp, shai, q, agy, bob, qodercli, or generic (requires --ai-commands-dir)"),
11981198
ai_commands_dir: str = typer.Option(None, "--ai-commands-dir", help="Directory for agent command files (required with --ai generic, e.g. .myagent/commands/)"),
11991199
script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"),
12001200
ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"),

0 commit comments

Comments
 (0)