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