phase 4: delete the session bridge (SessionAgent, agent.ts, agentToLexClient)

This commit is contained in:
Samuel Newman
2026-07-17 13:12:46 +03:00
parent bab2b621a9
commit ca5b8b6346
14 changed files with 500 additions and 956 deletions
+3 -3
View File
@@ -9,8 +9,8 @@ import {type SessionAccount} from './types'
/*
* Canonical implementation moved to session-core.ts so that module stays
* dependency-light (this file pulls in agent.ts and, transitively, a large
* chunk of the app). Re-exported here for existing consumers.
* dependency-light (this file transitively pulls in a large chunk of the app).
* Re-exported here for existing consumers.
*/
export {isSignupQueued} from './session-core'
@@ -41,7 +41,7 @@ export function isSessionExpired(account: SessionAccount) {
* paired with the account's service origin and handle, matching the contract
* {@link unregisterPushToken} consumes.
*/
export async function createTemporaryAgentsAndResume(
export async function createTemporaryClientsAndResume(
accounts: SessionAccount[],
): Promise<TemporaryPushClient[]> {
const settled = await Promise.allSettled(