From 9046cf9c5056cc00bd97046ff45278ef99a05df5 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Mon, 28 Jul 2025 22:33:43 +0530 Subject: [PATCH] remove getmcpauthstate --- core/protocol/passThrough.ts | 1 - core/protocol/webview.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/core/protocol/passThrough.ts b/core/protocol/passThrough.ts index 96858f29d..1f79d9867 100644 --- a/core/protocol/passThrough.ts +++ b/core/protocol/passThrough.ts @@ -93,5 +93,4 @@ export const CORE_TO_WEBVIEW_PASS_THROUGH: (keyof ToWebviewFromCoreProtocol)[] = "didCloseFiles", "toolCallPartialOutput", "freeTrialExceeded", - "getMCPOauthState", ]; diff --git a/core/protocol/webview.ts b/core/protocol/webview.ts index cc963982f..1a8d40313 100644 --- a/core/protocol/webview.ts +++ b/core/protocol/webview.ts @@ -1,6 +1,5 @@ import { ConfigResult } from "@continuedev/config-yaml"; import { SerializedOrgWithProfiles } from "../config/ProfileLifecycleManager.js"; -import { MCPOauthState } from "../context/mcp/MCPOauth.js"; import { ControlPlaneSessionInfo } from "../control-plane/AuthTypes.js"; import type { BrowserSerializedContinueConfig, @@ -45,8 +44,4 @@ export type ToWebviewFromIdeOrCoreProtocol = { sessionUpdate: [{ sessionInfo: ControlPlaneSessionInfo | undefined }, void]; toolCallPartialOutput: [{ toolCallId: string; contextItems: any[] }, void]; freeTrialExceeded: [undefined, void]; - getMCPOauthState: [ - undefined, - { serverUrl: string; authState: MCPOauthState }, - ]; };