This repository was archived by the owner on Nov 17, 2025. It is now read-only.
Commit ccaf748
committed
Fix Claude process detection to recognize 'claude' command
- Add 'claude' to list of process names to check (not just 'node')
- Improve isClaudeProcess detection to check if command ends with 'claude'
- Add debug logging for process arguments to help diagnose detection issues
- Handle processes run directly as 'claude' without node wrapper
This fixes detection of Claude Code instances that are run directly as the
'claude' command rather than through node.1 parent bfda85a commit ccaf748
1 file changed
Lines changed: 12 additions & 1 deletion
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
190 | 201 | | |
191 | 202 | | |
192 | 203 | | |
| |||
0 commit comments