A session is a conversation you can change your mind in.
Say something while the agent works and it hears you after the step it's on, or queue it for when the turn ends. If it went the wrong way, rewind to any message you sent: the conversation and the files go back together, and your words return to the prompt box to try again.
↵ steers the running turn after its current step. ⇧↵ queues the message until the turn ends. Esc stops it. Each waiting message shows in the prompt box, so you know what it will hear next.
Rewind to any message you sent. KodaCode restores the files the agent changed after it, keeps the ones you edited unless you say otherwise, and offers Undo restore if you change your mind.
Change course without starting over.
Each of your messages has Rewind to this message once the turn ends. It tells you what it will do before it does it: how many messages go, and how many files it restores.
| Rewind conversation and files | Removes this message and everything after it; it comes back in the prompt box, and the files go back too |
| Rewind conversation only | Files stay as they are now |
| Restore files only | Keeps the conversation; KodaCode tells the agent which files went back |
| Overwriting your edits | Offered when you edited a file since; it puts your copy back too |
| Undo restore | Puts the files back as they were before the restore |
The sessions dock puts sessions that need you at the top, then this project's, with a switch to see every project's.
Run several sessions in one Koda window, in one project or in many. When you switch to a different session or project, the running sessions continue. The sessions list shows which sessions are running.
⌘O opens every conversation KodaCode has kept. Resuming one switches to its project.
Ask how you did something last week. The agent searches this project's earlier sessions and reads the one that matters.
Forget the sessions you no longer want. One whose background work is still running is kept.
Close the window with work running and choose to keep it running, pause it until next time, or stay.