Repository navigation
Releases
Releases · amalucelli/dffy
v0.3.0
Added
- Review comments (experimental). Select lines and press
cto start a thread under them, orCfor the whole file. Threads take replies, resolves and suggestions, render Markdown, fold, and their text can be selected and copied.iopens a Comments panel beside the file tree, and a right-click menu runs the same actions. Comments are kept per branch in a file under the repository's git directory and follow their lines as the code moves. See docs/comments.md. dffy commentslists and filters comments as text, Markdown or JSON, anddffy comments applylets scripts and agents add their own, shown with their author.--show-commentsadds them to printed output and--json, and the MCP server gainedlist_comments.- Code host reviews through review plugins (experimental). With
dffy-review-github,dffy pr 123opens a GitHub pull request with its threads and a Conversation page. Plaindffyon a branch with an open PR attaches its comments to your range, andpbrings in new pushes and comments. Your drafts post as a review, each comment once, even after a retry or a crash. Needsgh, logged in. See docs/plugins.md. - A control API for a running viewer:
dffy ctland the MCP toolsopen_in_viewer,focus_threadandviewer_selection, limited to your own user. See docs/control.md. - Staging and discarding lines from the viewer. A discard refuses to overwrite edits the view hasn't shown yet.
- Resolving conflicts in the viewer: keep the current, incoming or both sides, or take the base, then write the file.
- A sticky scope line that names the function or block the top of the screen is in, for 10 languages.
paging = always(or--paging=always) opens the viewer as git's pager even for a diff that fits one screen, without waiting to see whether it fits.
Changed
- Conflict keys moved to their own
conflict:table, active only in a conflicted file:n/Nnext and previous conflict,ocurrent,tincoming,bboth,abase,wwrite. In the main table,Onow opens a review,Rshows changes since your last review andEwrites a comment in$EDITOR. Rebinds of conflict actions in your config need theconflict:prefix. - Thread actions (reply, edit, delete, resolve, adopt, open on the host) are a remappable
thread:table. - The command panel was re-lettered so a letter never means two things.
wwatch,Wwrap,Iwhitespace,Bstatus bar,f/Fnext and previous file; search moved to/. docs/keys.md lists them all. --jsonannotations carry asource.
Performance
- Drawing, scrolling, search and the file tree are 1–5% faster than 0.2.1 on the reference Linux machine.
mbetween comment threads is 25–36% faster, and comments add nothing to the first frame.- The pager's peak memory is about 0.6MB higher, from the bigger binary, at the same speed.