Skip to content

TUI move session command description is unclear #35306

Closed

Description

@lushangkan

Description

The TUI "Move session" command description currently says "Move to another project dir".

This can be misunderstood as moving the current session to a different project. In practice, the dialog moves the session to another directory/worktree/project copy within the current project.

This wording made the scope of the command unclear before opening the dialog.

Plugins

None

OpenCode version

v1.17.13

Steps to reproduce

  1. Open the TUI command palette.
  2. Find the "Move session" command.
  3. Read the description: "Move to another project dir".

Actual result:
The description can read like the session will move to another project.

Expected result:
The description should make clear that this moves the session to another worktree/project copy for the current project.

Screenshot and/or share link

Image

Operating System

Arch Linux, WSL2

Terminal

Windows terminal

Activity

  1. thisma commented on Aug 7, 2026

    @thisma

    I want to add that I've not managed to determine, from the description of this command or any OpenCode documentation* I've found, what this command does. Experimenting has also not elucidated its behaviour to me. The most productive thing I've managed to get this command to do is produce the error "Creating Workspace Failed - project copy source not found: /" I've not figured out how to make it do anything related to switching projects, using git worktrees, or changing the working directory.

    I'd like to be able to change the working directory for the session, but I'm not sure if this or any other command does that. I also like the idea of being able to create and work with git worktrees from within OpenCode.

    * The documentation does not include "/move" under "Here are all available slash commands:" at https://opencode.ai/docs/tui#commands

  2. neriousy commented on Oct 1, 2026

    @neriousy
    Member

    In v2 the agent has a "move session tool" which changes the current working directory of that session to some other directory. Usefull when creating worktress etc.

    you can also use the /cd command

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