Skip to content

[FEATURE]: runtime directory switching in remote TUI #18119

Closed as not planned
Closed as not planned

Description

@Yeamika

Feature hasn't been suggested before.

  • 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.

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Mar 18, 2026
  2. github-actions commented on Mar 18, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • 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:

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. changed the title [-]TUI cannot switch remote directory after attach[/-] [+][FEATURE]: runtime directory switching in remote TUI[/+] on Mar 18, 2026
  4. github-actions commented on Mar 18, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets our contributing guidelines. We appreciate you taking the time to improve it.

  5. github-actions commented on Mar 18, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets our contributing guidelines. We appreciate you taking the time to improve it.

  6. github-actions commented on Mar 18, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines and looks good. We appreciate you taking the time to revise it.

  7. github-actions commented on Mar 18, 2026

    @github-actions
    Contributor

    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.

  8. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  9. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions