Quest 模式对每个轮次改动的代码新增「撤销」、「重新应用」功能

Problem

Features: Quest 模式对每个轮次改动的代码新增「撤销」、「重新应用」功能。

Solution

期望能有 codex 这种效果,每轮对话完成的代码改动都梳理到最后,自动修改代码。然后也支持「撤销」本轮改动,或者「重新应用」改动,codex 的实现好像是通过 patch反patch 文件实现的,而不是全量修改文件。

一个会话可能涉及到多个轮次的修改,目前的交互模式是不太清晰每轮的修改的。比如之前调整得挺好,然后再叫它优化一点东西时把之前的东西改坏了,这个时候不太好撤销最后一次的改动。

Use Case

When would you use this?

Priority

  • :red_circle: High - Blocking issue
  • :yellow_circle: Medium - Important improvement
  • :green_circle: Low - Nice to have

Additional Info

(Optional: screenshots, examples, links)