GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Workspaces/UX] Session list silently filtered when inside workspace context · Issue #27286 · anomalyco/opencode

[Workspaces/UX] Session list silently filtered when inside workspace context #27286

New issue
Copy link
New issue
Copy link
Closed
Closed
[Workspaces/UX] Session list silently filtered when inside workspace context#27286
Copy link
Assignees
simonklee

Description

@jamesmurdza
jamesmurdza
opened on May 13, 2026
Issue body actions

Description

Description

When inside a workspace context, the /sessions list is automatically filtered to only show sessions belonging to that workspace. This filtering happens silently with no visual indication, causing users to lose track of sessions they know exist.

While a toggle command exists in the command palette (app.toggle.session_directory_filter), users don't know:

  1. That filtering is active
  2. That this toggle exists
  3. How to find it

Suggested Fixes

Option A: Add visual indicator when filtering is active

In the session list dialog, show something like:

Sessions (filtered to current workspace)  [Press X to show all]

Option B: Add "Show all sessions" option in session list

Location: packages/opencode/src/cli/cmd/tui/component/dialog-session-list.tsx

Add an action to the session list dialog:

{
  command: "session.show_all",
  title: "show all",
  onTrigger: () => {
    kv.set("session_directory_filter_enabled", false)
    sync.session.refresh()
  },
}

Option C: Don't filter by default

Change the default from true to false:

if (!kv.get("session_directory_filter_enabled", false)) return { scope: "project" }

Workaround

Open the command palette and search for "session directory filter" to toggle filtering off.

Context

This issue was identified during development of the Daytona OpenCode plugin: daytonaio/daytona#4504

Plugins

No response

OpenCode version

1.14.48

Steps to reproduce

  1. Start OpenCode locally (no workspace) - can see all sessions
  2. Create a new workspace via /warp
  3. Open /sessions list
  4. Result: Only sessions from the current workspace are shown, with no indication that filtering is active

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04

Terminal

No response

Activity

  1. github-actions
    assigned
    simonklee
    on May 13, 2026
  2. github-actions commented on May 13, 2026

    @github-actions
    github-actionsBot
    on May 13, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [FEATURE]: Filter TUI session list by current directory/worktree #9881: Feature request to filter TUI session list by current directory/worktree — describes the same filtering behavior and proposes the same kinds of fixes (visual indicator, toggle)
    • [FEATURE]: Add --all flag to /sessions command to view sessions across all projects #17842: Feature request to add --all flag to /sessions to view sessions across all projects — same root problem of sessions being silently filtered by directory
    • Regression: /sessions command no longer filters by current working directory #19340: Regression report that /sessions no longer filters by CWD — the flip side of this issue, touching the same session_directory_filter behavior
    • session list is showing all sessions not only the ones scopes to the curent dir #8836: Session list showing all sessions instead of only those scoped to the current directory — another report of the same filtering UX confusion
  3. jamesmurdza
    closed this as completedon May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @simonklee
    simonklee

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.