diff --git a/packages/coding-agent/src/modes/interactive/interactive-mode.ts b/packages/coding-agent/src/modes/interactive/interactive-mode.ts index 0e1b7419a..cf635bda4 100644 --- a/packages/coding-agent/src/modes/interactive/interactive-mode.ts +++ b/packages/coding-agent/src/modes/interactive/interactive-mode.ts @@ -316,7 +316,6 @@ type LoginProviderCompletionOption = { const AUTH_TYPE_ORDER = { oauth: 0, api_key: 1 } satisfies Record; const DIFFEX_ACCOUNT_LOGIN_ID = "diffex"; const DIFFEX_ACCOUNT_SELECTOR_ID = "diffex-account"; -const DIFFEX_ACCOUNT_LOGIN_LABEL = "Sign in to Diffex"; function createFuzzyAutocompleteItems( items: T[], @@ -6238,7 +6237,7 @@ export class InteractiveMode { const availableAuthTypes = providerOptions ? new Set(providerOptions.map((provider) => provider.authType)) : new Set(["oauth", "api_key"]); - const options: string[] = providerOptions ? [] : [DIFFEX_ACCOUNT_LOGIN_LABEL]; + const options: string[] = []; if (availableAuthTypes.has("oauth")) { options.push(subscriptionLabel); } @@ -6268,10 +6267,6 @@ export class InteractiveMode { options, (option) => { done(); - if (option === DIFFEX_ACCOUNT_LOGIN_LABEL) { - void this.showDiffexAccountLoginDialog(); - return; - } const authType = option === subscriptionLabel ? "oauth" : "api_key"; if (providerOptions) { const providerOption = providerOptions.find((provider) => provider.authType === authType); diff --git a/scripts/verify-candidate-artifacts.py b/scripts/verify-candidate-artifacts.py index f8516d2da..f5e995524 100644 --- a/scripts/verify-candidate-artifacts.py +++ b/scripts/verify-candidate-artifacts.py @@ -120,7 +120,7 @@ os.write(fd, b"/login\r") stage = "login" elif stage == "login" and "Select authentication method:" in text: - os.write(fd, b"\x1b[B\r") + os.write(fd, b"\r") stage = "accounts" elif stage == "accounts" and all( name in text for name in ["OpenAI Codex", "Radius", "xAI"]