Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem
In long sessions, the TUI scroll buffer truncates older messages — scrolling up
reaches a hard limit before the beginning of the conversation. This makes it
impossible to:
- Review the full history of a session directly in the TUI
- Click on an early message to fork the session from that point
The fork-from-message feature exists and works, but it's only accessible by
clicking on a visible message. If the message is outside the scroll buffer,
it's effectively unreachable from the UI.
Current workaround
The only workaround is to use opencode session cat <id> or read the raw JSON
file to find the message, then manually edit the session file to create a fork.
This is cumbersome and not user-friendly.
Proposed Solution
One or more of the following:
- Remove or significantly increase the TUI scroll buffer limit, keeping the
full session history scrollable
- Add a "jump to message" or search within session feature in the TUI
- Add a
opencode session fork <session-id> <message-id> CLI command
so forks can be created without needing to scroll to the message visually
Expected behavior
Users should be able to scroll to any message in the session history and
fork from it, regardless of session length.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem
In long sessions, the TUI scroll buffer truncates older messages — scrolling up
reaches a hard limit before the beginning of the conversation. This makes it
impossible to:
The fork-from-message feature exists and works, but it's only accessible by
clicking on a visible message. If the message is outside the scroll buffer,
it's effectively unreachable from the UI.
Current workaround
The only workaround is to use
opencode session cat <id>or read the raw JSONfile to find the message, then manually edit the session file to create a fork.
This is cumbersome and not user-friendly.
Proposed Solution
One or more of the following:
full session history scrollable
opencode session fork <session-id> <message-id>CLI commandso forks can be created without needing to scroll to the message visually
Expected behavior
Users should be able to scroll to any message in the session history and
fork from it, regardless of session length.