Skip to content

tui: /sessions no longer prioritizes sessions from the current cwd #38326

Closed as not planned

Description

@Kristijan-K

Summary

The /sessions command no longer prioritizes sessions associated with the current working directory. Instead, sessions from all folders are shown without cwd-based prioritization, making it harder to find the sessions relevant to the active project.

Environment

  • opencode version: opencode2 v0.0.0-next-15853
  • OS: Linux omarchy 7.1.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat 18 Jul 2026 17:30:57 +0000 x86_64
  • Terminal: TERM=xterm-256color, COLORTERM=truecolor; terminal program unavailable
  • Shell: /usr/bin/bash
  • Install/channel: next
  • Active plugins: .opencode/plugins/graphify.js, /home/kkosu/.opencode/plugins/graphify.js

Reproduction

  1. Open OpenCode from a working directory that has existing sessions.
  2. Invoke /sessions.
  3. Observe the ordering of the listed sessions.

Expected Behavior

Sessions associated with the current working directory should be prioritized, as they were previously. Sessions from other folders may still be listed after the current cwd sessions.

Actual Behavior

Sessions from all folders are shown without prioritizing sessions from the current working directory.

Additional Context

This appears to be consistently reproducible. No workaround or related recent change has been identified.

Activity

  1. github-actions commented on Jul 22, 2026

    @github-actions
    Contributor

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

    If your report describes a distinct regression (cwd-based prioritization was working and broke recently, rather than never working), it may be a new occurrence worth keeping open. Please confirm whether this started with a specific version.

  2. Kristijan-K commented on Jul 22, 2026

    @Kristijan-K
    Author
  3. github-actions commented on Sep 21, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions