Skip to content

v0.3.0 — Interactive Git Review for Pi TUI

Choose a tag to compare

@buddingnewinsights buddingnewinsights released this 02 May 06:45
· 18 commits to main since this release

v0.3.0 — Interactive Git Review for Pi TUI

This release upgrades pi-diff from a diff renderer into a Warp-style local Git review workflow for Pi.

Highlights

  • Added /review-diff, a full-width centered Pi TUI command for interactive local Git review.
  • Added Git-aware review support for working-tree changes, untracked files, and base...HEAD branch comparisons.
  • Added keyboard navigation across files, hunks, focused hunk diff preview, and drafted comments.
  • Added line-anchored draft/edit/delete comments with approve/dismiss states and batch submit back to Pi.
  • Added live auto-refresh while the review overlay is open.
  • Added o open-location workflow and y copy-location workflow for selected review lines.
  • Added review_git_diff, review_git_comment, and review_git_comments read-only tool workflows for agent context.
  • Added pi-diff-review CLI for markdown review context export outside Pi TUI.
  • Added /review-diff-agent prompt template companion for blunt agent-driven local diff review.
  • Added Shiki-backed focused hunk preview with safer width handling and binary-file placeholders.
  • Added README screenshot at media/review-diff.png.

Fixes and polish

  • Fixed invalid base refs so /review-diff typo-branch reports a clean error instead of crashing.
  • Fixed headless/non-UI invocation handling.
  • Fixed off-screen navigation in large file/hunk/comment lists.
  • Fixed terminal width overflow crashes from tabs, ANSI parsing, and binary file diff previews.
  • Fixed preview cursor behavior so the marker tracks up/down navigation.
  • Fixed unreadable dark text in review overlay secondary text and diff backgrounds.
  • Fixed blank File diff viewport caused by treating Pi theme.bg() as a raw ANSI provider.
  • Packaged only runtime files and ensured dist/cli.js is executable.

Verification

  • npm run typecheck passed
  • npm run lint passed
  • npm test passed: 40/40
  • npm run build passed
  • npm pack --dry-run --json confirmed runtime package contents and executable CLI