anomalyco / anomalyco/opencode
tui: directory indicator stays stale after /move in a new session
@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
- Create a new session with
/new. - Use
/moveand select an existing worktree. - Observe that the directory indicator still shows the base directory.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.