Skip to content

[FEATURE] Clone / Branch a Session #3000

Closed as duplicate
Closed as duplicate

Description

@webboty

Every now and then it may make sense to approach 2 (or more) strategies to continue with a project.
It would be nice if we could have a /clone or /branch command for that, which basically copies the session, we could then continue on that session with the CTX loaded and test the approach to continue. Always having the option to go another path with the original session.

That would also make it easier to /compact sessions while having the option to keep the un-compacted session open.

I think this small command would add a ton of flexibility to workflows.

The easiest way would be to just branch a session on the latest chat / message.
Even more fancy, branch/clone using a specific chat message in the timeline, but this is probably not required (as the same may be accomplished using a normal /branch and then /undo (s) on the branched / cloned session).

Activity

  1. github-actions commented on Oct 6, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Oct 6, 2025

    @rekram1-node
    Collaborator

    Yeah I think this will be included in the opentui version of opencode that is currently a WIP btu should be done soon. Closing as dup of: #1759

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions