Scaffold Engine application interfaces

This commit is contained in:
2025-10-22 05:33:30 -06:00
parent fbaca54be8
commit 5ec5ee8f7a
17 changed files with 273 additions and 14 deletions

View File

@@ -0,0 +1,16 @@
"""Agent WebSocket namespace wiring for the Engine."""
from __future__ import annotations
from typing import Any
from . import events
def register(socketio: Any) -> None:
"""Register agent namespaces on the given Socket.IO *socketio* instance."""
events.register(socketio)
__all__ = ["register"]

View File

@@ -0,0 +1,20 @@
"""Agent WebSocket event placeholders for the Engine."""
from __future__ import annotations
from typing import Any
def register(socketio: Any) -> None:
"""Register agent-related namespaces on *socketio*.
The concrete event handlers will be migrated in later phases.
"""
if socketio is None: # pragma: no cover - guard
return
# Placeholder for namespace registration, e.g. ``socketio.on_namespace(...)``.
return
__all__ = ["register"]