opencode-probleemwijken 1.2.0 → 1.3.1
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/README.md +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,7 @@ Maak `~/.config/opencode/probleemwijken.json`:
|
|
|
67
67
|
"complete": { "sound": true, "notification": true },
|
|
68
68
|
"subagent_complete": { "sound": false, "notification": false },
|
|
69
69
|
"error": { "sound": true, "notification": true },
|
|
70
|
-
"permission": { "sound":
|
|
70
|
+
"permission": { "sound": true, "notification": true }
|
|
71
71
|
},
|
|
72
72
|
"messages": {
|
|
73
73
|
"complete": "Sessie voltooid!",
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var DEFAULT_CONFIG = {
|
|
|
14
14
|
complete: { sound: true, notification: true },
|
|
15
15
|
subagent_complete: { sound: false, notification: false },
|
|
16
16
|
error: { sound: true, notification: true },
|
|
17
|
-
permission: { sound:
|
|
17
|
+
permission: { sound: true, notification: true }
|
|
18
18
|
},
|
|
19
19
|
messages: {
|
|
20
20
|
complete: "Sessie voltooid!",
|
|
@@ -355,7 +355,7 @@ var RandomSoundboardPlugin = async ({ client, directory }) => {
|
|
|
355
355
|
const projectName = directory ? directory.split("/").pop() ?? null : null;
|
|
356
356
|
return {
|
|
357
357
|
event: async ({ event }) => {
|
|
358
|
-
if (event.type === "permission.
|
|
358
|
+
if (event.type === "permission.asked") {
|
|
359
359
|
await handleEvent(config, "permission", projectName);
|
|
360
360
|
}
|
|
361
361
|
if (event.type === "session.idle") {
|
package/package.json
CHANGED