Skip to content

Rewind support#24

Closed
ConradIrwin wants to merge 2 commits intomainfrom
rewind
Closed

Rewind support#24
ConradIrwin wants to merge 2 commits intomainfrom
rewind

Conversation

@ConradIrwin
Copy link
Copy Markdown
Contributor

Adds app support for rewind.

This is currently limited to the 1st party agent in Zed, but it would be nice to support it over acp.

@kamalmarhubi
Copy link
Copy Markdown

@ConradIrwin will this allow "rewinding" to a prompt id from a different fork of the conversation? If so, should that be a documented requirement of the feature?

Example use cases:

  • I rewound by accident and want to return to where I was
  • I rewound and tried a different direction, but realised the previous direction was better
  • I rewound to free up a bit of space in the context window to answer a question, and then want to continue where I left off with that knowledge

The last comes up for me when I know that ~10 messages back the agent already had enough context to answer a question, but I also know I'm running out of space in the context window to finish my current task.

If, eg, Claude Code supports that kind of "rewind", then this new capability could make it a documented requirement. This would allow ACP client applications to experiment with context branching UIs, even if agents are not directly exposing the forking history.

(This might warrant a rename, as well as some longer-horizon protocol thinking though.)

@ConradIrwin
Copy link
Copy Markdown
Contributor Author

@kamalmarhubi Potentially, though even the Zed built in agent doesn't support that yet, it sounds like a useful feature.

I don't think anything in the protocol would need to change, but we would need to build it :D

@benbrandt benbrandt closed this Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants