feat: agent overview, warm code colors and liquid glass (to main)

Closed
HK
18d ago
+0-0

Summary

Adds an Option+agent overview, a warmer code color theme, and a liquid glass look for the macOS app. The thread details card now starts closed. These changes were reviewed in #2, which merged intofeat/workspace-tabs` after #1 had already merged, so they never reached main. This PR brings them to main unchanged.

Changes

  • AgentOverview.tsx (new): Option+opens a full-screen grid of threads in three groups: "Needs you" (approval, input, guest request, usage limit, failed), "Working" (live elapsed timer) and "Recent" (up to 8). Snoozed, settled, archived and deleted threads are left out. Arrow keys, Enter, 1 to 9 and Esc work. Mounted inChatView.tsx`.
  • warmSyntaxTheme.ts (new): registers t3-dark, a recolor of the pierre-dark Highlights palette with fewer, warmer accents and italic comments. diffRendering.ts and DiffWorkerPoolProvider.tsx use it.
  • Liquid glass:
    • index.html: SVG displacement filter #t3-liquid-glass.
    • index.css: new liquid-glass utility. dialog-glass and dropdown-glass use the same look. The composer shell gets a glass layer. On Electron macOS, html and body are transparent and the sidebar is semi-opaque.
    • windowControlsOverlay.ts: adds an electron-macos class on macOS Electron.
    • DesktopWindow.ts: transparent background and vibrancy: "sidebar" on macOS.
    • WorkspaceSplits.tsx: the Option+Tab switcher uses the glass surface.
  • rightPanelStore.ts: the thread details card is closed by default. Persisted state keeps only open entries. The visibility map now drops entries equal to the new closed default (it used to drop the old open default, which closed the card again right after the user opened it).

Tests

  • vp run check:changed passes (format, lint, knip, typecheck, tests, React compiler).
  • rightPanelStore.test.ts: 2 tests updated for the closed default, plus a regression test that an opened card stays open.
  • ThreadDetailsCard.browser.test.tsx: the 3 density tests open the inline card first.
  • Checked with headless screenshots on a copy of the playground: overview, switcher, command palette, composer and code colors.
  • Not checked: the macOS vibrancy sidebar in the real Electron window.

Scope affected

Web UI (overview, switcher, dialogs, menus, composer, code and diff colors, right panel default) and the macOS desktop window. No server or contract changes. The light code theme is not changed.

Reasoning

The SVG displacement in backdrop-filter: url() works only in Chromium, so each glass rule also has a plain blur fallback. The warm theme maps colors by role from pierre-dark, so it stays in sync with that palette's scope rules instead of copying a full theme.