anomalyco / anomalyco/opencode

V2: Worktree directory labels missing from session picker

Open
#41,025 0 comments 0 reactions 1 assignee View on GitHub

@simonklee is already working on this.

Since Aug 7, 2026.

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

Description

Description

In OpenCode v2, /session current-project mode hides the directory label for every session. Sessions in different worktree directories are therefore indistinguishable. Project-root sessions should remain unlabeled; worktree sessions should show the directory basename.

Plugins

None

OpenCode version

v2

Steps to reproduce
  1. Create sessions in a project root and a worktree directory.
  2. Open /session in the project.
  3. Observe that neither session has a right-side directory label.
Screenshot and/or share link
Image
Operating System

macOS

Terminal

No response

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.