From 5a08f180b2961c4feffb2fc6700594ea338028f0 Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Sat, 12 Sep 2026 22:58:46 -0400 Subject: [PATCH] Fix opencode permission event name for 1.17.x --- modules/home/opencode/plugin/notify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")