Skip to content

[FEATURE]:rewind function in opencode #7794

Closed

Description

@JCwinning

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.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 11, 2026
  2. github-actions commented on Jan 11, 2026

    @github-actions
    Contributor

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

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

  3. JCwinning commented on Jan 11, 2026

    @JCwinning
    Author

    /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
  4. laotoutou commented on Jan 13, 2026

    @laotoutou

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

  5. osscv commented on Jan 18, 2026

    @osscv

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

  6. github-actions commented on Mar 27, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  7. abbasEbadian commented on Oct 5, 2026

    @abbasEbadian

    Just like /clear which is an alias for /new
    /rewind also can be an alias for /timeline

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

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions