The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#120048)
hermes-seaeye[bot]a27b13056e7b
diff --git a/apps/desktop/src/store/gateway-profile-request.test.ts b/apps/desktop/src/store/gateway-profile-request.test.tsindex 9b740791672..89de19cc808 100644--- a/apps/desktop/src/store/gateway-profile-request.test.ts+++ b/apps/desktop/src/store/gateway-profile-request.test.ts@@ -798,7 +798,11 @@ describe('session-owner calls for a profile on the shared local host backend (#1expect(secondaryGateways).toHaveLength(0)expect(primary.request).toHaveBeenCalledTimes(2)expect(primary.request).toHaveBeenNthCalledWith(1, 'session.create', { title: 'g', profile: 'work' })- expect(primary.request).toHaveBeenNthCalledWith(2, 'prompt.submit', { session_id: 'rt-1', text: 'hi', profile: 'work' })+ expect(primary.request).toHaveBeenNthCalledWith(2, 'prompt.submit', {+ session_id: 'rt-1',+ text: 'hi',+ profile: 'work'+ })})it('still dials a secondary for a pooled local profile (isolated backend, #101416)', async () => {diff --git a/apps/desktop/src/store/gateway.ts b/apps/desktop/src/store/gateway.tsindex f1b1453d1a4..3bc17ab82e2 100644--- a/apps/desktop/src/store/gateway.ts+++ b/apps/desktop/src/store/gateway.ts@@ -475,7 +475,8 @@ async function ridesPrimaryBackend(`Timed out resolving the backend route for "${key}"`)- const flags = conn && typeof conn === 'object' ? (conn as { sharedPrimary?: boolean; sharedRemote?: boolean }) : null+ const flags =+ conn && typeof conn === 'object' ? (conn as { sharedPrimary?: boolean; sharedRemote?: boolean }) : nullreturn flags?.sharedRemote === true || flags?.sharedPrimary === true} catch {