Skip to content

The agent that grows with you

chore(sdk): remove unrelated session helper from #89893

huklaa46fe01251b8
diff --git a/apps/desktop/src/sdk/index.ts b/apps/desktop/src/sdk/index.ts
index 6f502c51f1a..88019d6ef7b 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<void> =>
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<PluginOpenSessionOptions, 'profile'> = {}
- ): Promise<void> => {
- 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<void> => {
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'