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
{{ message }}
Repository navigation
[FEATURE]: runtime directory switching in remote TUI #18119
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When attaching the TUI to a remote OpenCode server, the active directory stays tied to the startup cwd. That makes it awkward to switch project context on the remote machine without restarting the TUI.
I would like a small runtime directory switch flow for remote TUI usage, for example a /changedirectory command that switches the active remote directory, refreshes TUI state against that directory, and returns to the home screen.
I already have this working in a fork. The TUI can switch directories at runtime and rebind itself to the new remote directory without restarting the whole server. In practice this fits well with an instance-scoped reload path, so the remote TUI can refresh context for the selected directory instead of requiring a full reconnect/restart flow.
No issue template was used. Please resubmit using one of the required templates: Bug Report, Feature Request (title must start with [FEATURE]:), or Question. This appears to be either a bug report or feature request — please pick the appropriate template and fill in all required fields.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
Thanks for updating the issue! It now follows the contributing guidelines and feature request template. We appreciate the clear description of the problem and the proposed solution.
Activity
github-actions commentedon Mar 18, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:), or Question. This appears to be either a bug report or feature request — please pick the appropriate template and fill in all required fields.Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
[-]TUI cannot switch remote directory after attach[/-][+][FEATURE]: runtime directory switching in remote TUI[/+]github-actions commentedon Mar 18, 2026
Thanks for updating the issue! It now meets our contributing guidelines. We appreciate you taking the time to improve it.
github-actions commentedon Mar 18, 2026
Thanks for updating the issue! It now meets our contributing guidelines. We appreciate you taking the time to improve it.
github-actions commentedon Mar 18, 2026
Thanks for updating the issue! It now follows the contributing guidelines and looks good. We appreciate you taking the time to revise it.
github-actions commentedon Mar 18, 2026
Thanks for updating the issue! It now follows the contributing guidelines and feature request template. We appreciate the clear description of the problem and the proposed solution.
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.