Description
On Windows, session filtering can treat slash-equivalent directory paths as different locations. A session stored under a path like C:\repo\packages\opencode can be missed when the request or cursor uses C:/repo/packages/opencode.
This affects both normal session list filtering and v2 cursor validation. It also shows up for legacy session rows that do not have a path value and still fall back to directory matching.
Plugins
None
OpenCode version
1.15.3
Steps to reproduce
- On Windows, create sessions from nested directories inside the same git repo.
- List sessions or continue pagination using a slash-normalized directory path.
- Observe that matching sessions may be omitted, or v2 cursor requests may be rejected because the directory string does not match exactly.
Screenshot and/or share link
N/A
Operating System
Windows 11
Terminal
PowerShell
Description
On Windows, session filtering can treat slash-equivalent directory paths as different locations. A session stored under a path like
C:\repo\packages\opencodecan be missed when the request or cursor usesC:/repo/packages/opencode.This affects both normal session list filtering and v2 cursor validation. It also shows up for legacy session rows that do not have a
pathvalue and still fall back to directory matching.Plugins
None
OpenCode version
1.15.3
Steps to reproduce
Screenshot and/or share link
N/A
Operating System
Windows 11
Terminal
PowerShell