Skip to content

Commit 719e4ec

Browse files
committed
feat(config): enable gemini lifecycle hooks
1 parent 76cb129 commit 719e4ec

1 file changed

Lines changed: 53 additions & 53 deletions

File tree

.gemini/settings.json

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -3,59 +3,59 @@
33
"enableAgents": true
44
},
55
"hooks": {
6-
// "BeforeAgent": [
7-
// {
8-
// "matcher": "*",
9-
// "hooks": [
10-
// {
11-
// "name": "log-before-agent",
12-
// "type": "command",
13-
// "command": "python3 .gemini/hooks/log.py"
14-
// }
15-
// ]
16-
// }
17-
// ],
18-
// "AfterTool": [
19-
// {
20-
// "matcher": "*",
21-
// "hooks": [
22-
// {
23-
// "name": "log-after-tool",
24-
// "type": "command",
25-
// "command": "python3 .gemini/hooks/log.py"
26-
// }
27-
// ]
28-
// }
29-
// ],
30-
// "SessionStart": [
31-
// {
32-
// "matcher": "*",
33-
// "hooks": [
34-
// {
35-
// "name": "startup",
36-
// "type": "command",
37-
// "command": "python3 .gemini/hooks/session.py"
38-
// },
39-
// {
40-
// "name": "welcome-message",
41-
// "type": "command",
42-
// "command": "python3 .gemini/hooks/welcome.py"
43-
// }
44-
// ]
45-
// }
46-
// ],
47-
// "AfterModel": [
48-
// {
49-
// "matcher": "*",
50-
// "hooks": [
51-
// {
52-
// "name": "log-model-output",
53-
// "type": "command",
54-
// "command": "python3 .gemini/hooks/log.py"
55-
// }
56-
// ]
57-
// }
58-
// ],
6+
"BeforeAgent": [
7+
{
8+
"matcher": "*",
9+
"hooks": [
10+
{
11+
"name": "log-before-agent",
12+
"type": "command",
13+
"command": "python3 .gemini/hooks/log.py"
14+
}
15+
]
16+
}
17+
],
18+
"AfterTool": [
19+
{
20+
"matcher": "*",
21+
"hooks": [
22+
{
23+
"name": "log-after-tool",
24+
"type": "command",
25+
"command": "python3 .gemini/hooks/log.py"
26+
}
27+
]
28+
}
29+
],
30+
"SessionStart": [
31+
{
32+
"matcher": "*",
33+
"hooks": [
34+
{
35+
"name": "startup",
36+
"type": "command",
37+
"command": "python3 .gemini/hooks/session.py"
38+
},
39+
{
40+
"name": "welcome-message",
41+
"type": "command",
42+
"command": "python3 .gemini/hooks/welcome.py"
43+
}
44+
]
45+
}
46+
],
47+
"AfterModel": [
48+
{
49+
"matcher": "*",
50+
"hooks": [
51+
{
52+
"name": "log-model-output",
53+
"type": "command",
54+
"command": "python3 .gemini/hooks/log.py"
55+
}
56+
]
57+
}
58+
],
5959
"AfterAgent": [
6060
{
6161
"matcher": "*",

0 commit comments

Comments
 (0)