[PR #5172] Feature Request / Proposal: fork session from message via CLI + copy command message dialog #11275

Closed
opened 2026-02-16 18:16:05 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5172

State: closed
Merged: No


I would often opencode -c in a new terminal, just to use /timeline to fork the session at a certain point. This way I can use /timeline and copy a command that forks a session at the selected message.

It would be cool, if there was a way to create a user-land function/hook that could get called from that message dialog. That way one could create a "fork in new terminal window" (or tmux/zellij-pane or whatever). Which is more complex - and I'm not yet familiar enough with opencode's source and direction - and would need this functionality anyway I guess.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5172 **State:** closed **Merged:** No --- I would often `opencode -c` in a new terminal, just to use `/timeline` to fork the session at a certain point. This way I can use `/timeline` and copy a command that forks a session at the selected message. It would be cool, if there was a way to create a user-land function/hook that could get called from that message dialog. That way one could create a "fork in new terminal window" (or tmux/zellij-pane or whatever). Which is more complex - and I'm not yet familiar enough with opencode's source and direction - and would need this functionality anyway I guess.
yindo added the pull-request label 2026-02-16 18:16:05 -05:00
yindo closed this issue 2026-02-16 18:16:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11275