fullcourtdefense-cli 1.26.9 → 1.26.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/commands/mcpGateway.js +8 -4
- package/dist/version.json +1 -1
- package/package.json +1 -1
|
@@ -2656,12 +2656,16 @@ function protectAllTargetFiles(extra, allowedClientKeys) {
|
|
|
2656
2656
|
seen.add(key);
|
|
2657
2657
|
files.push(candidate);
|
|
2658
2658
|
}
|
|
2659
|
-
//
|
|
2660
|
-
//
|
|
2661
|
-
|
|
2659
|
+
// Same trees discovery scores (`--scan-root auto` + admin extras). MSI
|
|
2660
|
+
// onboard cwd is the install folder, so without this walk project MCP
|
|
2661
|
+
// under C:\dev stays direct while the fleet matrix paints the IDE Exposed.
|
|
2662
|
+
// Skip clientKey `other` — repo-root mcp.json is reference inventory, not
|
|
2663
|
+
// a live client config.
|
|
2664
|
+
const protectionRoots = [...extraScanRoots, ...(0, discoverPaths_1.defaultScanRoots)()];
|
|
2665
|
+
const recursive = (0, discoverPaths_1.scanRootsForProjectConfigs)(protectionRoots, { excludedRoots: disabledScanRoots });
|
|
2662
2666
|
for (const candidate of recursive.candidates) {
|
|
2663
2667
|
const key = (0, discoverPaths_1.normalizedPath)(candidate.path);
|
|
2664
|
-
if (seen.has(key) || !allow(candidate.clientKey) || (0, discoverPaths_1.isExcludedPath)(candidate.path, disabledScanRoots))
|
|
2668
|
+
if (seen.has(key) || candidate.clientKey === 'other' || !allow(candidate.clientKey) || (0, discoverPaths_1.isExcludedPath)(candidate.path, disabledScanRoots))
|
|
2665
2669
|
continue;
|
|
2666
2670
|
seen.add(key);
|
|
2667
2671
|
files.push(candidate);
|
package/dist/version.json
CHANGED