Dunea Code
Undo, history and archive
Go back to an earlier point, branch a conversation, and archive or restore worktrees.
Go back to an earlier point
Every turn ends with a row showing what it changed. Its … menu (Turn actions) offers:
- Reset to this point: discards the chat and the file changes after it. You confirm with Reset.
- Fork to new tab: continues from this point in a new chat on the same worktree.
- Fork to new worktree: continues from this point on a new branch and worktree, leaving this one as it is.
Archive a worktree
When you're done with a worktree, archive it with the archive icon on its sidebar row, Archive in the header after merging, or Archive this worktree in the command palette.
Archiving removes the worktree folder. The branch, its commits and its chats are kept. If there are uncommitted changes, Dunea lists them and asks first, because those changes are lost.
Restore
On Home, press Show archived. Each archived worktree has:
- Restore: brings it back from its branch, with its chats.
- Delete for good: deletes its chats. The branch is kept. This can't be undone.
Archived chats open read-only; press Restore to continue to pick one up again.