fix: restore checkpoint visibility in UI

- Changed suppressMessage flag from true to false when creating checkpoints for user messages
- This ensures checkpoints are visible in the UI so users can restore their code when needed
- Fixes issue where checkpoint list was not appearing below API requests

Fixes #7786
This commit is contained in:
Roo Code 2025-09-08 17:35:05 +00:00
parent 0ce4e891fd
commit e642f9b444

View file

@ -892,9 +892,9 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
// Create a checkpoint whenever the user sends a message.
// Use allowEmpty=true to ensure a checkpoint is recorded even if there are no file changes.
// Suppress the checkpoint_saved chat row for this particular checkpoint to keep the timeline clean.
// Do not suppress the checkpoint_saved chat row so users can see and restore checkpoints.
if (askResponse === "messageResponse") {
void this.checkpointSave(false, true)
void this.checkpointSave(false, false)
}
// Mark the last follow-up question as answered