From d61af22d442adb1fd44245c9ba7a2337761c7b23 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 27 Sep 2025 13:03:11 +0530 Subject: [PATCH 1/4] feat: Add Cline support to Specify CLI - Add 'cline': 'Cline' to AI_CHOICES dictionary - Add 'cline': '.clinerules/' to agent_folder_map for security notices - Update --ai option help text to include cline Similar to Roo Code support added in previous PR, Cline uses .clinerules folder for config/rules/commands. --- scripts/bash/update-agent-context.sh | 15 ++++++++++++--- scripts/powershell/update-agent-context.ps1 | 9 ++++++--- src/specify_cli/__init__.py | 6 ++++-- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/scripts/bash/update-agent-context.sh b/scripts/bash/update-agent-context.sh index d3cc422ed2..c9466a6124 100644 --- a/scripts/bash/update-agent-context.sh +++ b/scripts/bash/update-agent-context.sh @@ -69,6 +69,7 @@ WINDSURF_FILE="$REPO_ROOT/.windsurf/rules/specify-rules.md" KILOCODE_FILE="$REPO_ROOT/.kilocode/rules/specify-rules.md" AUGGIE_FILE="$REPO_ROOT/.augment/rules/specify-rules.md" ROO_FILE="$REPO_ROOT/.roo/rules/specify-rules.md" +CLINE_FILE="$REPO_ROOT/.clinerules/rules/specify-rules.md" # Template file TEMPLATE_FILE="$REPO_ROOT/.specify/templates/agent-file-template.md" @@ -580,9 +581,12 @@ update_specific_agent() { roo) update_agent_file "$ROO_FILE" "Roo Code" ;; + cline) + update_agent_file "$CLINE_FILE" "Cline" + ;; *) log_error "Unknown agent type '$agent_type'" - log_error "Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo" + log_error "Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|cline" exit 1 ;; esac @@ -641,7 +645,12 @@ update_all_existing_agents() { update_agent_file "$ROO_FILE" "Roo Code" found_agent=true fi - + + if [[ -f "$CLINE_FILE" ]]; then + update_agent_file "$CLINE_FILE" "Cline" + found_agent=true + fi + # If no agent files exist, create a default Claude file if [[ "$found_agent" == false ]]; then log_info "No existing agent files found, creating default Claude file..." @@ -665,7 +674,7 @@ print_summary() { fi echo - log_info "Usage: $0 [claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo]" + log_info "Usage: $0 [claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|cline]" } #============================================================================== diff --git a/scripts/powershell/update-agent-context.ps1 b/scripts/powershell/update-agent-context.ps1 index 8f4830a95e..ffa7fbd6c9 100644 --- a/scripts/powershell/update-agent-context.ps1 +++ b/scripts/powershell/update-agent-context.ps1 @@ -25,7 +25,7 @@ Relies on common helper functions in common.ps1 #> param( [Parameter(Position=0)] - [ValidateSet('claude','gemini','copilot','cursor','qwen','opencode','codex','windsurf','kilocode','auggie','roo')] + [ValidateSet('claude','gemini','copilot','cursor','qwen','opencode','codex','windsurf','kilocode','auggie','roo','cline')] [string]$AgentType ) @@ -54,6 +54,7 @@ $WINDSURF_FILE = Join-Path $REPO_ROOT '.windsurf/rules/specify-rules.md' $KILOCODE_FILE = Join-Path $REPO_ROOT '.kilocode/rules/specify-rules.md' $AUGGIE_FILE = Join-Path $REPO_ROOT '.augment/rules/specify-rules.md' $ROO_FILE = Join-Path $REPO_ROOT '.roo/rules/specify-rules.md' +$CLINE_FILE = Join-Path $REPO_ROOT '.clinerules/rules/specify-rules.md' $TEMPLATE_FILE = Join-Path $REPO_ROOT '.specify/templates/agent-file-template.md' @@ -376,7 +377,8 @@ 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' } - default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo'; return $false } + 'cline' { Update-AgentFile -TargetFile $CLINE_FILE -AgentName 'Cline' } + default { Write-Err "Unknown agent type '$Type'"; Write-Err 'Expected: claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|cline'; return $false } } } @@ -393,6 +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 $CLINE_FILE) { if (-not (Update-AgentFile -TargetFile $CLINE_FILE -AgentName 'Cline')) { $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 } @@ -407,7 +410,7 @@ function Print-Summary { if ($NEW_FRAMEWORK) { Write-Host " - Added framework: $NEW_FRAMEWORK" } if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" } Write-Host '' - Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo]' + Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor|qwen|opencode|codex|windsurf|kilocode|auggie|roo|cline]' } function Main { diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.py index a5be99d74b..0050035cd1 100644 --- a/src/specify_cli/__init__.py +++ b/src/specify_cli/__init__.py @@ -77,6 +77,7 @@ def _github_auth_headers(cli_token: str | None = None) -> dict: "kilocode": "Kilo Code", "auggie": "Auggie CLI", "roo": "Roo Code", + "cline": "Cline", } # Add script type choices SCRIPT_TYPE_CHOICES = {"sh": "POSIX Shell (bash/zsh)", "ps": "PowerShell"} @@ -750,7 +751,7 @@ def ensure_executable_scripts(project_path: Path, tracker: StepTracker | None = @app.command() def init( project_name: str = typer.Argument(None, help="Name for your new project directory (optional if using --here, or use '.' for current directory)"), - ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor, qwen, opencode, codex, windsurf, kilocode, or auggie"), + ai_assistant: str = typer.Option(None, "--ai", help="AI assistant to use: claude, gemini, copilot, cursor, qwen, opencode, codex, windsurf, kilocode, auggie, roo, or cline"), script_type: str = typer.Option(None, "--script", help="Script type to use: sh or ps"), ignore_agent_tools: bool = typer.Option(False, "--ignore-agent-tools", help="Skip checks for AI agent tools like Claude Code"), no_git: bool = typer.Option(False, "--no-git", help="Skip git repository initialization"), @@ -1030,7 +1031,8 @@ def init( "kilocode": ".kilocode/", "auggie": ".augment/", "copilot": ".github/", - "roo": ".roo/" + "roo": ".roo/", + "cline": ".clinerules/" } if selected_ai in agent_folder_map: From a127fc665125e346882b015968001fc156a86b47 Mon Sep 17 00:00:00 2001 From: Sanath Kumar U Date: Sat, 27 Sep 2025 13:26:43 +0530 Subject: [PATCH 2/4] feat: add support for Cline AI assistant - Add Cline to the list of supported AI assistants in build scripts - Include Cline-specific release packages (sh and ps variants) - Update README with Cline compatibility and CLI option details This expands Spec Kit's compatibility to include Cline, enabling users to generate project templates tailored for this AI assistant. --- .github/workflows/scripts/create-github-release.sh | 3 +++ .github/workflows/scripts/create-release-packages.sh | 5 ++++- README.md | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/create-github-release.sh b/.github/workflows/scripts/create-github-release.sh index 0257520f57..af4e4b0905 100644 --- a/.github/workflows/scripts/create-github-release.sh +++ b/.github/workflows/scripts/create-github-release.sh @@ -38,5 +38,8 @@ gh release create "$VERSION" \ .genreleases/spec-kit-template-auggie-ps-"$VERSION".zip \ .genreleases/spec-kit-template-roo-sh-"$VERSION".zip \ .genreleases/spec-kit-template-roo-ps-"$VERSION".zip \ + .genreleases/spec-kit-template-cline-sh-"$VERSION".zip \ + .genreleases/spec-kit-template-cline-ps-"$VERSION".zip \ + --title "Spec Kit Templates - $VERSION_NO_V" \ --notes-file release_notes.md \ No newline at end of file diff --git a/.github/workflows/scripts/create-release-packages.sh b/.github/workflows/scripts/create-release-packages.sh index 1a12e55823..5c5bc6773a 100644 --- a/.github/workflows/scripts/create-release-packages.sh +++ b/.github/workflows/scripts/create-release-packages.sh @@ -172,13 +172,16 @@ build_variant() { roo) mkdir -p "$base_dir/.roo/commands" generate_commands roo md "\$ARGUMENTS" "$base_dir/.roo/commands" "$script" ;; + cline) + mkdir -p "$base_dir/.clinerules/commands" + generate_commands cline md "\$ARGUMENTS" "$base_dir/.clinerules/commands" "$script" ;; esac ( cd "$base_dir" && zip -r "../spec-kit-template-${agent}-${script}-${NEW_VERSION}.zip" . ) echo "Created $GENRELEASES_DIR/spec-kit-template-${agent}-${script}-${NEW_VERSION}.zip" } # Determine agent list -ALL_AGENTS=(claude gemini copilot cursor qwen opencode windsurf codex kilocode auggie roo) +ALL_AGENTS=(claude gemini copilot cursor qwen opencode windsurf codex kilocode auggie roo cline) ALL_SCRIPTS=(sh ps) diff --git a/README.md b/README.md index b4e91c3774..1b28fb938c 100644 --- a/README.md +++ b/README.md @@ -133,6 +133,7 @@ Want to see Spec Kit in action? Watch our [video overview](https://www.youtube.c | [Kilo Code](https://github.com/Kilo-Org/kilocode) | ✅ | | | [Auggie CLI](https://docs.augmentcode.com/cli/overview) | ✅ | | | [Roo Code](https://roocode.com/) | ✅ | | +| [Cline](https://cline.bot/) | ✅ | | | [Codex CLI](https://github.com/openai/codex) | ⚠️ | Codex [does not support](https://github.com/openai/codex/issues/2890) custom arguments for slash commands. | ## 🔧 Specify CLI Reference @@ -151,7 +152,7 @@ The `specify` command supports the following options: | Argument/Option | Type | Description | |------------------------|----------|------------------------------------------------------------------------------| | `` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) | -| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, or `roo` | +| `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo` or `cline` | | `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) | | `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code | | `--no-git` | Flag | Skip git repository initialization | From eb4fc1167ea654aa25a13e08bdeacdb4d22c1ccf Mon Sep 17 00:00:00 2001 From: kmhalvin <53615235+kmhalvin@users.noreply.github.com> Date: Thu, 4 Dec 2025 06:54:16 +0700 Subject: [PATCH 3/4] reduce changes --- .../scripts/create-release-packages.sh | 14 +++---- README.md | 22 +++++----- scripts/bash/update-agent-context.sh | 16 ++++---- src/specify_cli/__init__.py | 40 +++++++++---------- 4 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.github/workflows/scripts/create-release-packages.sh b/.github/workflows/scripts/create-release-packages.sh index 9bcb233c94..d0d41a29da 100755 --- a/.github/workflows/scripts/create-release-packages.sh +++ b/.github/workflows/scripts/create-release-packages.sh @@ -67,7 +67,7 @@ generate_commands() { } in_agent_scripts && /^[a-zA-Z]/ { in_agent_scripts=0 } ') - + # Replace {SCRIPT} placeholder with the script command body=$(printf '%s\n' "$file_content" | sed "s|{SCRIPT}|${script_command}|g") @@ -75,7 +75,7 @@ generate_commands() { if [[ -n $agent_script_command ]]; then body=$(printf '%s\n' "$body" | sed "s|{AGENT_SCRIPT}|${agent_script_command}|g") fi - + # Remove the scripts: and agent_scripts: sections from frontmatter while preserving YAML structure body=$(printf '%s\n' "$body" | awk ' /^---$/ { print; if (++dash_count == 1) in_frontmatter=1; else in_frontmatter=0; next } @@ -104,14 +104,14 @@ generate_commands() { generate_copilot_prompts() { local agents_dir=$1 prompts_dir=$2 mkdir -p "$prompts_dir" - + # Generate a .prompt.md file for each .agent.md file for agent_file in "$agents_dir"/speckit.*.agent.md; do [[ -f "$agent_file" ]] || continue - + local basename=$(basename "$agent_file" .agent.md) local prompt_file="$prompts_dir/${basename}.prompt.md" - + # Create prompt file with agent frontmatter cat > "$prompt_file" < .specify/templates"; } - + # NOTE: We substitute {ARGS} internally. Outward tokens differ intentionally: # * Markdown/prompt (claude, copilot, cursor-agent, opencode): $ARGUMENTS # * TOML (gemini, qwen): {{args}} @@ -226,7 +226,7 @@ build_variant() { } # Determine agent list -ALL_AGENTS=(claude gemini copilot cursor qwen opencode windsurf codex kilocode auggie roo cline codebuddy amp shai q bob qoder) +ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo cline codebuddy amp shai q bob qoder) ALL_SCRIPTS=(sh ps) norm_list() { diff --git a/README.md b/README.md index 7039dac222..f7198bbf33 100644 --- a/README.md +++ b/README.md @@ -169,18 +169,18 @@ The `specify` command supports the following options: ### `specify init` Arguments & Options -| Argument/Option | Type | Description | -|------------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| `` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) | +| Argument/Option | Type | Description | +|------------------------|----------|------------------------------------------------------------------------------| +| `` | Argument | Name for your new project directory (optional if using `--here`, or use `.` for current directory) | | `--ai` | Option | AI assistant to use: `claude`, `gemini`, `copilot`, `cursor-agent`, `qwen`, `opencode`, `codex`, `windsurf`, `kilocode`, `auggie`, `roo`, `cline`, `codebuddy`, `amp`, `shai`, `q`, `bob`, or `qoder` | -| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) | -| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code | -| `--no-git` | Flag | Skip git repository initialization | -| `--here` | Flag | Initialize project in the current directory instead of creating a new one | -| `--force` | Flag | Force merge/overwrite when initializing in current directory (skip confirmation) | -| `--skip-tls` | Flag | Skip SSL/TLS verification (not recommended) | -| `--debug` | Flag | Enable detailed debug output for troubleshooting | -| `--github-token` | Option | GitHub token for API requests (or set GH_TOKEN/GITHUB_TOKEN env variable) | +| `--script` | Option | Script variant to use: `sh` (bash/zsh) or `ps` (PowerShell) | +| `--ignore-agent-tools` | Flag | Skip checks for AI agent tools like Claude Code | +| `--no-git` | Flag | Skip git repository initialization | +| `--here` | Flag | Initialize project in the current directory instead of creating a new one | +| `--force` | Flag | Force merge/overwrite when initializing in current directory (skip confirmation) | +| `--skip-tls` | Flag | Skip SSL/TLS verification (not recommended) | +| `--debug` | Flag | Enable detailed debug output for troubleshooting | +| `--github-token` | Option | GitHub token for API requests (or set GH_TOKEN/GITHUB_TOKEN env variable) | ### Examples diff --git a/scripts/bash/update-agent-context.sh b/scripts/bash/update-agent-context.sh index c6756aac49..da7088fccf 100644 --- a/scripts/bash/update-agent-context.sh +++ b/scripts/bash/update-agent-context.sh @@ -398,15 +398,15 @@ update_existing_agent_file() { # Check if sections exist in the file local has_active_technologies=0 local has_recent_changes=0 - + if grep -q "^## Active Technologies" "$target_file" 2>/dev/null; then has_active_technologies=1 fi - + if grep -q "^## Recent Changes" "$target_file" 2>/dev/null; then has_recent_changes=1 fi - + # Process file line by line local in_tech_section=false local in_changes_section=false @@ -414,7 +414,7 @@ update_existing_agent_file() { local changes_entries_added=false local existing_changes_count=0 local file_ended=false - + while IFS= read -r line || [[ -n "$line" ]]; do # Handle Active Technologies section if [[ "$line" == "## Active Technologies" ]]; then @@ -476,7 +476,7 @@ update_existing_agent_file() { printf '%s\n' "${new_tech_entries[@]}" >> "$temp_file" tech_entries_added=true fi - + # If sections don't exist, add them at the end of the file if [[ $has_active_technologies -eq 0 ]] && [[ ${#new_tech_entries[@]} -gt 0 ]]; then echo "" >> "$temp_file" @@ -484,7 +484,7 @@ update_existing_agent_file() { printf '%s\n' "${new_tech_entries[@]}" >> "$temp_file" tech_entries_added=true fi - + if [[ $has_recent_changes -eq 0 ]] && [[ -n "$new_change_entry" ]]; then echo "" >> "$temp_file" echo "## Recent Changes" >> "$temp_file" @@ -723,12 +723,12 @@ update_all_existing_agents() { update_agent_file "$Q_FILE" "Amazon Q Developer CLI" found_agent=true fi - + if [[ -f "$BOB_FILE" ]]; then update_agent_file "$BOB_FILE" "IBM Bob" found_agent=true fi - + # If no agent files exist, create a default Claude file if [[ "$found_agent" == false ]]; then log_info "No existing agent files found, creating default Claude file..." diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.py index 5e215e7655..df5ca5f93a 100644 --- a/src/specify_cli/__init__.py +++ b/src/specify_cli/__init__.py @@ -68,7 +68,7 @@ def _github_auth_headers(cli_token: str | None = None) -> dict: def _parse_rate_limit_headers(headers: httpx.Headers) -> dict: """Extract and parse GitHub rate-limit headers.""" info = {} - + # Standard GitHub rate-limit headers if "X-RateLimit-Limit" in headers: info["limit"] = headers.get("X-RateLimit-Limit") @@ -81,7 +81,7 @@ def _parse_rate_limit_headers(headers: httpx.Headers) -> dict: info["reset_epoch"] = reset_epoch info["reset_time"] = reset_time info["reset_local"] = reset_time.astimezone() - + # Retry-After header (seconds or HTTP-date) if "Retry-After" in headers: retry_after = headers.get("Retry-After") @@ -90,16 +90,16 @@ def _parse_rate_limit_headers(headers: httpx.Headers) -> dict: except ValueError: # HTTP-date format - not implemented, just store as string info["retry_after"] = retry_after - + return info def _format_rate_limit_error(status_code: int, headers: httpx.Headers, url: str) -> str: """Format a user-friendly error message with rate-limit information.""" rate_info = _parse_rate_limit_headers(headers) - + lines = [f"GitHub API returned status {status_code} for {url}"] lines.append("") - + if rate_info: lines.append("[bold]Rate Limit Information:[/bold]") if "limit" in rate_info: @@ -112,14 +112,14 @@ def _format_rate_limit_error(status_code: int, headers: httpx.Headers, url: str) if "retry_after_seconds" in rate_info: lines.append(f" • Retry after: {rate_info['retry_after_seconds']} seconds") lines.append("") - + # Add troubleshooting guidance lines.append("[bold]Troubleshooting Tips:[/bold]") lines.append(" • If you're on a shared CI or corporate environment, you may be rate-limited.") lines.append(" • Consider using a GitHub token via --github-token or the GH_TOKEN/GITHUB_TOKEN") lines.append(" environment variable to increase rate limits.") lines.append(" • Authenticated requests have a limit of 5,000/hour vs 60/hour for unauthenticated.") - + return "\n".join(lines) # Agent configuration with name, folder, install URL, and CLI tool requirement @@ -489,11 +489,11 @@ def run_command(cmd: list[str], check_return: bool = True, capture: bool = False def check_tool(tool: str, tracker: StepTracker = None) -> bool: """Check if a tool is installed. Optionally update tracker. - + Args: tool: Name of the tool to check tracker: Optional StepTracker to update with results - + Returns: True if tool is found, False otherwise """ @@ -509,13 +509,13 @@ def check_tool(tool: str, tracker: StepTracker = None) -> bool: return True found = shutil.which(tool) is not None - + if tracker: if found: tracker.complete(tool, "available") else: tracker.error(tool, "not found") - + return found def is_git_repo(path: Path = None) -> bool: @@ -540,11 +540,11 @@ def is_git_repo(path: Path = None) -> bool: def init_git_repo(project_path: Path, quiet: bool = False) -> Tuple[bool, Optional[str]]: """Initialize a git repository in the specified path. - + Args: project_path: Path to initialize git repository in quiet: if True suppress console output (tracker handles status) - + Returns: Tuple of (success: bool, error_message: Optional[str]) """ @@ -566,7 +566,7 @@ def init_git_repo(project_path: Path, quiet: bool = False) -> Tuple[bool, Option error_msg += f"\nError: {e.stderr.strip()}" elif e.stdout: error_msg += f"\nOutput: {e.stdout.strip()}" - + if not quiet: console.print(f"[red]Error initializing git repository:[/red] {e}") return False, error_msg @@ -1058,7 +1058,7 @@ def init( # Create options dict for selection (agent_key: display_name) ai_choices = {key: config["name"] for key, config in AGENT_CONFIG.items()} selected_ai = select_with_arrows( - ai_choices, + ai_choices, "Choose your AI assistant:", "copilot" ) @@ -1293,9 +1293,9 @@ def version(): """Display version and system information.""" import platform import importlib.metadata - + show_banner() - + # Get CLI version from package metadata cli_version = "unknown" try: @@ -1311,15 +1311,15 @@ def version(): cli_version = data.get("project", {}).get("version", "unknown") except Exception: pass - + # Fetch latest template release version repo_owner = "github" repo_name = "spec-kit" api_url = f"https://api.github.com/repos/{repo_owner}/{repo_name}/releases/latest" - + template_version = "unknown" release_date = "unknown" - + try: response = client.get( api_url, From d529ee158c8fb7718d2cdfc0a83d051dc9392064 Mon Sep 17 00:00:00 2001 From: kmhalvin <53615235+kmhalvin@users.noreply.github.com> Date: Thu, 4 Dec 2025 06:57:39 +0700 Subject: [PATCH 4/4] fix: use cline workflow directory --- .github/workflows/scripts/create-release-packages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/create-release-packages.sh b/.github/workflows/scripts/create-release-packages.sh index d0d41a29da..a8d12a4947 100755 --- a/.github/workflows/scripts/create-release-packages.sh +++ b/.github/workflows/scripts/create-release-packages.sh @@ -200,8 +200,8 @@ build_variant() { mkdir -p "$base_dir/.roo/commands" generate_commands roo md "\$ARGUMENTS" "$base_dir/.roo/commands" "$script" ;; cline) - mkdir -p "$base_dir/.clinerules/commands" - generate_commands cline md "\$ARGUMENTS" "$base_dir/.clinerules/commands" "$script" ;; + mkdir -p "$base_dir/.clinerules/workflows" + generate_commands cline md "\$ARGUMENTS" "$base_dir/.clinerules/workflows" "$script" ;; codebuddy) mkdir -p "$base_dir/.codebuddy/commands" generate_commands codebuddy md "\$ARGUMENTS" "$base_dir/.codebuddy/commands" "$script" ;;