diff --git a/modules/home/opencode/plugin/notify.ts b/modules/home/opencode/plugin/notify.ts index df39f1c..0b72478 100644 --- a/modules/home/opencode/plugin/notify.ts +++ b/modules/home/opencode/plugin/notify.ts @@ -5,7 +5,7 @@ export default async ({ $ }) => { return { event: async ({ event }) => { - if (event.type === "permission.updated") { + if (event.type === "permission.asked") { notify("opencode needs input", event.properties.title ?? event.properties.type) } else if (event.type === "session.idle") { notify("opencode finished", "Agent is idle")