fix(core): log Plan reminder failures (#41856)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-08-11 16:39:26 -05:00
committed by GitHub
Unverified
parent 59970699d0
commit 549a8f826b
+5 -1
View File
@@ -52,7 +52,11 @@ export const Plugin = define({
text,
resume: false,
})
.pipe(Effect.catch(() => Effect.void))
.pipe(
Effect.catchCause((cause) =>
Effect.logWarning("failed to inject Plan mode reminder", { sessionID: event.data.sessionID, cause }),
),
)
}),
Effect.forkScoped({ startImmediately: true }),
)