Skip to content

armgit / bla

Public Imported from GitHub
0

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.

chore(test): build dist before running the suite

DeryFerded9f1d5af5e0
diff --git a/package.json b/package.json
index 6beea7c..f0861fa 100644
--- a/package.json
+++ b/package.json
@@ -60,6 +60,7 @@
"scripts": {
"build": "node scripts/sync-version.mjs && tsc -p tsconfig.build.json && chmod +x dist/cli.js",
"dev": "tsx src/cli.ts",
+ "pretest": "npm run build",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
@@ -68,7 +69,7 @@
"sync:site": "node scripts/sync-site.mjs",
"release:patch": "npm version patch -m 'chore(release): bla-agents v%s' && git push --follow-tags",
"release:minor": "npm version minor -m 'chore(release): bla-agents v%s' && git push --follow-tags",
- "prepublishOnly": "npm run build && npm test",
+ "prepublishOnly": "npm test",
"verify:rea": "node scripts/verify-rea-constants.mjs",
"redteam:rea": "node scripts/redteam/run.mjs",
"verify:rea:drift": "node scripts/verify-rea-constants.mjs",