Repository navigation
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
@kitlangton lets this through pretty please |
you lie |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #47998
Type of change
What does this PR do?
Keeps saved TUI tabs and terminal selections separate for each server, so opening a remote TUI cannot reuse or overwrite the local layout. Both global and current-directory tab scopes are isolated, including when servers have identical session and terminal IDs.
The managed local server keeps its legacy storage and a stable identity across endpoint changes. Explicit server URLs use a normalized, credential-free identity; terminal lists use that identity too.
Legacy layouts are preserved for managed local use. If an older client already saved remote tabs into that layout, those stale entries may need closing manually; this fix prevents future mixing but does not reconstruct historical ownership.
A saved-server picker could build on this later (#37667). Opening remote sessions as tabs remains a separate request (#45346). #18302 is an analogous desktop-app issue.
How did you verify your code works?
v2.--server <url>using the same storage channel and launch directory, change the remote tabs, then return locally. Each server should restore only its own layout.Screenshots / recordings
pr-47999.mov
Checklist