@lousy-agents/mcp 5.17.9 → 5.17.11
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/dist/mcp-server.js +9 -1
- package/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -29503,7 +29503,15 @@ function isWindowsNetworkPath(filePath, platform = process.platform) {
|
|
|
29503
29503
|
return false;
|
|
29504
29504
|
}
|
|
29505
29505
|
const normalized = filePath.replace(/\//g, "\\");
|
|
29506
|
-
|
|
29506
|
+
const extendedDrive = normalized.length >= 7 &&
|
|
29507
|
+
normalized.startsWith("\\\\?\\") &&
|
|
29508
|
+
/^[a-z]$/i.test(normalized[4] ?? "") &&
|
|
29509
|
+
normalized[5] === ":" &&
|
|
29510
|
+
normalized[6] === "\\";
|
|
29511
|
+
if (extendedDrive) {
|
|
29512
|
+
return false;
|
|
29513
|
+
}
|
|
29514
|
+
return normalized.startsWith("\\\\");
|
|
29507
29515
|
}
|
|
29508
29516
|
function isWindowsDriveLetterPath(filePath, platform = process.platform) {
|
|
29509
29517
|
return platform === "win32" && /^[A-Za-z]:[\\/]/.test(filePath);
|