[Bug]: 最新的对话,回溯只能回溯对话,不能回溯文件
Version line
v2 — Go rewrite (1.x), main-v2 (active development)
Exact version
v1.11.1
What happened?
最新对话完成后,想对这次对话内容回溯,只能回溯对话,不能回溯修改的文件,只有关闭会话,重新加载会话窗口,才能回溯
Steps to reproduce
OS / platform
Window11
Relevant logs or output
+1,相同问题
已提交修复 PR:#5399
该 PR 修复最新对话完成后只能回溯对话、不能立即回溯文件的问题:当前 turn 的文件快照现在会立即出现在 checkpoint metadata 里,code/both 回溯能力不再需要通过重新加载或切换 tab 才刷新。
Closing this as fixed by #5399 (merged as d9dd4ab55c7d53ac701d4a424a0d3aa03cac87fd).
The fix makes the latest turn's file snapshots available in desktop checkpoint metadata immediately, so newly completed turns can offer code/both rewind without needing to reload or switch sessions first.
Verification in the PR: go test ./..., go test -C desktop ./..., focused frontend checkpoint/history tests, and git diff --check passed.
Release status: the fixing commit is included in Desktop v1.13.0, so users should pick up the fix by upgrading to Desktop v1.13.0 or newer.