Skip to content

Ability to revert to previous chat message in claude code #71

Description

@wiltaylor-daf

Problem:

In claude code you can press ESC twice and revert a chat session to a previous message.

I can see there is a button to revert to a previous chat message in zed but not available on Claude Code agent yet.

Proposed solution

It would be nice to impliment the ability to revert to previous chat message and rewind the context window to that point. I use this feature a lot in the tui version of cluade code. It is a great way to managing the context window as you can fork from a previous chat message to work on other a pre-primed chat session without your context window filling up and being compacted.

  • Easy solution would be to impliment the ability to modify chat messages using the existing chat and resuming the conversation from that point.

  • Awesome solution would be add the ability to set bookmarks in a chat message so you can get back to that point easily. Then have the ability to fork the conversation so it creates a new session with the existing chat history up to that point and lets you select between them in the ui (claude code actually does this if you look at the session history).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions