v1.6.0
Pre-release
Pre-release
Pi Desktop v1.6.0 β Modified Files & Diff Viewer π
Agent file edits now show clickable cards with diff stats and a dedicated diff viewer in the file panel. Plus session stability fixes and macOS rendering fixes.
Note: This is a personal fork of
gustavonline/pi-desktop.
β¨ What's new
Modified files cards + diff viewer
When the agent writes, edits, or creates files via tools, compact cards appear after the assistant's answer:
βοΈ component.tsx diff +5 -3 βΈ
π new-feature.ts created
- Diff stats β
diff +N -M(green/red) computed from the edit tool'soldText/newTextargs - Click file name β opens the file (final state) in the right-side viewer
- Click βΈ toggle β opens a red/green unified diff in the file panel
- Created files show "created" (no diff data)
- Clicking the file name again clears the diff and reloads the file content
Stability fixes
- Session runtime dispose β closing a running session tab no longer leaks a zombie
piprocess (synchronous disposal before task enqueue) - File tree refresh β the left-panel file list now refreshes after agent runs (tools may change files) and when the app regains focus
- macOS model picker β fixed popover clipping behind chat content (WebKit stacking context)
- File panel close button β stays visible with long filenames (header now wraps to two lines)
π¦ Download
This fork builds Windows (.exe) and macOS (.dmg). Both triggered from a single workflow.
β οΈ 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.