Skip to content

The agent that grows with you

fix(desktop): fold i18n queueDropped keys + dedupe isSessionOwnerRoute into their fixes

Hermes Agent3d9040c18852
diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.ts
index fcfb3a59236..f3a439e131b 100644
--- a/apps/desktop/src/i18n/types.ts
+++ b/apps/desktop/src/i18n/types.ts
@@ -3223,6 +3223,8 @@ export interface Translations {
queueResumeTip: string
queueStuckTitle: string
queueStuckBody: string
+ queueDroppedTitle: string
+ queueDroppedBody: string
previewUnavailable: string
previewLabel: (label: string) => string
couldNotPreview: (label: string) => string
diff --git a/apps/desktop/src/store/session-states.ts b/apps/desktop/src/store/session-states.ts
index 951e668873a..5b08e10d3b0 100644
--- a/apps/desktop/src/store/session-states.ts
+++ b/apps/desktop/src/store/session-states.ts
@@ -1299,10 +1299,6 @@ export function patchSessionTile(storedSessionId: string, patch: Partial<Session
saveTiles($sessionTiles.get().map(t => (t.storedSessionId === storedSessionId ? { ...t, ...patch } : t)))
}
-function isSessionOwnerRoute(value: SessionOwnerScope): value is SessionOwnerRoute {
- return Boolean(value && typeof value === 'object' && 'connectionId' in value)
-}
-
function sameSessionOwner(left: SessionOwnerScope, right: SessionOwnerScope): boolean {
if (isSessionOwnerRoute(left) && isSessionOwnerRoute(right)) {
return (