Repository navigation
AI Side Chat in Peek
Makes Dia's AI Side Chat work on the page open in Dia's built-in Peek instead of the tab behind it. Press ⌘E or click the Chat button in the toolbar and Chat reads, summarizes and quotes the Peek page.
Shift-click a link to open it in Peek, then press ⌘E or click Chat in the toolbar. Ask Chat about the page in the card the way you would about any tab.
- It reads the Peek page. Summaries, page extraction, JavaScript and screenshots run on the Peek page, and text you select in the card is quoted into the chat.
-
The page chip follows along. The current-page attachment chip above the composer shows the Peek page's title, domain and favicon.
@-mentioned tabs, PDFs and screenshots you attached stay as they are. - It lets go when Peek does. When you close Peek or Dia parks it, Chat goes back to the tab behind the card, chip included.
The card also makes room for the side chat, resizing or moving over so it never sits underneath it.
Dia's Peek is for a quick look at a link, and the natural next question is what the page says. Without this, Chat answers about the tab behind the card, so you'd have to expand Peek into a tab first.
Use it to summarize an article or ask about a page you're not sure is worth keeping, then close the card and carry on.
It's off by default. Open Dia → Settings → Patches, find Links, and switch on AI Side Chat in Peek. Or run:
diatweaks enable peekChatThere are no options. Dia's own Peek has to be on too: in Dia → Settings → Tabs, turn on Open Peek when clicking links with Shift held. On a version of Dia from before its built-in Peek, Settings reads Unavailable on this Dia version and leaves the switch off.
Show Peek Indicator on Tabs. A parked Peek isn't the tab you're looking at, so Chat returns to that tab while a card is parked and back to the card when you return to it, and the 👀 badge shows you which tab still holds the card.
Peek on Shift-Click. That's DiaTweaks' own deprecated card, which has the same Chat support built in. This page is about Dia's own Peek.
Chat is still answering about the page behind Peek.
Check that the card you're looking at is Dia's own Peek and that AI Side Chat in Peek is on. Then close Chat and open it again with ⌘E while the card is up.
Will it change tabs I attached with @?
No. Only the current-page chip follows the Peek page. Tabs you @-mention, PDFs and screenshots stay attached as you left them.
- Page
- Toolbar
- Sidebar & Tab Bar
- Profiles
- Tabs
- Command Bar
- New Tab Page
- AI
- Window
- App
- Passwords
- Links
- Network
- Help
- Making tweaks