The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#83139)
hermes-seaeye[bot]86d747e00d81
diff --git a/apps/desktop/src/store/session-states-eviction.test.ts b/apps/desktop/src/store/session-states-eviction.test.tsindex 19432e7a69b..8958df05ee6 100644--- a/apps/desktop/src/store/session-states-eviction.test.ts+++ b/apps/desktop/src/store/session-states-eviction.test.ts@@ -67,7 +67,7 @@ describe('publish-time eviction', () => {expect($sessionStates.get()['rt-2']).toBeDefined()})- it('keeps the primary view\'s settled session', () => {+ it("keeps the primary view's settled session", () => {$activeSessionId.set('rt-1')publishSessionState('rt-1', state('stored-1', { busy: true }))publishSessionState('rt-1', state('stored-1', { busy: false }))@@ -83,7 +83,7 @@ describe('publish-time eviction', () => {})describe('closeSessionTile eviction', () => {- it('drops a settled session\'s state on close — no later publish may come', () => {+ it("drops a settled session's state on close — no later publish may come", () => {$sessionTiles.set([{ runtimeId: 'rt-1', storedSessionId: 'stored-1' }])publishSessionState('rt-1', state('stored-1', { busy: false }))@@ -92,7 +92,7 @@ describe('closeSessionTile eviction', () => {expect($sessionStates.get()['rt-1']).toBeUndefined()})- it('keeps a busy session\'s state on close — the background turn is still running', () => {+ it("keeps a busy session's state on close — the background turn is still running", () => {$sessionTiles.set([{ runtimeId: 'rt-1', storedSessionId: 'stored-1' }])publishSessionState('rt-1', state('stored-1', { busy: true }))diff --git a/apps/desktop/src/store/session-states.ts b/apps/desktop/src/store/session-states.tsindex 9e6b33c4271..1064b90d7ad 100644--- a/apps/desktop/src/store/session-states.ts+++ b/apps/desktop/src/store/session-states.ts@@ -200,9 +200,9 @@ function runtimeReferenced(runtimeId: string, storedSessionId: null | string): breturn true}- return $sessionTiles.get().some(- t => t.runtimeId === runtimeId || (storedSessionId !== null && t.storedSessionId === storedSessionId)- )+ return $sessionTiles+ .get()+ .some(t => t.runtimeId === runtimeId || (storedSessionId !== null && t.storedSessionId === storedSessionId))}/** A state no surface needs anymore: its turn is over (not busy, not waiting