anomalyco / anomalyco/opencode
Session list misses sessions when directory case differs on Windows
Open
@Hona is already working on this.
Since Sep 17, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Directory-scoped session listing compares the stored directory with exact SQL string equality. On Windows a session stored as \D:\codenomad\ disappears from a \D:\CodeNomad\ listing even though both spellings are the same directory. I hit this through CodeNomad: sessions vanished when the requested case did not match the stored case.
Steps to reproduce
- On Windows, create a session in \D:\codenomad.
- List sessions with directory \D:\CodeNomad\ (same folder, different case).
- The session is missing from the result.
Operating System
Windows 11
Terminal
Windows Terminal
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.