diff --git a/apps/desktop/src/sdk/index.ts b/apps/desktop/src/sdk/index.ts index 6f502c51f1..88019d6ef7 100644 --- a/apps/desktop/src/sdk/index.ts +++ b/apps/desktop/src/sdk/index.ts @@ -499,21 +499,6 @@ export const host = { ensureAgent: async (connectionId: null | string, profile: string): Promise => ensureGatewayAgent(connectionId, (profile ?? '').trim() || 'default'), - /** Open a stored session that belongs to an agent on ANY registered source. - * The connection id + profile are the durable route; the store handles - * dialing / source activation, then the regular session-open path owns - * navigation + hydration. */ - openAgentSession: async ( - connectionId: null | string, - profile: string, - storedSessionId: string, - options: Omit = {} - ): Promise => { - await ensureGatewayAgent(connectionId, (profile ?? '').trim() || 'default') - - return host.openSession(storedSessionId, { ...options, profile }) - }, - /** Open a stored session — optionally pre-activating its profile first. */ openSession: async (storedSessionId: string, options: PluginOpenSessionOptions = {}): Promise => { const generation = ++openSessionGeneration @@ -966,4 +951,4 @@ export { Blobatar } from 'blobatar/react' export { atom, computed } from 'nanostores' /** Markdown renderer (same pipeline core chat surfaces use) so plugins render * message text as a preview instead of raw Markdown source. */ -export { Streamdown } from 'streamdown' \ No newline at end of file +export { Streamdown } from 'streamdown'