Rejecting changes empties the file instead of reverting to previous state

Issue Description

After clicking reject, the files updated in the current session will be emptied. No way to undo or revert such change from the IDE.

Steps to Reproduce

Wait for the agent to change some files. Click on the “Reject” button.

Expected Behavior

After clicking “Reject”, the file should be restored to the last state.

Actual Behavior

The file is emptied/cleared.

Screenshots / Screen Recordings

Operating System

Current Qoder Version (Menu → About Qoder → Copy)

Version: 0.8.2
VSCode Version: 1.106.3
Commit: 6311cc8d6a98e4fc1a8761836ef00c9aed96f12b
Date: 2026-03-18T13:44:23.737Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 23.1.0

Please submit an issue so that we can troubleshoot it together with the logs.:saluting_face: