fullcourtdefense-cli 1.7.14 → 1.7.15

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.
@@ -1211,7 +1211,7 @@ function compactScanHtml(args) {
1211
1211
  </div>
1212
1212
  </section>
1213
1213
 
1214
- <section class="panel">
1214
+ <section class="panel hidden" id="workflowPanel">
1215
1215
  <div id="step-1" class="stepSection">
1216
1216
  <div class="sectionTitle">
1217
1217
  <div>
@@ -1414,15 +1414,16 @@ Local targets stay on this machine; saved scan reports go to Full Court Defense.
1414
1414
  </main>
1415
1415
  <script>
1416
1416
  const scanTargets = ['endpoint','posture','rag','mcp'];
1417
- let target = 'runner';
1417
+ let target = 'home';
1418
1418
  let step = 1;
1419
1419
  const qs = new URLSearchParams(location.search);
1420
1420
  if (['runner','endpoint','posture','rag','mcp','help'].includes(qs.get('target'))) target = qs.get('target');
1421
1421
  const byId = id => document.getElementById(id);
1422
- const workflow = () => target === 'endpoint' ? 'bot' : target === 'posture' ? 'posture' : target;
1422
+ const workflow = () => target === 'endpoint' ? 'bot' : target === 'posture' ? 'posture' : target === 'home' ? '' : target;
1423
1423
  const sync = () => {
1424
1424
  document.querySelectorAll('.workflowCard').forEach(c => c.classList.toggle('active', c.dataset.workflow === workflow()));
1425
1425
  document.querySelectorAll('.scanTypeCard').forEach(c => c.classList.toggle('active', c.dataset.target === target));
1426
+ byId('workflowPanel').classList.toggle('hidden', target === 'home');
1426
1427
  ['runner','endpoint','posture','rag','mcp','help'].forEach(id => byId(id + '-fields').classList.toggle('hidden', id !== target));
1427
1428
  const scanTarget = scanTargets.includes(target);
1428
1429
  byId('scan-picker').classList.toggle('hidden', !scanTarget);
@@ -1438,7 +1439,7 @@ Local targets stay on this machine; saved scan reports go to Full Court Defense.
1438
1439
  : target === 'help'
1439
1440
  ? 'Choose one-off tool run or local red-team scan.'
1440
1441
  : 'Select Endpoint, RAG, or MCP, then connect the internal target.';
1441
- if (!scanTarget) setStep(1);
1442
+ if (!scanTarget || target === 'home') setStep(1);
1442
1443
  };
1443
1444
  const setStep = next => {
1444
1445
  step = next;
@@ -1451,6 +1452,7 @@ Local targets stay on this machine; saved scan reports go to Full Court Defense.
1451
1452
  document.querySelectorAll('.workflowCard').forEach(c => c.onclick = () => {
1452
1453
  target = c.dataset.workflow === 'bot' ? 'endpoint' : c.dataset.workflow;
1453
1454
  sync();
1455
+ byId('workflowPanel').scrollIntoView({ behavior: 'smooth', block: 'start' });
1454
1456
  });
1455
1457
  document.querySelectorAll('.scanTypeCard').forEach(c => c.onclick = () => {
1456
1458
  target = c.dataset.target;
package/dist/version.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "1.7.14"
2
+ "version": "1.7.15"
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullcourtdefense-cli",
3
- "version": "1.7.14",
3
+ "version": "1.7.15",
4
4
  "description": "Full Court Defense CLI — security scanning for AI agents from your terminal",
5
5
  "main": "dist/index.js",
6
6
  "bin": {