Skip to content

v1.6.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 19 Jun 02:54

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's oldText/newText args
  • 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 pi process (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.