[hAIk]: add CastLabs EVS auth preflight in run.sh so DRM credential prompts resolve before backend/frontend logs interleave the terminal — supports shared .env.evs creds, interactive fallback signup, and OPENSWARM_SKIP_VMP=1 opt-out; propagate skip flag into sign-vmp.sh to bypass signing network calls; gate requirements-dev.txt install behind OPENSWARM_DEV=1 in backend/run.sh; disable max-file-lines, max-folder-items, and import-cycles linter checks and clear all exception/whitelist entries; add .env.evs.example template

This commit is contained in:
haikdc
2026-06-13 09:07:03 -07:00
parent 7e2f96d2dc
commit 44b82ba7c8
6 changed files with 90 additions and 160 deletions
+8
View File
@@ -36,6 +36,14 @@ fi
# Always fix symlinks first (npm git installs strip them)
fix_framework_symlinks
# Honor the dev-loop opt-out set by run.sh's EVS preflight (covers the "user
# chose skip" and non-interactive cases). Symlinks are already repaired above;
# we only skip the signing/auth network calls.
if [ "${OPENSWARM_SKIP_VMP:-}" = "1" ]; then
echo "[vmp] OPENSWARM_SKIP_VMP=1 - skipping VMP signing (DRM limited to previews)"
exit 0
fi
if ! python3 -c "import castlabs_evs" 2>/dev/null; then
echo "[vmp] castlabs-evs not installed. Install with: pip3 install --user castlabs-evs"
echo "[vmp] Skipping VMP signing — DRM playback will be limited"