Commit dcf3640
fix: cwd fallback in findClaudeProjectDir — Claude Code encodes _ to - (v0.7.6)
Our encoder preserved underscores but Claude Code replaces ALL non-alphanum chars
with '-', so paths like I_CT encoded to I-CT, causing (0) sessions. Now falls back
to reading cwd from JSONL when encoded name doesn't match the fast path.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d892deb commit dcf3640
2 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
| 886 | + | |
886 | 887 | | |
887 | | - | |
888 | | - | |
| 888 | + | |
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
892 | | - | |
893 | | - | |
| 892 | + | |
| 893 | + | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
897 | | - | |
898 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
899 | 900 | | |
900 | 901 | | |
901 | 902 | | |
| |||
0 commit comments