Skip to content

No way to edit a sent message or undo the last turn #1114

Closed

Description

@iamEvanYT

Summary

There's no way to edit a user message after it's been sent, or to undo the last turn (user prompt + assistant reply) and put that prompt back in the composer.

Environment

  • bb 0.35.1

Problem

In most chat UIs you can tweak the last thing you said — edit it, resend, and the old turn goes away. In bb, once a message is on the timeline it's stuck there.

What I want day-to-day:

  1. Realize the last prompt was wrong / incomplete
  2. Undo that turn (my message and the reply after it)
  3. Get the text back in the composer so I can fix it and send again

Right now the closest option is forking at an earlier sourceSeqEnd, which creates a new thread and leaves the old one around. That works as a workaround if you're building a plugin, but it's not an edit/undo affordance in the product — and there's no plugin/SDK API to truncate or rewrite history on the current thread either.

Expected

Something like:

  • Edit on a user message (or an "undo last turn" action) that removes that message and everything after it from the current thread
  • Puts the original text back in the composer
  • Ideally also exposed to plugins (SDK / composer action surface) so third-party undo/edit tools don't have to fake it with fork + archive

Forking is fine for branching a conversation. It's a rough substitute for "oops, let me rephrase that."

Activity

  1. iamhenry commented on Aug 7, 2026

    @iamhenry
    Contributor

    +1 especially for opencode

  2. self-assigned this
    on Aug 7, 2026
  3. ymichael commented on Aug 7, 2026

    @ymichael
    Collaborator

    thanks for creating this issue! I'm v interested in adding this!

  4. ryanbbrown commented on Aug 7, 2026

    @ryanbbrown
    Contributor

    +1 would love for this to be added! for my usage, ideally would work to "rewind" to any past user message rather than only the immediately previous; @ymichael do you think it would be easy to include that?

  5. ymichael commented on Aug 13, 2026

    @ymichael
    Collaborator

    I added this for codex, claude code and pi (and it should work for any past user message!) - this should enabled for everyone in the next version

    Unfortunately for ACP based providers, this isn't supported for now

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions