ai-lens 0.8.26 → 0.8.27
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/.commithash +1 -1
- package/client/capture.js +2 -0
- package/package.json +1 -1
package/.commithash
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ccdfbc3
|
package/client/capture.js
CHANGED
|
@@ -369,6 +369,8 @@ function pathContains(parent, child) {
|
|
|
369
369
|
if (!parent || !child || typeof parent !== 'string' || typeof child !== 'string') return false;
|
|
370
370
|
const norm = s => {
|
|
371
371
|
let n = s.replace(/\\/g, '/').replace(/\/$/, '');
|
|
372
|
+
// Strip leading / before drive letter (Cursor sends /d:/... URI-style paths)
|
|
373
|
+
if (/^\/[a-zA-Z]:\//.test(n)) n = n.slice(1);
|
|
372
374
|
if (process.platform === 'win32') n = n.toLowerCase();
|
|
373
375
|
return n;
|
|
374
376
|
};
|