Skip to content

The agent that grows with you

style(desktop): the project-tree fixture is a complete tree, no cast; blank line before the source key

yoniebans88ebfa74d9e2
diff --git a/apps/desktop/src/store/session-states-eviction.test.ts b/apps/desktop/src/store/session-states-eviction.test.ts
index d4245ac34f5..cd71eacbc54 100644
--- a/apps/desktop/src/store/session-states-eviction.test.ts
+++ b/apps/desktop/src/store/session-states-eviction.test.ts
@@ -100,7 +100,7 @@ describe('publish-time eviction', () => {
}
],
sessionCount: 1
- } as never
+ }
])
publishSessionState('rt-tg', state('tg-old', { busy: true }))
diff --git a/apps/desktop/src/store/session-unread.ts b/apps/desktop/src/store/session-unread.ts
index 8a764fd4572..72bade6f5bc 100644
--- a/apps/desktop/src/store/session-unread.ts
+++ b/apps/desktop/src/store/session-unread.ts
@@ -345,6 +345,7 @@ function projectTreeRow(storedSessionId: string, profile?: string): SessionInfo
/** Sources the live poll reported, by profile and stored id: a messaging turn can settle before its row
* loads, and another profile's same-id session is a different session. */
const liveSources = new Map<string, string>()
+
const liveSourceKey = (profile: null | string | undefined, storedSessionId: string) =>
`${normalizeProfileKey(profile)}\n${storedSessionId}`