feat: show edit and write tools as line diffs

Expanding an edit, write or patch call now renders the change as tinted
diff lines instead of an old/new text blob: added lines green, removed
lines red, @@ hunk headers marked, and file header noise hidden. The
patch comes from the server's metadata.files[].patch; older servers fall
back to a line diff of the edit's old/new strings, and a write with only
content shows as added lines.

The tool row also shows +N −M for these calls, as dsh-Go does, and a
phone-sized preview stops at 600 lines.

0.4.12 (412).
This commit is contained in:
blumia committed 2026-11-23 22:36:05 +08:00
1 parent 0f850b6191
commit d533bc95ef
7 files changed
+541 -6

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
/// The app version sent to the server in pairing and relay handshakes.
const appVersion = '0.4.11';
const appVersion = '0.4.12';