[FEATURE]:rewind function in opencode #4736

Open
opened 2026-02-16 17:45:12 -05:00 by yindo · 4 comments
Owner

Originally created by @JCwinning on GitHub (Jan 11, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • 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.

Originally created by @JCwinning on GitHub (Jan 11, 2026). Originally assigned to: @thdxr on GitHub. ### 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.
yindo added the discussion label 2026-02-16 17:45:12 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 11, 2026):

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] commented on GitHub (Jan 11, 2026): 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.
Author
Owner

@JCwinning commented on GitHub (Jan 11, 2026):

/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 commented on GitHub (Jan 11, 2026): /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 <img width="667" height="253" alt="Image" src="https://github.com/user-attachments/assets/ccfa5b28-587f-46db-a94a-d26cb5aa7125" />
Author
Owner

@laotoutou commented on GitHub (Jan 13, 2026):

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

@laotoutou commented on GitHub (Jan 13, 2026): /rewind should be a basic feature, it's surprising that opencode doesn't have it.
Author
Owner

@osscv commented on GitHub (Jan 18, 2026):

I agree with u @laotoutou , the /undo was not revert to the previous code lol

@osscv commented on GitHub (Jan 18, 2026): I agree with u @laotoutou , the /undo was not revert to the previous code lol
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4736