From d5dd859038a575ee9941f4ea40372f841aed4366 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 15:31:38 +0000 Subject: [PATCH 1/2] Initial plan From 15e309a49e3bdce06f1a42867f8a943be77e1942 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 15:41:33 +0000 Subject: [PATCH 2/2] Fix NPM package URL template formatting in cli-version-checker Add explicit URL formatting rules to prevent AI from adding backticks to package names within URLs. This fixes the issue where URLs like https://www.npmjs.com/package/@anthropic-ai/claude-code were being generated with extra backticks as https://www.npmjs.com/package/`@anthropic-ai/claude-code`. Changes: - Updated "Changelog Links" description from "NPM/GitHub release notes" to "Use plain URLs without backticks" - Added new "URL Formatting Rules" section with explicit instructions: - Use plain URLs without backticks - Do NOT use backticks in URLs - Package names in URLs should not be wrapped in backticks Fixes #3356 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/cli-version-checker.lock.yml | 7 ++++++- .github/workflows/cli-version-checker.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index b9a7c5033ec..76aa45e23ff 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -1294,9 +1294,14 @@ jobs: - **Release Timeline**: dates and intervals - **Changes**: Categorized as Breaking/Features/Fixes/Security/Performance - **Impact Assessment**: Risk level, affected features, migration notes - - **Changelog Links**: NPM/GitHub release notes + - **Changelog Links**: Use plain URLs without backticks - **CLI Changes**: New commands, flags, or removed features discovered via help + **URL Formatting Rules**: + - Use plain URLs: `https://www.npmjs.com/package/@package-name` + - Do NOT use backticks in URLs + - Package names in URLs should not be wrapped in backticks + Template structure: ``` # Update [CLI Name] diff --git a/.github/workflows/cli-version-checker.md b/.github/workflows/cli-version-checker.md index 497a737023c..8891205f658 100644 --- a/.github/workflows/cli-version-checker.md +++ b/.github/workflows/cli-version-checker.md @@ -94,9 +94,14 @@ Include for each updated CLI: - **Release Timeline**: dates and intervals - **Changes**: Categorized as Breaking/Features/Fixes/Security/Performance - **Impact Assessment**: Risk level, affected features, migration notes -- **Changelog Links**: NPM/GitHub release notes +- **Changelog Links**: Use plain URLs without backticks - **CLI Changes**: New commands, flags, or removed features discovered via help +**URL Formatting Rules**: +- Use plain URLs: `https://www.npmjs.com/package/@package-name` +- Do NOT use backticks in URLs +- Package names in URLs should not be wrapped in backticks + Template structure: ``` # Update [CLI Name]