Skip to content

v1.8.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Jun 08:49

Pi Desktop v1.8.1 — Instant Session Switching ⚡

A performance patch that caches session content in memory so switching back to a recently-visited session is instant — no more lengthy reloading when toggling between sessions.

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


✨ What's new

Instant session switching

Previously, every session switch triggered a full re-read of the session's JSONL file from disk via the pi --mode rpc backend, causing a noticeable loading wait each time you toggled between sessions. Now:

  • Session content cache — messages and state are saved to an in-memory cache (max 20 entries, oldest evicted) when you switch away from a session.
  • Instant restore — switching back to a recently-visited session renders instantly from cache (0ms), with a background refreshFromBackend verifying the data silently.
  • No blank flash — cached content appears immediately; only a first-visit to a session shows the loading indicator.
  • Skip redundant re-render — if the background refresh returns identical data (matched by stable backend message IDs), the DOM stays untouched to avoid flicker.

july-dev synced with main

This release also brings july-dev up to date with main, incorporating the v1.8.0 provider presets, test connection, and performance improvements.


📦 Download

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

⚠️ Unsigned builds

Windows: Click More infoRun 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.