Skip to content

Commit 5066147

Browse files
committed
feat: enable hooks
1 parent 60540b5 commit 5066147

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

hooks/hooks.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
{
22
"description": "Very Good AI Flutter Plugin hooks for Dart and Flutter development",
33
"hooks": {
4+
"PreToolUse": [
5+
{
6+
"matcher": "mcp__very-good-cli__.*",
7+
"hooks": [
8+
{
9+
"type": "command",
10+
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-vgv-cli.sh",
11+
"timeout": 10
12+
}
13+
]
14+
},
15+
{
16+
"matcher": "Bash",
17+
"hooks": [
18+
{
19+
"type": "command",
20+
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/block-cli-workarounds.sh",
21+
"timeout": 10
22+
}
23+
]
24+
}
25+
],
426
"PostToolUse": [
527
{
628
"matcher": "Edit|Write",
@@ -19,4 +41,5 @@
1941
}
2042
]
2143
}
22-
}
44+
}
45+

0 commit comments

Comments
 (0)