| 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), pushes, and when it starts and ends. Gives Claude the current issue's work context at the start.", |
| 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 | "PostToolUse": [ |
| 15 | { |
| 16 | "matcher": "*", |
| 17 | "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }] |
| 18 | } |
| 19 | ], |
| 20 | "Stop": [ |
| 21 | { |
| 22 | "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }] |
| 23 | } |
| 24 | ], |
| 25 | "SessionEnd": [ |
| 26 | { |
| 27 | "hooks": [{ "type": "command", "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/g1t.mjs\"", "timeout": 5 }] |
| 28 | } |
| 29 | ] |
| 30 | } |
| 31 | } |