mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
A turn that dies before the model emits its first token leaves its rewind anchor without an assistant message id. resolveConversationRewindTarget read only the anchor immediately before the target, so that one turn made every later rewind in the conversation throw "assistant response id was not observed" for good. Such a turn carries no conversation state, so walk back to the most recent turn that did answer and fork there, falling back to a fresh session when none did. The rewind SDK now reaches the session as an option so the regression test can drive revertConversation without forking a real Claude session. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>