When an agent changes files, Outmake keeps track of what it changed, so you can see it, put it back, commit it, or keep the work apart from another chat’s.
Seeing what changed
Once a chat has changed files, a button in the window’s top bar says how many. It opens Changes in This Chat: every file, with what was added and removed, and a way to put back one file or all of them.
Changes made by an agent’s commands count too, not only its edits. In a project folder, Outmake notes the folder before and after each reply. In your home folder it only follows the files a command names. Files larger than 8 MB aren’t kept.
Putting it back
- Undo File Changes… on a reply puts back the files that reply changed. It’s in the reply’s menu and on the button under it.
- Rewind to Here on one of your messages takes the chat back to it. You choose whether the files changed after it go back too, or stay as they are. A line with Undo stays until your next message, in case you change your mind.
- Editing an earlier message asks the same question before it sends.
Outmake can put back files. It can’t undo what a command did outside them, like a message it sent.
Committing
Commit… in Changes in This Chat commits only the files this chat changed, with a message written on this Mac in the style of the project’s own. It checks for keys and passwords first. You can put it on a new branch, then Push, then Create Pull Request, which opens GitHub’s page for it.
Working separately
Two chats working in one project can trip over each other’s changes. Choose Work Separately from the folder menu before a chat’s first message, or when Outmake offers it because another chat is already working there. The chat then works in its own copy of the project, on its own branch, starting from the last commit. Anything you haven’t committed stays where it is.
The top bar shows the branch. Its menu has Bring Back, which brings the copy’s commits and changes into your project; Show in Finder; and Remove Copy…, which moves the copy to the Trash and keeps its branch. If what the copy changed clashes with changes in your project, nothing is brought back, and it says why.
Opening files from a reply
A file an agent names in a reply is a link. Click it to see it in Quick Look. Command-click opens it at that line in the app chosen in Settings › Chats › Open Files In. Option-click shows it in Finder. The name above a change opens the same way. Anything that would run when opened, like an app or a script, is shown in Finder instead.
Finding your way
- In a long chat, marks at the right stand for your messages, and the one you’re reading is darker. Point at one to see what you asked and how the reply began; click to go straight to it. They appear once a chat has four messages of yours and is longer than a screen and a half, and hide when the window is too narrow to fit them beside the text.
- View › Organize by Project groups the sidebar by project instead of by date. A chat in a separate copy sits with the project it was copied from.