-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathsettings.json
More file actions
74 lines (74 loc) · 2.43 KB
/
settings.json
File metadata and controls
74 lines (74 loc) · 2.43 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"hooks": {
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"name": "kit-init",
"type": "command",
"command": "node ${extensionPath}${/}hooks${/}session-start.js",
"description": "Initialize Gemini-Kit",
"timeout": 10000
}
]
}
],
"BeforeAgent": [
{
"matcher": "*",
"hooks": [
{
"name": "kit-context",
"type": "command",
"command": "node ${extensionPath}${/}hooks${/}before-agent.js",
"description": "Inject project context",
"timeout": 10000
}
]
}
],
"BeforeTool": [
{
"matcher": "WriteFile|Edit|RunShellCommand|write_file|edit|run_shell_command",
"hooks": [
{
"name": "kit-security",
"type": "command",
"command": "node ${extensionPath}${/}hooks${/}before-tool.js",
"description": "Security validation (block secrets)",
"timeout": 5000
}
]
}
],
"AfterTool": [
{
"matcher": "WriteFile|Edit|write_file|edit",
"hooks": [
{
"name": "kit-autotest",
"type": "command",
"command": "node ${extensionPath}${/}hooks${/}after-tool.js",
"description": "Auto-run tests after code changes",
"timeout": 60000
}
]
}
],
"SessionEnd": [
{
"matcher": "exit|logout",
"hooks": [
{
"name": "kit-cleanup",
"type": "command",
"command": "node ${extensionPath}${/}hooks${/}session-end.js",
"description": "Save and cleanup session",
"timeout": 10000
}
]
}
]
}
}