Skip to content
47 linesCodeBlameRaw
1{
2 "description": "Records the session on g1t through the g1t CLI: prompts, tool names and what they were called with (never what they returned), the skills used, the files, commits and branches touched, pushes, each subagent as a session of its own with its task and final message, and when it starts and ends. Gives Claude the current issue's work context at the start, and each subagent its own g1t session.",
3 "hooks": {
4 "SessionStart": [
5 {
6 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
7 }
8 ],
9 "UserPromptSubmit": [
10 {
11 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
12 }
13 ],
14 "PreToolUse": [
15 {
16 "matcher": "Agent|Task|Bash|mcp__plugin_g1t_g1t__issue|mcp__g1t__issue",
17 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
18 }
19 ],
20 "PostToolUse": [
21 {
22 "matcher": "*",
23 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
24 }
25 ],
26 "SubagentStart": [
27 {
28 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
29 }
30 ],
31 "SubagentStop": [
32 {
33 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
34 }
35 ],
36 "Stop": [
37 {
38 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
39 }
40 ],
41 "SessionEnd": [
42 {
43 "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }]
44 }
45 ]
46 }
47}