-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhooks.json
More file actions
42 lines (42 loc) · 1.19 KB
/
hooks.json
File metadata and controls
42 lines (42 loc) · 1.19 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
{
"version": "1.0.0",
"hooks": {
"pre-message": {
"description": "Retrieve context before processing message",
"command": "node",
"args": ["{{PROJECT_ROOT}}/.claude/hooks/pre-message.js"],
"env": {
"PROJECT_ROOT": "{{PROJECT_ROOT}}",
"USER_MESSAGE": "{{MESSAGE}}"
}
},
"on-task-complete": {
"description": "Save context and update Linear when tasks complete",
"triggers": ["task_done", "todo_complete", "completed", "finished"],
"command": "node",
"args": ["{{PROJECT_ROOT}}/.claude/hooks/on-task-complete.js"],
"enabled": true
},
"linear-update": {
"description": "Auto-update Linear tasks",
"triggers": ["STA-", "completed", "implemented", "in progress", "blocked"],
"command": "node",
"args": ["{{PROJECT_ROOT}}/.claude/hooks/linear-update-hook.js"],
"enabled": true
}
},
"settings": {
"linear": {
"enabled": true,
"api_key_env": "LINEAR_API_KEY",
"auto_update": true,
"update_on_complete": true
},
"logging": {
"enabled": true,
"log_dir": "~/.stackmemory/logs",
"max_log_size": 10485760,
"rotate_logs": true
}
}
}