mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-10 22:15:57 +08:00
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:
parent
ad0cc98b38
commit
050b99426f
4 changed files with 1 additions and 230 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue