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:
1 parent
0f850b6191
commit
d533bc95ef
7 files changed
+541
-6
No files matched your search
@@ -5,7 +5,7 @@ Android first. This branch (`flutter`) is a framework evaluation: the same
|
||||
feature set as the earlier Asuka/Go and MyGo attempts, reimplemented in
|
||||
Flutter to compare mobile UI maturity.
|
||||
|
||||
Status: 0.4.11 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
Status: 0.4.12 — servers (passwordless / password login, HTTP/HTTPS and
|
||||
SOCKS5/socks5h proxy, self-signed certificates and pinning, or a pairing link
|
||||
over the OpenChamber private relay with end-to-end encryption; the pairing
|
||||
link is pasted or scanned with the camera), session list with search and live
|
||||
@@ -25,7 +25,8 @@ draft that only creates the session on the first send; the session list is
|
||||
grouped by project with date captions, pins, archive and swipe actions;
|
||||
subagent sessions nest under the session that started them (collapsed until
|
||||
expanded) and open from the sidebar or the parent's Agent Task row; a subagent
|
||||
chat is read-only unless the server allows prompting subagents; the
|
||||
chat is read-only unless the server allows prompting subagents; edit, write
|
||||
and patch calls open as tinted line diffs with +N −M counts; the
|
||||
server's managed chat folders are one 聊天 group, and a new session can target
|
||||
聊天 instead of a project. Project rows use the icon and colour chosen in
|
||||
OpenChamber (including an uploaded/auto icon image), and the chat group has a
|
||||
|
||||
Reference in new issue
Block a user