diff --git a/src/index.ts b/src/index.ts index 56acf13..20a7618 100644 --- a/src/index.ts +++ b/src/index.ts @@ -219,12 +219,12 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { getSessionID: getSessionIDForMcp, }); - const googleAuthHooks = + const [googleAuthHooks, tmuxAvailable] = await Promise.all([ pluginConfig.google_auth !== false - ? await createGoogleAntigravityAuthPlugin(ctx) - : null; - - const tmuxAvailable = await getTmuxPath(); + ? createGoogleAntigravityAuthPlugin(ctx) + : Promise.resolve(null), + getTmuxPath(), + ]); const configHandler = createConfigHandler({ ctx,