ai-lens 0.8.40 → 0.8.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/status.js +1 -1
- package/package.json +1 -1
package/cli/status.js
CHANGED
|
@@ -228,7 +228,7 @@ function checkCaptureRun(installedTools) {
|
|
|
228
228
|
// but Claude Code runs hooks via bash/cmd (no `&` prefix).
|
|
229
229
|
// On non-Windows, strip leading "& " if present (e.g. config copied from Windows) so bash doesn't background the process.
|
|
230
230
|
const isWin = process.platform === 'win32';
|
|
231
|
-
const isCursor = name === 'Cursor';
|
|
231
|
+
const isCursor = name === 'Cursor' || name.startsWith('Cursor (');
|
|
232
232
|
const usePS = isWin && isCursor;
|
|
233
233
|
let shellCommand = !isWin && command.startsWith('& ') ? command.slice(2).trim() : command;
|
|
234
234
|
// Expand ~ in the command: bash/zsh won't expand ~ inside single quotes,
|