Skip to content

The agent that grows with you

fix(desktop): show the in-app browser in Bot Mode

HexLab98beb848358d36
diff --git a/apps/desktop/src/app/chat/preview-tile.tsx b/apps/desktop/src/app/chat/preview-tile.tsx
index 4b6db09d909..122d1f63d43 100644
--- a/apps/desktop/src/app/chat/preview-tile.tsx
+++ b/apps/desktop/src/app/chat/preview-tile.tsx
@@ -122,7 +122,10 @@ export function watchPreviewTiles(): void {
const watchPreviewTileMirror = paneMirror<{ id: string }>({
source: $previewTabs,
- workspaceMode: 'sessions',
+ // Unscoped on purpose. `$previewTabs` is one global Browser/file surface —
+ // clicking a link in a bot chat must open the same pane Sessions already
+ // shows. Scoping this to `sessions` filtered the pane out of Bot Mode, so
+ // `openPreview` ran and the click looked like a no-op.
key: tab => tab.id,
prefix: PREVIEW_TILE_PREFIX,
// Identical to route (page) tiles: its own zone docked beside main, sized by