Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/desktop/src/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -571,11 +571,13 @@ export const host = {
const profile = (options.profile ?? '').trim()
const targetProfile = normalizeProfileKey(profile || $activeGatewayProfile.get())
const expectHistory = options.expectHistory ?? false

const plan = planPluginOpenSession({
activeProfile: $activeGatewayProfile.get(),
keepAllProfilesScope: options.keepAllProfilesScope,
profile
})

// Wake-path phase timings. Logged ONLY on a hydration timeout (bridged
// into desktop.log via the renderer-console tap), so a support bundle
// pinpoints WHERE the budget went — profile activation vs hydration —
Expand Down
1 change: 1 addition & 0 deletions apps/desktop/src/sdk/profile-routing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ vi.mock('@/store/gateway', async () => {
const { host } = await import('./index')
const { openSession: openSessionCore } = await import('@/app/open-session')
const { deleteProfile } = await import('@/hermes')

const { openGatewayForProfile, requestGatewayForAgent, requestGatewayForProfile, retireLocalProfileGateways } =
await import('@/store/gateway')

Expand Down
1 change: 1 addition & 0 deletions apps/desktop/src/store/session-request-router.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ describe('requestForSessionProfile', () => {
method,
params
}))

const controller = new AbortController()

await requestForSessionProfile(
Expand Down
Loading