From 8b09559690166fae71e5da28f22d73ab736160ae Mon Sep 17 00:00:00 2001 From: lispking Date: Tue, 23 Sep 2025 05:22:35 +0800 Subject: [PATCH] update CodeBuddy to international site --- AGENTS.md | 2 +- README.md | 2 +- scripts/bash/update-agent-context.sh | 4 ++-- scripts/powershell/update-agent-context.ps1 | 4 ++-- src/specify_cli/__init__.py | 10 +++++----- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 247744a5..c0e6ceec 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,7 +38,7 @@ Specify supports multiple AI agents by generating agent-specific command files a | **Qwen Code** | `.qwen/commands/` | TOML | `qwen` | Alibaba's Qwen Code CLI | | **opencode** | `.opencode/command/` | Markdown | `opencode` | opencode CLI | | **Windsurf** | `.windsurf/workflows/` | Markdown | N/A (IDE-based) | Windsurf IDE workflows | -| **CodeBuddy** | `.codebuddy/commands/` | Markdown | `codebuddy` | CodeBuddy CLI | +| **CodeBuddy** | `.codebuddy/commands/` | Markdown | `codebuddy` | CodeBuddy | ### Step-by-Step Integration Guide diff --git a/README.md b/README.md index 13ced74c..b6aed441 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c | [Windsurf](https://windsurf.com/) | ✅ | | | [Kilo Code](https://github.com/Kilo-Org/kilocode) | ✅ | | | [Auggie CLI](https://docs.augmentcode.com/cli/overview) | ✅ | | -| [CodeBuddy Code](https://cnb.cool/codebuddy/codebuddy-code) | ✅ | | +| [CodeBuddy](https://www.codebuddy.ai/) | ✅ | | | [Roo Code](https://roocode.com/) | ✅ | | | [Codex CLI](https://github.com/openai/codex) | ⚠️ | Codex [does not support](https://github.com/openai/codex/issues/2890) custom arguments for slash commands. | diff --git a/scripts/bash/update-agent-context.sh b/scripts/bash/update-agent-context.sh index ea467647..0b07f85c 100644 --- a/scripts/bash/update-agent-context.sh +++ b/scripts/bash/update-agent-context.sh @@ -582,7 +582,7 @@ update_specific_agent() { update_agent_file "$ROO_FILE" "Roo Code" ;; codebuddy) - update_agent_file "$CODEBUDDY_FILE" "CodeBuddy CLI" + update_agent_file "$CODEBUDDY_FILE" "CodeBuddy" ;; *) log_error "Unknown agent type '$agent_type'" @@ -647,7 +647,7 @@ update_all_existing_agents() { fi if [[ -f "$CODEBUDDY_FILE" ]]; then - update_agent_file "$CODEBUDDY_FILE" "CodeBuddy CLI" + update_agent_file "$CODEBUDDY_FILE" "CodeBuddy" found_agent=true fi diff --git a/scripts/powershell/update-agent-context.ps1 b/scripts/powershell/update-agent-context.ps1 index 17fa9b44..7977927a 100644 --- a/scripts/powershell/update-agent-context.ps1 +++ b/scripts/powershell/update-agent-context.ps1 @@ -377,7 +377,7 @@ function Update-SpecificAgent { 'kilocode' { Update-AgentFile -TargetFile $KILOCODE_FILE -AgentName 'Kilo Code' } 'auggie' { Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI' } 'roo' { Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code' } - 'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI' } + 'codebuddy' { Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy' } default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy'; return $false } } } @@ -395,7 +395,7 @@ function Update-AllExistingAgents { if (Test-Path $KILOCODE_FILE) { if (-not (Update-AgentFile -TargetFile $KILOCODE_FILE -AgentName 'Kilo Code')) { $ok = $false }; $found = $true } if (Test-Path $AUGGIE_FILE) { if (-not (Update-AgentFile -TargetFile $AUGGIE_FILE -AgentName 'Auggie CLI')) { $ok = $false }; $found = $true } if (Test-Path $ROO_FILE) { if (-not (Update-AgentFile -TargetFile $ROO_FILE -AgentName 'Roo Code')) { $ok = $false }; $found = $true } - if (Test-Path $CODEBUDDY_FILE) { if (-not (Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy CLI')) { $ok = $false }; $found = $true } + if (Test-Path $CODEBUDDY_FILE) { if (-not (Update-AgentFile -TargetFile $CODEBUDDY_FILE -AgentName 'CodeBuddy')) { $ok = $false }; $found = $true } if (-not $found) { Write-Info 'No existing agent files found, creating default Claude file...' if (-not (Update-AgentFile -TargetFile $CLAUDE_FILE -AgentName 'Claude Code')) { $ok = $false } diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.py index 068e8563..e7f9032f 100644 --- a/src/specify_cli/__init__.py +++ b/src/specify_cli/__init__.py @@ -74,7 +74,7 @@ AI_CHOICES = { "windsurf": "Windsurf", "kilocode": "Kilo Code", "auggie": "Auggie CLI", - "codebuddy": "CodeBuddy CLI", + "codebuddy": "CodeBuddy", "roo": "Roo Code", } # Add script type choices @@ -763,7 +763,7 @@ def init( This command will: 1. Check that required tools are installed (git is optional) - 2. Let you choose your AI assistant (Claude Code, Gemini CLI, GitHub Copilot, Cursor, Qwen Code, opencode, Codex CLI, Windsurf, Kilo Code, Auggie CLI, Roo Code, or CodeBuddy CLI) + 2. Let you choose your AI assistant (Claude Code, Gemini CLI, GitHub Copilot, Cursor, Qwen Code, opencode, Codex CLI, Windsurf, Kilo Code, Auggie CLI, Roo Code, or CodeBuddy) 3. Download the appropriate template from GitHub 4. Extract the template to a new project directory or current directory 5. Initialize a fresh git repository (if not --no-git and no existing repo) @@ -897,8 +897,8 @@ def init( install_url = "https://docs.augmentcode.com/cli/setup-auggie/install-auggie-cli" agent_tool_missing = True elif selected_ai == "codebuddy": - if not check_tool("codebuddy", "https://cnb.cool/codebuddy/codebuddy-code"): - install_url = "https://cnb.cool/codebuddy/codebuddy-code" + if not check_tool("codebuddy", "https://www.codebuddy.ai"): + install_url = "https://www.codebuddy.ai" agent_tool_missing = True # GitHub Copilot and Cursor checks are not needed as they're typically available in supported IDEs @@ -1104,7 +1104,7 @@ def check(): tracker.add("codex", "Codex CLI") tracker.add("auggie", "Auggie CLI") tracker.add("roo", "Roo Code") - tracker.add("codebuddy", "CodeBuddy CLI") + tracker.add("codebuddy", "CodeBuddy") git_ok = check_tool_for_tracker("git", tracker) claude_ok = check_tool_for_tracker("claude", tracker)