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 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": false, "notification": false }
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: false, notification: false }
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.updated" || event.type === "permission.asked") {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-probleemwijken",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "OpenCode plugin that plays random Probleemwijken/Derkolk sounds and sends push notifications when a session completes",
5
5
  "author": "Daan-Friday",
6
6
  "license": "MIT",