-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json
More file actions
71 lines (71 loc) · 1.6 KB
/
Copy pathsettings.json
File metadata and controls
71 lines (71 loc) · 1.6 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
{
"//": "Claude Code settings snippet enabling agent-sync coordination hooks. Merge the `hooks` block into your repo's .claude/settings.json. This variant assumes the `agent-sync` console script is on PATH (install agent-sync first; see the README). For a no-install variant that calls the skill script directly, see settings.skill-path.json below.",
"hooks": {
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "agent-sync hook session-start"
}
]
}
],
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "agent-sync hook user-prompt-submit"
}
]
}
],
"PreToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "agent-sync hook pre-tool-use"
}
]
}
],
"PostToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [
{
"type": "command",
"command": "agent-sync hook post-tool-use"
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "agent-sync hook stop"
}
]
}
],
"SessionEnd": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "agent-sync hook session-end"
}
]
}
]
}
}