anomalyco / anomalyco/opencode

Session list misses sessions when directory case differs on Windows

Open
#49,556 1 comment 2 reactions 1 assignee View on GitHub

@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
  1. On Windows, create a session in \D:\codenomad.
  2. List sessions with directory \D:\CodeNomad\ (same folder, different case).
  3. The session is missing from the result.
Operating System

Windows 11

Terminal

Windows Terminal

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.