Skip to content

The agent that grows with you

R3: share transcript scope resolution with tile reconciliation

yoniebans6270c86f67ed
diff --git a/apps/desktop/src/app/contrib/hooks/use-background-sync.ts b/apps/desktop/src/app/contrib/hooks/use-background-sync.ts
index b3a9e8bf90c..acf64852feb 100644
--- a/apps/desktop/src/app/contrib/hooks/use-background-sync.ts
+++ b/apps/desktop/src/app/contrib/hooks/use-background-sync.ts
@@ -179,12 +179,7 @@ export async function reconcileTileTranscripts({
// Bot tiles are pinned to an exact owner (connection + target profile);
// read from that backend, not whichever profile is foreground. Tiles
// without a route keep the legacy local read.
- const profileScope: ProfileScope = tile.ownerRoute
- ? {
- connectionId: tile.ownerRoute.connectionId,
- profile: tile.ownerRoute.targetProfile ?? tile.ownerRoute.profile
- }
- : undefined
+ const profileScope = profileScopeForTranscriptSession(tile)
const signatureKey = tileTranscriptSignatureKey(tile)