Commit c708012
authored
fix(claude): add XDG state and cache paths for Claude Code 2.x (#20)
Claude Code 2.x uses XDG-style directories for state and cache:
- ~/.local/state/claude/ for lock files
- ~/.cache/claude/ for staging
Without these paths, OAuth token refresh fails because the lock
file write to ~/.local/state/claude/locks/ is denied.1 parent 55b57fc commit c708012
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
0 commit comments