Spaces:
Paused
Paused
Commit History
-
backend stabilisation
dushyantsingh09377380
-
Fix WebSocket stale-token reconnect loop
dushyantsingh0 +1: Claude Sonnet 4.6Root cause: clients reconnected with the same near-expired access token after a disconnect, causing endless Signature has expired 403 rejections in a loop. Backend: - Add create_ws_ticket() in core/security.py - 60-second JWT with type ws_ticket - Add POST /api/v1/auth/ws-ticket/ endpoint - returns a fresh ticket for WS auth - Update _authenticate_ws() to accept both access and ws_ticket token types - Send close code 4001 on expired token so client can distinguish from 4003 Frontend (customer + internal TopBar): - connect() now calls POST /auth/ws-ticket/ before opening each WebSocket - axios interceptor silently refreshes access token first if needed - onclose: stop retrying on 4001/4003/1008, retry on network drops - Remove redundant upfront token expiry check Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0243ced
-
backend stabilization
dushyantsingh07b3791b
-
fix: resolve 18 bugs across auth, workers, agents, frontend, and infra
dushyantsingh0 +1: Claude Sonnet 4.6CRITICAL - nexus_master: fix AttributeError — User.name→full_name, NexusInteraction.query→input_query, .response→ai_answer (BUG-1) - nexus_master: lazy-init asyncio.Lock to avoid 'no event loop' crash on import (BUG-2) - token_blocklist: fix no-op shutdown — actually close core.cache._redis_client (BUG-3) - database: sslmode now conditional on cloud URL; local Postgres no longer fails SSL handshake (BUG-4) - auth: verify password before allowing existing user to join a new workspace (auth bypass) (BUG-5) HIGH - nexus_worker: add refresh_active_workspace_insights to HeavyWorkerSettings.functions so cron job executes (BUG-8) - deps: remove 3sc_admin customer-portal bypass — all staff are blocked equally (BUG-9) - NexusContext: use messagesRef.current for chat_history to fix stale-closure on multi-turn context (BUG-10) - system/nexus_stream: propagate owner_id into metadata_json so job-status endpoint no longer returns 403 (BUG-12) - nexus: title param annotated as Body(...) — fixes 422 …dbc31e7
-
backend stabilization
dushyantsingh0a556997
-
backend stabilization
dushyantsingh04405ca9
-
backend stabilization
dushyantsingh0e440c64
-
fix: allow staff cross-workspace live events via WebSockets
dushyantsingh0c4abe06
-
Beta 1.0: Pure Backend Release (Excluding Frontend)
dushyantsingh05eb4857