Commit 21ce60d
committed
fix: cherry-pick upstream improvements
- PR winfunc#407: Use ES module import for Tauri event listeners
- Fixes event listeners not receiving events in ClaudeCodeSession
- Uses runtime check instead of module load time detection
- PR winfunc#344: Handle missing ~/.claude directory gracefully
- Check if directory exists before canonicalizing
- Fall back to original path if canonicalize fails
Note: PR winfunc#278 (IME fix) and PR winfunc#373 (installation_type fix) were already implemented1 parent ca386d2 commit 21ce60d
File tree
2 files changed
+31
-19
lines changed- src-tauri/src/commands
- src/components
2 files changed
+31
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
211 | 224 | | |
212 | 225 | | |
213 | 226 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | | - | |
20 | | - | |
21 | 20 | | |
22 | 21 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 22 | + | |
| 23 | + | |
30 | 24 | | |
31 | | - | |
32 | | - | |
| 25 | + | |
| 26 | + | |
33 | 27 | | |
34 | 28 | | |
35 | | - | |
36 | 29 | | |
37 | 30 | | |
38 | | - | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
42 | 34 | | |
43 | 35 | | |
44 | | - | |
45 | 36 | | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
49 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
0 commit comments