Commit f9b85a4
committed
fix(claude): accurate version detection and nvm migration
- Simplify version_command to use 'claude --version' directly
(package.json was returning stale/incorrect versions)
- Detect nvm-managed npm installs (.nvm/ paths) for migration
- Simplify get_current_version() to always run the binary1 parent 83ec03b commit f9b85a4
2 files changed
Lines changed: 5 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 11 | + | |
| 12 | + | |
33 | 13 | | |
34 | 14 | | |
35 | 15 | | |
| |||
116 | 96 | | |
117 | 97 | | |
118 | 98 | | |
119 | | - | |
| 99 | + | |
| 100 | + | |
120 | 101 | | |
121 | 102 | | |
122 | 103 | | |
| |||
0 commit comments