fullcourtdefense-cli 1.7.4 → 1.7.5

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.
@@ -511,6 +511,7 @@ async function upload(servers, host, clientCoverage, apiUrl, auth, connectorName
511
511
  } : undefined,
512
512
  secrets: extras?.secrets?.findings.slice(0, 100).map(sanitizeSecretForUpload),
513
513
  agentFiles: extras?.agentFiles?.slice(0, 100).map(sanitizeAgentFileForUpload),
514
+ scanScope: extras?.scanScope,
514
515
  servers: servers.map(s => ({
515
516
  serverName: s.serverName,
516
517
  command: s.command,
@@ -691,7 +692,30 @@ async function discoverCommand(args, config) {
691
692
  }, null, 2));
692
693
  return;
693
694
  }
694
- const uploadExtras = { secrets, agentFiles, posture };
695
+ const home = os.homedir();
696
+ const uploadExtras = {
697
+ secrets,
698
+ agentFiles,
699
+ posture,
700
+ scanScope: {
701
+ surfaces: [...surfaces],
702
+ workingDirectory: cwd,
703
+ mcpConfigPaths: scanned.map(s => ({ ...s, exists: fs.existsSync(s.path) })),
704
+ included: [
705
+ `Current command folder: ${cwd}`,
706
+ 'Known MCP/AI client config files for Cursor, Claude, Codex, Gemini, Windsurf, and VS Code',
707
+ `User-level AI rules, skills, hooks, and instruction files under ${home}`,
708
+ `Credential stores and shell history under ${home}`,
709
+ `Environment files under ${cwd}, ${path.join(home, 'dev')}, ${path.join(home, 'repos')}, ${path.join(home, 'projects')}, ${path.join(home, 'Documents')}, and ${path.join(home, 'code')}`,
710
+ ],
711
+ excluded: [
712
+ 'Unrelated project folders outside the listed roots',
713
+ 'Large/generated dependency and build folders such as node_modules, .git, dist, build, vendor, caches, and temp folders',
714
+ 'Full disk contents, browser profiles, email/chat archives, binary files, and operating-system folders',
715
+ ],
716
+ note: 'Desktop posture is a targeted AI-development exposure scan, not a full-device forensic scan. Run the command from the project folder you want represented.',
717
+ },
718
+ };
695
719
  async function maybeUpload() {
696
720
  if (args.upload !== 'true')
697
721
  return;
package/dist/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "1.7.4"
2
+ "version": "1.7.5"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullcourtdefense-cli",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {