Remove unused NetX alarm WebSocket bridge.

Alarm delivery moved to NetX DSH hub; drop /ws/netx-bridge and its tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-15 23:10:32 +08:00
parent ad0cc98b38
commit 050b99426f
4 changed files with 1 additions and 230 deletions

View file

@ -20,7 +20,6 @@ from fastapi.staticfiles import StaticFiles
from runtime.application.gateway import process_inbound_payload_usecase
from interfaces.gateway.http_adapter import dispatch_gateway_http_method
from interfaces.ws import ws_gateway_loop
from interfaces.ws.netx_bridge import netx_bridge_loop
from interfaces.ws.common import MAX_PAYLOAD_BYTES
from interfaces.admin.routes import admin_static_dir, build_admin_router
from runtime.agents.agent_scope import list_agent_ids, resolve_agent_workspace_dir, resolve_default_agent_id
@ -363,10 +362,6 @@ def create_app() -> FastAPI:
async def ws_endpoint(ws: WebSocket) -> None:
await ws_gateway_loop(ws)
@app.websocket("/ws/netx-bridge")
async def netx_bridge_endpoint(ws: WebSocket) -> None:
await netx_bridge_loop(ws)
return app