[BUG] /desktop fails with "CLI session transcript not found" on Windows
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Bug: /desktop command fails with "CLI session transcript not found" on Windows
Version: Claude Code v2.1.113
OS: Windows 11
Node: v24.14.1 (fnm)
Steps to reproduce:
- Run
claudein PowerShell - Execute
/desktop - Claude Desktop opens and immediately shows error dialog
Error:
Couldn't open session
CLI session transcript not found: <uuid>
Root cause identified:~/.claude/sessions/ directory exists but is always empty. Claude Code generates a session UUID and passes it to Claude Desktop via deep link, but never writes the transcript file to disk. Claude Desktop then fails to find the file.
Verified:
~/.claude/sessions/→ empty~/.claude/projects/→ contains.jsonlfiles but none matching the UUID shown in error- Reinstalling Claude Code does not fix it
- Updating Claude Desktop to latest does not fix it
- Error UUID changes on every
/desktopinvocation
Workaround: Use Claude Code directly in terminal. /desktop integration is non-functional on Windows.
Expected behavior: Session transcript written to ~/.claude/sessions/<uuid>.jsonl before Desktop is launched.
What Should Happen?
Session transcript written to ~/.claude/sessions/<uuid>.jsonl before Claude Desktop is launched. Desktop should open the session successfully.
Error Messages/Logs
Couldn't open session
CLI session transcript not found: ae708bb8-735a-4732-b891-8f93fb0abea9
Steps to Reproduce
- Open PowerShell (Windows 11)
- Run
claude - Execute
/desktop - Claude Desktop opens and shows error dialog immediately
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Unknown
Claude Code Version
v2.1.113
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗