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.
@@ -2656,12 +2656,16 @@ function protectAllTargetFiles(extra, allowedClientKeys) {
2656
2656
  seen.add(key);
2657
2657
  files.push(candidate);
2658
2658
  }
2659
- // Admin-selected roots are explicit protection scope. Default/`auto` roots
2660
- // remain discovery-only and are intentionally not consulted here.
2661
- const recursive = (0, discoverPaths_1.scanRootsForProjectConfigs)(extraScanRoots, { excludedRoots: disabledScanRoots });
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
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "1.26.9"
2
+ "version": "1.26.11"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullcourtdefense-cli",
3
- "version": "1.26.9",
3
+ "version": "1.26.11",
4
4
  "description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {