opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]:rewind function in opencode

Open JCwinning opened this issue 5 days ago • 3 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

the current /undo command only can undo the last message. how could we rewind to previous stage. for example 3 message before. like /rewind in claude code which allow user to select historical stage.

JCwinning avatar Jan 11 '26 12:01 JCwinning

This issue might be a duplicate of existing issues. Please check:

  • #3071: /timeline UX is confusing (discusses rewinding to previous message in history similar to Claude Code's behavior)

Feel free to ignore if this doesn't address your specific case.

github-actions[bot] avatar Jan 11 '26 12:01 github-actions[bot]

/timeline function did not restore the code change from my testing, it print out the prompt message only, but the code modification did not rewind

Image

JCwinning avatar Jan 11 '26 13:01 JCwinning

/rewind should be a basic feature, it's surprising that opencode doesn't have it.

laotoutou avatar Jan 13 '26 09:01 laotoutou