aura-security 0.6.3 → 0.6.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aura-security",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "Deterministic security auditing engine with optional AI advisory layer. Run as CLI, CI step, or service. AI does not make enforcement decisions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -1281,10 +1281,11 @@
|
|
|
1281
1281
|
selectedSeverity: null // 'critical', 'high', 'medium', 'low'
|
|
1282
1282
|
};
|
|
1283
1283
|
|
|
1284
|
-
// Auto-detect API URL: use localhost for local dev,
|
|
1284
|
+
// Auto-detect API URL: use localhost for local dev, port 3000 for deployed
|
|
1285
1285
|
const isLocal = window.location.hostname === '127.0.0.1' || window.location.hostname === 'localhost';
|
|
1286
|
-
|
|
1287
|
-
|
|
1286
|
+
const AURA_URL = isLocal
|
|
1287
|
+
? 'http://127.0.0.1:3000'
|
|
1288
|
+
: `http://${window.location.hostname}:3000`;
|
|
1288
1289
|
|
|
1289
1290
|
// ========== THREE.JS SETUP ==========
|
|
1290
1291
|
let scene, camera, renderer, controls;
|
|
@@ -2600,7 +2601,10 @@
|
|
|
2600
2601
|
}
|
|
2601
2602
|
|
|
2602
2603
|
// ========== FIXER AGENT INTEGRATION ==========
|
|
2603
|
-
|
|
2604
|
+
// Use same host as page, but port 3012 for Fixer Agent
|
|
2605
|
+
const FIXER_AGENT_URL = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
|
|
2606
|
+
? 'http://localhost:3012'
|
|
2607
|
+
: `http://${window.location.hostname}:3012`;
|
|
2604
2608
|
let currentFixesData = null;
|
|
2605
2609
|
|
|
2606
2610
|
function showFixesSection(show) {
|