-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhooks.json.example
More file actions
45 lines (45 loc) · 1.38 KB
/
Copy pathhooks.json.example
File metadata and controls
45 lines (45 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"_comment": "Example Antigravity lifecycle hooks configuration for agystack. Path resolution: Hooks run from the active workspace root. When installed as a global plugin, reference the script via absolute path with ~ expansion (python3 ~/.gemini/config/plugins/agystack/skills/poteto-mode/scripts/hooks/...) or ensure AGYSTACK_PLUGIN_DIR is configured in your environment.",
"agystack-delegation": {
"PreToolUse": [
{
"matcher": "write_to_file|replace_file_content",
"hooks": [
{
"type": "command",
"command": "python3 ~/.gemini/config/plugins/agystack/skills/poteto-mode/scripts/hooks/pre_tool_delegation.py",
"timeout": 5
}
]
}
]
},
"agystack-safety": {
"PreToolUse": [
{
"matcher": "run_command",
"hooks": [
{
"type": "command",
"command": "python3 ~/.gemini/config/plugins/agystack/skills/poteto-mode/scripts/hooks/pre_tool_safety.py",
"timeout": 5
}
]
}
]
},
"agystack-formatter": {
"PostToolUse": [
{
"matcher": "write_to_file",
"hooks": [
{
"type": "command",
"command": "python3 ~/.gemini/config/plugins/agystack/skills/poteto-mode/scripts/hooks/post_tool_lint.py",
"timeout": 15
}
]
}
]
}
}