Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"name": "jfrog",
"description": "JFrog Platform integration with MCP, security skills, and supply-chain best practices",
"version": "1.0.18",
"version": "1.0.19",
"license": "Apache-2.0",
"source": "plugin",
"categories": [
Expand Down
2 changes: 1 addition & 1 deletion plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jfrog",
"description": "JFrog Platform integration with MCP, security skills, and supply-chain best practices",
"version": "1.0.18",
"version": "1.0.19",
"license": "Apache-2.0",
"author": {
"name": "JFrog",
Expand Down
20 changes: 12 additions & 8 deletions plugin/skills/jfrog-ai-catalog/references/installing-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,18 @@ every choice (`--repo`, target) up front.
**Resolve `<harness>` from the environment check script — never from your model
name.** If `<UA>` is not already known from this session, run
`bash <skill_path>/../jfrog/scripts/check-environment.sh <model-slug>` now and capture
its stdout as `<UA>`. Parse the `tool=<h>` field from `<UA>` and pass it straight
through as `--harness <h>`.

If `tool` is `unknown` or empty, do **not** guess — ask the user for the
desired install path and use `--path <dir>` instead.

If the CLI rejects the harness with `unknown agent`, fall back to asking the
user for `--path <dir>`, the same as the unknown/empty case above.
its stdout as `<UA>`. Parse the `tool=<h>` field from `<UA>` and map it to a
`jf` harness name:

| `tool=` value in `<UA>` | `--harness` for `jf agent plugins` |
|-------------------------|-------------------------------------|
| `claude` | `claude` |
| `cursor` | `cursor` |
| `copilot` | `vscode` |
| `unknown`, empty, or any other | Ask the user |

If `tool` is `unknown`, empty, or not in the table — do **not** guess. Ask
the user for the desired install path and use `--path <dir>` instead.

Choose exactly one install target (these are mutually exclusive):

Expand Down
2 changes: 1 addition & 1 deletion plugin/skills/jfrog/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ compatibility: >-
(CLI) and Tier 3 (jf api) operations; without it, only MCP (Tier 1) is available.
metadata:
role: base
version: "0.28.0"
version: "0.29.0"
---

# JFrog Skill
Expand Down
4 changes: 2 additions & 2 deletions plugin/skills/jfrog/scripts/check-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ canonical_agent_name() {
gemini-cli|gemini) echo "gemini" ;;
goose) echo "goose" ;;
cursor-cli|cursor) echo "cursor" ;;
github-copilot|copilot-cli|copilot) echo "copilot" ;;
github-copilot|copilot-cli|copilot|github_copilot_vscode_agent) echo "copilot" ;;
kilocode) echo "kilocode" ;;
roo-code|roo_code) echo "roo_code" ;;
codex) echo "codex" ;;
Expand Down Expand Up @@ -255,7 +255,7 @@ detect_harness() {
echo "goose"
elif [[ -n "${CURSOR_AGENT:-}" || "${CURSOR_EXTENSION_HOST_ROLE:-}" == "agent-exec" || -n "${CURSOR_CLI:-}" || -n "${CURSOR_TRACE_ID:-}" ]]; then
echo "cursor"
elif [[ -n "${COPILOT_CLI:-}" || -n "${COPILOT_AGENT_SESSION_ID:-}" ]]; then
elif [[ -n "${COPILOT_CLI:-}" || -n "${COPILOT_AGENT_SESSION_ID:-}" || -n "${COPILOT_AGENT:-}" ]]; then
echo "copilot"
elif [[ -n "${KILOCODE_FEATURE:-}" || -n "${KILO_PID:-}" ]]; then
echo "kilocode"
Expand Down
Loading