Files
Brandon Martin 8269ca9110 feat(plugins): package local extension assets
Materialize self-contained agent, skill, command, and hook directories under each plugin so marketplace installs no longer depend on the repo root.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-01 21:47:36 -05:00

107 lines
2.1 KiB
JSON

{
"PreToolUse": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/pre_tool_use.py"
}
]
}
],
"PostToolUse": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/post_tool_use.py"
}
]
},
{
"matcher": "Edit|MultiEdit|Write",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/lint/check.py"
}
]
}
],
"Notification": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/notification.py --notify"
},
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/discord_notification.py"
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/stop.py --chat"
},
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/discord_notification.py --emoji \u2705"
}
]
}
],
"SubagentStop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/subagent_stop.py"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/user_prompt_submit.py --log-only"
}
]
}
],
"PreCompact": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/pre_compact.py"
}
]
}
],
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "uv run \"${CLAUDE_PLUGIN_ROOT}\"/hooks/session_start.py"
}
]
}
]
}