Move IdeClient.connect() to initializeApp(). (#8282)

This commit is contained in:
Tommaso Sciortino
2025-09-11 13:07:57 -07:00
committed by GitHub
parent ad21c10988
commit 39af7115d1
7 changed files with 32 additions and 58 deletions
-15
View File
@@ -1,15 +0,0 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { ideContextStore } from '../ide/ideContext.js';
/**
* Gets the workspace trust from the IDE if available.
* @returns A boolean if the IDE provides a trust value, otherwise undefined.
*/
export function getIdeTrust(): boolean | undefined {
return ideContextStore.get()?.workspaceState?.isTrusted;
}