Approval dialogs for forwarded edits now rebuild the diff against your local copy of the file.
What's wrong with this entry?
When a session running elsewhere forwards an Edit or Write call to your machine, the approval dialog now tries to rebuild the diff from your local copy of the file instead of showing only the remote preview. If the local rebuild is not possible it falls back to the remote preview and records why.
- The dialog looks the forwarded call up locally; when found it reports the preview source as
local. - Fallback reasons recorded are
lookup_errorandlocal_read_failed. - A case where the edit produces no changes is explained to the user rather than shown as an empty diff.
- Every outcome is reported to a new telemetry event; there is no feature flag on the reporting, but the local preview additionally needs the forwarded call to be held on this machine.
tengu_remote_tool_served_preview
Strings lifted out of the shipped bundle, so the claim above can be checked against them.