Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
Merge branch 'dev' into feat/plugin-ui-sdk
Andy Pavia61a798d610ae
diff --cc desktop-app/src/appService.tsindex d505c298e,f3c2539c6..a55f81430--- a/desktop-app/src/appService.ts+++ b/desktop-app/src/appService.ts@@@ -878,20 -977,15 +985,29 @@@ export class AppService}async logout(): Promise<void> {+ this.stopAllStreams()+ this.sessionToken = null+ this.me = null+ this.profileUiBaseUrlCache = null+ this.accessCatalog = null+ this.teamDirectoryCache = null+ this.workflowApprovalTeamById.clear()+ this.workflowTeamByKey.clear()+ this.rpcTokenManager.clear()+ await this.tokenStore.clearSessionToken(getActiveEnvKey())+ unbindChatStore()+ // Grants survive logout (they are keyed by userId), but every cached SDK+ // result must not: the next user of this machine gets nothing of this one's.+ tryGetPluginSdkRuntime()?.notifySessionChanged(false)+ this.logoutInProgress = true+ try {+ const envKey = getActiveEnvKey()+ const legacyEnvKeys = getActiveLegacyEnvKeys()+ this.clearAuthenticatedSessionState()+ await this.tokenStore.clearSessionToken(envKey, { legacyEnvKeys })+ } finally {+ this.logoutInProgress = false+ }}/** Resolve a gfs:// URI to its current resource via the API (no local mirror). */