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 }, - ]; };