create-sdd-project 0.8.5 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -24,6 +24,26 @@
|
|
|
24
24
|
}
|
|
25
25
|
]
|
|
26
26
|
}
|
|
27
|
+
],
|
|
28
|
+
"Notification": [
|
|
29
|
+
{
|
|
30
|
+
"matcher": "permission_prompt",
|
|
31
|
+
"hooks": [
|
|
32
|
+
{
|
|
33
|
+
"type": "command",
|
|
34
|
+
"command": "osascript -e 'display notification \"Waiting for approval\" with title \"Claude Code\"' 2>/dev/null || notify-send 'Claude Code' 'Waiting for approval' 2>/dev/null || printf '\\a'"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"matcher": "idle_prompt",
|
|
40
|
+
"hooks": [
|
|
41
|
+
{
|
|
42
|
+
"type": "command",
|
|
43
|
+
"command": "osascript -e 'display notification \"Task finished — waiting for input\" with title \"Claude Code\"' 2>/dev/null || notify-send 'Claude Code' 'Task finished — waiting for input' 2>/dev/null || printf '\\a'"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
27
47
|
]
|
|
28
48
|
}
|
|
29
49
|
}
|
|
@@ -18,38 +18,5 @@
|
|
|
18
18
|
"Grep"
|
|
19
19
|
],
|
|
20
20
|
"deny": []
|
|
21
|
-
},
|
|
22
|
-
"hooks": {
|
|
23
|
-
"Notification": [
|
|
24
|
-
{
|
|
25
|
-
"matcher": "permission_prompt",
|
|
26
|
-
"hooks": [
|
|
27
|
-
{
|
|
28
|
-
"type": "command",
|
|
29
|
-
"command": "osascript -e 'display notification \"Permission needed\" with title \"Claude Code\" with subtitle \"Waiting for approval\"'"
|
|
30
|
-
}
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"matcher": "idle_prompt",
|
|
35
|
-
"hooks": [
|
|
36
|
-
{
|
|
37
|
-
"type": "command",
|
|
38
|
-
"command": "osascript -e 'display notification \"Task finished, waiting for input\" with title \"Claude Code\"'"
|
|
39
|
-
}
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"Stop": [
|
|
44
|
-
{
|
|
45
|
-
"matcher": "",
|
|
46
|
-
"hooks": [
|
|
47
|
-
{
|
|
48
|
-
"type": "command",
|
|
49
|
-
"command": "osascript -e 'display notification \"Response complete\" with title \"Claude Code\"'"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
21
|
}
|
|
55
22
|
}
|