Fix path decoding for hidden folders and deleted projects
Two issues fixed:
1. Hidden folder encoding: Claude encodes /. as -- (e.g., /.cache becomes
--cache). The decoder now handles this correctly.
2. Deleted project fallback: When the original project folder no longer
exists, filesystem probing fails. Now falls back to reading the cwd
from the session file itself, which always has the correct path.
This fixes projects like "pdf-to-markdown" being incorrectly decoded as
"markdown" when the folder /.cache/pdf-to-markdown was deleted.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>