Skip to content

fix: match WSL session list cwd casing - #1053

Open
kocaemre wants to merge 1 commit into
agentclientprotocol:mainfrom
kocaemre:fix/wsl-cwd-session-list
Open

fix: match WSL session list cwd casing#1053
kocaemre wants to merge 1 commit into
agentclientprotocol:mainfrom
kocaemre:fix/wsl-cwd-session-list

Conversation

@kocaemre

Copy link
Copy Markdown

Summary

  • normalize /mnt/<drive>/... cwd filters before calling the Claude SDK session index
  • keep non-WSL paths case-preserving
  • add session/list coverage for the WSL drive-path case

Fixes #1041

Verification

  • npm run test:run -- src/tests/acp-agent.test.ts -t 'session/list'
  • npm run test:run -- src/tests/acp-agent.test.ts
  • npm run build
  • npm run check
  • git diff --check

I also ran npm run test:run; it reached 1044 passed, 27 skipped and failed only the two existing root-environment resolvePermissionMode expectations where bypassPermissions is downgraded to default when tests run as root.

Signed-off-by: Emre K <110906681+kocaemre@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

session/list matches cwd case-sensitively, so a session created with a /mnt/<drive> path cannot be found with that same path

1 participant