Skip to content

v1.7.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Jun 06:47

Pi Desktop v1.7.2 β€” Geist-Aligned Polish & Theme Editing 🎨

Geist design-system alignment (focus rings, motion, shadows, voice) and the ability to save edits directly to existing custom themes from Settings β†’ Appearance.

Note: This is a personal fork of gustavonline/pi-desktop.


✨ What's new

Geist-aligned polish

Design-system alignment with Vercel's Geist, targeting the top findings from a Geist audit:

  • Two-layer focus rings β€” :focus-visible now renders a proper Geist-style ring (2px surface gap + 4px accent) on all interactive elements: composer buttons, model picker, chat jump button, welcome elements, settings inputs, and file-viewer inputs. Replaces the previous weak 1px translucent rings.
  • prefers-reduced-motion gate β€” all nonessential animations and transitions are dropped when the OS-level reduced-motion setting is enabled, including the Pi breathing animation, thinking shimmer, and pulse indicators.
  • Standardized font weights β€” 23 off-spec weights (520, 550, 560, 620, 640, 660, etc.) snapped to Geist's allowed 400/500/600 range, enforcing the "no more than two weights per view" rule.
  • Layered, low-alpha shadows β€” 22 heavy single-layer shadows replaced with Geist's multi-layered elevation tokens (--shadow-raised, --shadow-popover, --shadow-modal) across dialogs, menus, popovers, and cards. Borders restored on 3 overlays that previously leaned on shadow alone.
  • Voice cleanup β€” dropped trailing "successfully" from status messages; bare "Confirm" β†’ "Confirm Action" (verb + noun convention).

Update existing theme from Settings β†’ Appearance

Previously, editing theme settings (accent, background, foreground, UI/code fonts, contrast, translucent sidebar) only allowed creating a new theme file. You can now save edits directly back to the current custom theme:

  • "Update theme" button β€” appears next to "Create theme" when the selected theme is custom (non-bundled) and there are unpersisted changes.
  • Overwrites the existing file in ~/.pi/agent/themes/ β€” no duplicate naming.
  • Bundled themes remain read-only β€” only "Create theme" (duplicate-then-edit) is offered, matching the existing convention in the Packages view.
  • Handles errors gracefully (shows themeCatalogError on disk failures).

Extension-UI confirm dialog fix

The permission-gate (confirm dialog displayed when the agent needs to run rm or other controlled operations) could render invisible on repeated invocations β€” the overlay backdrop appeared but no buttons, leaving the user stuck with nothing clickable. Root cause: lit's internal render-part cache was corrupted by a raw innerHTML = "" clear in closeOverlay(). Now cleared through lit's render(nothing, ...) to keep the cache consistent. Also hardened the confirm dialog's timeout to prevent spurious double-responses.


πŸ“¦ Download

This fork builds Windows (.exe) and macOS (.dmg).

⚠️ Unsigned builds

Windows: Click More info β†’ Run anyway on SmartScreen.

macOS: xattr -cr "/Applications/Pi Desktop.app" after mounting.


βš™οΈ Requirements

  • Pi Coding Agent CLI: npm install -g @earendil-works/pi-coding-agent
  • Node.js β‰₯ 22

πŸ™ Credits

Built on gustavonline/pi-desktop.

πŸ“„ License

MIT β€” see LICENSE.