feat: Add presence heartbeat for Matrix online status

- matrix-gateway: POST /internal/matrix/presence/online endpoint
- usePresenceHeartbeat hook with activity tracking
- Auto away after 5 min inactivity
- Offline on page close/visibility change
- Integrated in MatrixChatRoom component
This commit is contained in:
Apple
2025-11-27 00:19:40 -08:00
parent 5bed515852
commit 3de3c8cb36
6371 changed files with 1317450 additions and 932 deletions

View File

@@ -0,0 +1,13 @@
"""
Node Registry Service Application
Full implementation with database integration
"""
from .main import app
from .models import Base, Node, NodeProfile, HeartbeatLog
from .database import get_db, engine
from . import crud, schemas
__version__ = "1.0.0"
__all__ = ["app", "Base", "Node", "NodeProfile", "HeartbeatLog", "get_db", "engine", "crud", "schemas"]