anomalyco / anomalyco/opencode

tui: directory indicator stays stale after /move in a new session

Open
#43,938 3 comments 2 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 21, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

After using /move in a newly created session to select an existing worktree, the directory indicator continues to show the base directory. It does not update until activity starts in the moved session.

Expected: the directory indicator updates immediately after /move changes the session's worktree.

Actual: there is no visible indication that the directory changed, and the base directory remains displayed.

Plugins

Local notifier.js plugin.

OpenCode version

1.18.18, installed via mise release channel.

Steps to reproduce

  1. Create a new session with /new.
  2. Use /move and select an existing worktree.
  3. Observe that the directory indicator still shows the base directory.
Image Image

Screenshot and/or share link

Not provided.

Operating System

Arch Linux, kernel 7.1.8-arch1-3, x86_64.

Terminal

Terminal application unavailable from the environment. TERM=xterm-256color, COLORTERM=truecolor.

Additional environment

Shell: /usr/bin/fish.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.