You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this feature I'm about to request hasn't been suggested before.
Right now /fork only forks the whole session history from the command palette.
Each user message just has revert and copy next to it, with no way to fork from that point.
I'd like a small fork button next to revert/copy on every user message.
Clicking it should fork the session at that message and jump to the new session.
Looks like UserActions already reserves fork (packages/session-ui/src/components/message-part.tsx:178) but nothing renders it per message.
Thanks for the suggestion! You're asking for a Fork button next to Revert and Copy on each user message in the session timeline. Clicking it would fork the session at that message and open the new session.
A couple of notes from looking at the current code:
/fork already opens a "Fork from message" picker where you choose the user message to fork from (packages/app/src/session/commands/fork-dialog.tsx). So the underlying fork-at-message behaviour exists; what's missing is a per-message shortcut.
There's no reserved fork action right now. SessionUserActions in packages/session-ui/src/actions.ts only has openAttachment, revert and pending, and message-part.tsx no longer exists. Wiring this up would mean adding the action there and connecting it the same way the fork dialog does.
This was fixed by #58865. That PR merged into the beta branch, so GitHub didn't close this issue automatically. The fix will be in the next release. Closing as completed.
Activity
opencode-agent commentedon Oct 19, 2026
Thanks for the suggestion! You're asking for a Fork button next to Revert and Copy on each user message in the session timeline. Clicking it would fork the session at that message and open the new session.
A couple of notes from looking at the current code:
/forkalready opens a "Fork from message" picker where you choose the user message to fork from (packages/app/src/session/commands/fork-dialog.tsx). So the underlying fork-at-message behaviour exists; what's missing is a per-message shortcut.forkaction right now.SessionUserActionsinpackages/session-ui/src/actions.tsonly hasopenAttachment,revertandpending, andmessage-part.tsxno longer exists. Wiring this up would mean adding the action there and connecting it the same way the fork dialog does.Maintainers will consider it. Related issues:
/forkdialog only lists messages that are already loadedTarquinen commentedon Oct 26, 2026
This was fixed by #58865. That PR merged into the
betabranch, so GitHub didn't close this issue automatically. The fix will be in the next release. Closing as completed.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊