Hacker News new | ask | show | jobs
by pimeys 14 days ago
Terminal of course would do. But the graphical diff of Gram editor is so good, and if you combine it with tighter integration with the agent this might be a great feature. Right click a part of the diff, ask the agent a question or ask it to make changes...

There are people who say that reading code is not needed anymore. After a year in a company who kind of stopped that at some point, we all learned it's a horrible idea and now we carefully review and craft every change.

1 comments

Right now if you click "Review" (on an assistant message, so in effect a reply to an email almost) or after it's stopped and click the purple review button, you can edit inline like MS Word track changes. "Commit" then sends the hunks back to the AI on your next turn to review. Works quite well. Caveat is it uses DC's own tools to track changes to files (because I want the system to be source control agnostic) - so YMMV if your AI goes blundering around making big changes in shell commands.

The next step I need to do is to let users (or the AI help you) set up version control command to do that work instead of DreamCoder if you prefer that.