From 0e93d489d17c868d828211cab209272ec3d81360 Mon Sep 17 00:00:00 2001 From: Yoni Melki Date: Tue, 9 Jun 2026 16:23:12 +0300 Subject: [PATCH] AX-1603 - Enforce lowercase @jfrog/agent-guard scope (case-sensitivity fix) Add an explicit Key Rules entry instructing the agent to always emit the package scope lowercase as @jfrog/agent-guard and never capitalize it to @JFrog/agent-guard. npm scopes are case-sensitive; the capitalized brand variant points at a different/nonexistent scope. Bump patch version. Co-Authored-By: Claude Opus 4.8 (1M context) --- .claude-plugin/plugin.json | 2 +- templates/jfrog-mcp-management.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index a157216..67d6122 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -2,7 +2,7 @@ "name": "jfrog", "displayName": "JFrog", "description": "Official JFrog plugin. Connect Claude Code to JFrog to manage, secure, and govern your software supply chain. Give agents the context to build secure, compliant software.", - "version": "0.2.4", + "version": "0.2.5", "author": { "name": "JFrog Ltd.", "email": "devrel@jfrog.com", diff --git a/templates/jfrog-mcp-management.md b/templates/jfrog-mcp-management.md index a14f7c2..1286236 100644 --- a/templates/jfrog-mcp-management.md +++ b/templates/jfrog-mcp-management.md @@ -371,6 +371,12 @@ the display name. ## Key Rules +- **Package scope is case-sensitive — ALWAYS write it lowercase as + `@jfrog/agent-guard`, NEVER `@JFrog/agent-guard`.** npm scopes are + case-sensitive; the published package is the lowercase + `@jfrog/agent-guard`. Capitalizing the brand (`@JFrog`) points at a + different/nonexistent scope and breaks the command. Use the exact + lowercase string in every command and config entry. - **`npx` arg order:** `--yes`, `--registry `, `@jfrog/agent-guard`, then agent guard flags. Both `--yes` and `--registry` MUST precede the package name or `npx` falls back to