From 99a4594bdec3a08a7502083fd3ebf9cdccbbcaba Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 15 Mar 2026 21:52:10 -0700 Subject: [PATCH] fix(plugins): resolve rebase fallout in auth hooks --- extensions/anthropic/index.ts | 2 +- extensions/openai/openai-codex-provider.ts | 2 +- src/commands/auth-choice.apply.openai.ts | 2 +- src/commands/status.scan.ts | 4 ---- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/extensions/anthropic/index.ts b/extensions/anthropic/index.ts index 7fe35e439ee..84d584e554f 100644 --- a/extensions/anthropic/index.ts +++ b/extensions/anthropic/index.ts @@ -286,7 +286,7 @@ const anthropicPlugin = { }, ], wizard: { - onboarding: { + setup: { choiceId: "token", choiceLabel: "Anthropic token (paste setup-token)", choiceHint: "Run `claude setup-token` elsewhere, then paste the token here", diff --git a/extensions/openai/openai-codex-provider.ts b/extensions/openai/openai-codex-provider.ts index b337c20041a..a11902608ac 100644 --- a/extensions/openai/openai-codex-provider.ts +++ b/extensions/openai/openai-codex-provider.ts @@ -174,7 +174,7 @@ export function buildOpenAICodexProviderPlugin(): ProviderPlugin { }, ], wizard: { - onboarding: { + setup: { choiceId: "openai-codex", choiceLabel: "OpenAI Codex (ChatGPT OAuth)", choiceHint: "Browser sign-in", diff --git a/src/commands/auth-choice.apply.openai.ts b/src/commands/auth-choice.apply.openai.ts index f48892ab96c..e03c9e2505a 100644 --- a/src/commands/auth-choice.apply.openai.ts +++ b/src/commands/auth-choice.apply.openai.ts @@ -5,8 +5,8 @@ import { normalizeSecretInputModeInput, } from "./auth-choice.apply-helpers.js"; import type { ApplyAuthChoiceParams, ApplyAuthChoiceResult } from "./auth-choice.apply.js"; -import { applyDefaultModelChoice } from "./auth-choice.default-model.js"; import { applyAuthChoicePluginProvider } from "./auth-choice.apply.plugin-provider.js"; +import { applyDefaultModelChoice } from "./auth-choice.default-model.js"; import { applyAuthProfileConfig, setOpenaiApiKey } from "./onboard-auth.js"; import { applyOpenAIConfig, diff --git a/src/commands/status.scan.ts b/src/commands/status.scan.ts index 50b32638b0e..eaa9ad3066c 100644 --- a/src/commands/status.scan.ts +++ b/src/commands/status.scan.ts @@ -62,10 +62,6 @@ function loadStatusScanRuntimeModule() { return statusScanRuntimeModulePromise; } -type StatusScanRuntimeModule = Awaited>; -type ChannelStatusIssues = ReturnType; -type ChannelsTable = Awaited>; - function deferResult(promise: Promise): Promise> { return promise.then( (value) => ({ ok: true, value }),