Preflight Checklist
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
claude in 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 .jsonl files 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
/desktop invocation
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/.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
Preflight Checklist
What's Wrong?
Bug:
/desktopcommand fails with "CLI session transcript not found" on WindowsVersion: Claude Code v2.1.113
OS: Windows 11
Node: v24.14.1 (fnm)
Steps to reproduce:
claudein PowerShell/desktopError:
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/desktopinvocationWorkaround: Use Claude Code directly in terminal.
/desktopintegration is non-functional on Windows.Expected behavior: Session transcript written to
~/.claude/sessions/<uuid>.jsonlbefore Desktop is launched.What Should Happen?
Session transcript written to ~/.claude/sessions/.jsonl before Claude Desktop is launched. Desktop should open the session successfully.
Error Messages/Logs
Steps to Reproduce
claude/desktopClaude 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