Skip to content

Commit 74859a8

Browse files
YoniMelkiclaude
andauthored
AX-1603 - Enforce lowercase @jfrog/agent-guard scope (case-sensitivity fix) (#19)
## AX-1603 — Fix `@jfrog/agent-guard` case-sensitivity Jira: https://jfrog-int.atlassian.net/browse/AX-1603 Users were ending up with two casings of the install command — `@jfrog/agent-guard` vs `@JFrog/agent-guard`. npm scopes are case-sensitive and the published package is the lowercase `@jfrog/agent-guard`; the capitalized brand variant points at a different/nonexistent scope. The templates already hard-code lowercase, but the agents (Claude/Cursor/Copilot) sometimes auto-capitalize the "JFrog" brand when generating the command. ### Change - Add an explicit **Key Rules** entry: always write the scope lowercase as `@jfrog/agent-guard`, never `@JFrog/agent-guard`. - Bump the plugin patch version. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 6eedfeb commit 74859a8

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

.cursor-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"description": "JFrog Platform plugins for Cursor",
9-
"version": "0.5.2",
9+
"version": "0.5.3",
1010
"pluginRoot": "plugins"
1111
},
1212
"plugins": [

plugins/jfrog/.cursor-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jfrog",
33
"displayName": "JFrog Platform",
4-
"version": "0.5.2",
4+
"version": "0.5.3",
55
"description": "JFrog Platform integration with MCP, security skills, supply-chain best practices, and JFrog Agent Guard governance for adding, removing, and listing MCP servers.",
66
"author": {
77
"name": "JFrog",

plugins/jfrog/templates/jfrog-mcp-management.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,12 @@ the display name.
365365

366366
## Key Rules
367367

368+
- **Package scope is case-sensitive — ALWAYS write it lowercase as
369+
`@jfrog/agent-guard`, NEVER `@JFrog/agent-guard`.** npm scopes are
370+
case-sensitive; the published package is the lowercase
371+
`@jfrog/agent-guard`. Capitalizing the brand (`@JFrog`) points at a
372+
different/nonexistent scope and breaks the command. Use the exact
373+
lowercase string in every command and config entry.
368374
- **`npx` arg order:** `--yes`, `--registry <URL>`,
369375
`@jfrog/agent-guard`, then agent guard flags. Both `--yes` and
370376
`--registry` MUST precede the package name or `npx` falls back to

0 commit comments

Comments
 (0)