fix(netx-bridge): use OCLAW_OPS_AI_SHARED_TOKEN for alarm WSS auth

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-06-22 11:22:39 +08:00
parent 7210293f42
commit eaeb9fd33d
3 changed files with 4 additions and 6 deletions

View file

@ -11,7 +11,7 @@ from svc.persistence.assistant_store import get_assistant_store
def _bridge_token_expected() -> str:
return str(os.getenv("OCLAW_NETX_BRIDGE_TOKEN") or "").strip()
return str(os.getenv("OCLAW_OPS_AI_SHARED_TOKEN") or "").strip()
def _verify_bridge_token(token: str) -> bool: