From 108e860ddd28afb883ab16d0cd1fc4560699ddf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pe=C3=AFo=20Thibault?= Date: Sat, 7 Feb 2026 13:42:19 +0100 Subject: [PATCH] fix(core): switch compatibility shim to promptAsync --- src/index.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index d97bd739..db49858c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -387,10 +387,13 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { } return []; }, - prompt: async (args) => { - await ctx.client.session.prompt(args); - }, - }, + prompt: async (args) => { + await ctx.client.session.promptAsync(args); + }, + promptAsync: async (args) => { + await ctx.client.session.promptAsync(args); + }, + }, }, }, {