Files
pi/packages/coding-agent/src/modes/interactive
T
Mario Zechner 0f81b09625 Fix edit tool diff not showing in TUI
The async diff preview computation could race with tool execution,
causing editDiffPreview to contain an error (file already modified)
while the actual tool result had the correct diff in details.diff.

Fix: prioritize result.details.diff over editDiffPreview when the
tool has executed successfully. The preview is only used before
tool execution completes.
0f81b09625 ยท 2026-01-03 04:23:59 +01:00
History
..