From c3d701f21d4104881c899df4cdf4fa6966675d73 Mon Sep 17 00:00:00 2001 From: Ran Romano Date: Tue, 14 Apr 2026 23:11:48 +0300 Subject: [PATCH] Plugin structure fixes --- plugin/{ => .github}/plugin.json | 5 ++++- plugin/hooks/hooks.json | 13 +++++++------ plugin/scripts/ensure-instructions.ps1 | 0 plugin/scripts/ensure-instructions.sh | 0 4 files changed, 11 insertions(+), 7 deletions(-) rename plugin/{ => .github}/plugin.json (66%) mode change 100644 => 100755 plugin/scripts/ensure-instructions.ps1 mode change 100644 => 100755 plugin/scripts/ensure-instructions.sh diff --git a/plugin/plugin.json b/plugin/.github/plugin.json similarity index 66% rename from plugin/plugin.json rename to plugin/.github/plugin.json index 0b5465f..d956885 100644 --- a/plugin/plugin.json +++ b/plugin/.github/plugin.json @@ -1,5 +1,8 @@ { "name": "jfrog", "description": "JFrog Platform integration with MCP, security skills, and supply-chain best practices", - "version": "0.1.0" + "version": "0.1.0", + "hooks": [ + "./hooks/hooks.json" + ] } diff --git a/plugin/hooks/hooks.json b/plugin/hooks/hooks.json index fefc980..c2d4377 100644 --- a/plugin/hooks/hooks.json +++ b/plugin/hooks/hooks.json @@ -1,10 +1,11 @@ { - "hooks": { - "SessionStart": [ - { - "type": "command", - "command": "${CLAUDE_PLUGIN_ROOT}/scripts/ensure-instructions.sh", - "windows": "powershell -ExecutionPolicy Bypass -File ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-instructions.ps1" + "version": 1, + "hooks": { + "sessionStart": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/scripts/ensure-instructions.sh", + "windows": "powershell -ExecutionPolicy Bypass -File ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-instructions.ps1" } ] } diff --git a/plugin/scripts/ensure-instructions.ps1 b/plugin/scripts/ensure-instructions.ps1 old mode 100644 new mode 100755 diff --git a/plugin/scripts/ensure-instructions.sh b/plugin/scripts/ensure-instructions.sh old mode 100644 new mode 100755