Desktop app shows no recovery option when working directory has been moved or deleted

Resolved 💬 3 comments Opened Apr 25, 2026 by AdarshaBairy Closed Jun 16, 2026

Description

When a project's working directory is moved or renamed, the Claude desktop app throws an error on startup:

Working directory no longer exists: /path/to/old/folder. The folder may have been moved, deleted, or unmounted.

The app correctly detects the problem but provides no way to recover from within the UI. The only workaround is to manually edit a hidden JSON session file at:

~/Library/Application Support/Claude/claude-code-sessions/<session-id>/<window-id>/local_<id>.json

and update the cwd and originCwd fields to the new path — something most users would never find.

Steps to Reproduce

  1. Open the Claude desktop app and start a session in a folder (e.g. /Documents/Learning/claude)
  2. Move or rename that folder (e.g. to /Documents/claude)
  3. Reopen the Claude desktop app
  4. The error appears with no in-app recovery option

Expected Behavior

When a saved working directory is missing, the app should offer an in-app option to either:

  • Re-select / re-point to the new folder location
  • Or dismiss / remove the stale session entirely

Actual Behavior

The error is shown but the user is stuck — no button, no prompt, no in-app fix.

Environment

  • macOS 15 (Darwin 24.6.0)
  • Claude desktop app version 2.1.119

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗