fix(core): switch compatibility shim to promptAsync

This commit is contained in:
Peïo Thibault
2026-02-07 13:42:19 +01:00
parent f980ed72d4
commit 452d2afe79
+4 -1
View File
@@ -388,7 +388,10 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
return []; return [];
}, },
prompt: async (args) => { prompt: async (args) => {
await ctx.client.session.prompt(args); await ctx.client.session.promptAsync(args);
},
promptAsync: async (args) => {
await ctx.client.session.promptAsync(args);
}, },
}, },
}, },