v0.2.4
What's new
Compaction: divider UI, expandable summary, and safe send gating
Context-compaction status is now shown as a slim ──── divider instead of a card, matching the style of codex/opencode:
- Running / cancelled / failed states render as a one-line divider; the failure note is amber (reminder-level) rather than red, since most "failures" are benign (e.g. nothing to compact)
- When compaction completes with a summary, a Summary ▾ toggle expands it inline — the full text no longer takes up three clamped lines
- The SDK prefixes compaction errors with
Compaction failed:, which duplicated our own "Compaction failed" label — that prefix is now stripped before display
No more silently dropped messages while the agent runs
session.prompt() waits for the whole run to finish before resolving, which left the composer stuck in its sending state and caused queued follow-up messages to be silently dropped by the resend guard. PiBackend.prompt now resolves as soon as the SDK accepts the prompt (preflight ack), while real preflight errors (no model / no API key / compaction in progress) still reject and surface in the UI. Run-phase errors continue to stream through the event feed.
Composer feedback and gating
- Sending while a compaction is in progress is now blocked up front with an amber "Compacting context — send when it finishes" notice, and the input placeholder switches to "Compacting context…" — your draft is preserved instead of being lost to a backend rejection
- Feedback messages now have an info/warn tone: warnings (queue full, missing session name, compaction in progress) show in amber instead of green
Dev-only
- The dev build redirects Electron
userDatato a-devsuffix directory, so the dev app no longer sharestabs.json/ UI state with the installed release and won't resurrect release sessions in the sidebar
Download
| Platform | File |
|---|---|
| macOS (Apple Silicon) | pi-desktop-mac-arm64.dmg |
| macOS (Intel) | pi-desktop-mac-x64.dmg |
| Windows | pi-desktop-windows-x64.exe (installer) or pi-desktop-windows-x64.zip |
macOS users can also brew install --cask jaxton07/tap/pi-desktop.
Ad-hoc signed (no Developer ID). On macOS, if Gatekeeper blocks the app, right-click it and choose Open (or run
xattr -cr "/Applications/Pi Desktop.app"as a fallback). Windows may still show a SmartScreen prompt — click "More info" → "Run anyway".
Full Changelog: v0.2.3...v0.2.4
Important
This is the last release under the name pi-desktop. The project has been renamed to Percho. In-app auto-update cannot carry over to the renamed app — please download Percho manually from the latest release. Your sessions and settings in ~/.pi/agent are unaffected. Homebrew users: brew uninstall --cask pi-desktop && brew install --cask jaxton07/tap/percho (once the first Percho release is out).