Skip to content
Open
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
5 changes: 4 additions & 1 deletion plugin/plugin.json → plugin/.github/plugin.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
13 changes: 7 additions & 6 deletions plugin/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -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": [
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure its supposed to be lowercase? According to the docs it was correct before as SessionStart.
https://code.visualstudio.com/docs/copilot/customization/hooks#_sessionstart

Wouldnt be suprised if the vscode docs have errors though.

{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/ensure-instructions.sh",
"windows": "powershell -ExecutionPolicy Bypass -File ${CLAUDE_PLUGIN_ROOT}/scripts/ensure-instructions.ps1"
}
]
}
Expand Down
Empty file modified plugin/scripts/ensure-instructions.ps1
100644 → 100755
Empty file.
Empty file modified plugin/scripts/ensure-instructions.sh
100644 → 100755
Empty file.