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.

ci(release): support OIDC trusted publishing fallback alongside NPM_TOKEN

qybaihede6831a6cc46
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0c89f18..1a99ac5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -119,5 +119,7 @@ jobs:
if npm view "bla-agents@${LOCAL_VERSION}" version >/dev/null 2>&1; then
echo "bla-agents@${LOCAL_VERSION} is already published on npm."
else
- npm publish --provenance --access public || npm publish --access public
+ npm publish --provenance --access public \
+ || npm publish --access public \
+ || (rm -f "${NPM_CONFIG_USERCONFIG:-$HOME/.npmrc}" && unset NODE_AUTH_TOKEN && npm publish --provenance --access public)
fi