The fork dialog already exists (dialog-fork), but you need to open the command palette to use it. Adding a fork icon button directly on each assistant text response lets you fork from that message point in one click.
The button appears on hover next to the copy button on assistant text responses. It calls the same POST /api/session/:sessionID/fork endpoint and navigates to the new session.
Branch: ohsalmeron/opencode:fork-message
The fork dialog already exists (
dialog-fork), but you need to open the command palette to use it. Adding a fork icon button directly on each assistant text response lets you fork from that message point in one click.The button appears on hover next to the copy button on assistant text responses. It calls the same
POST /api/session/:sessionID/forkendpoint and navigates to the new session.Branch:
ohsalmeron/opencode:fork-message