feat(city-map): Add 2D City Map with coordinates and agent presence
- Add migration 013_city_map_coordinates.sql with map coordinates, zones, and agents table - Add /city/map API endpoint in city-service - Add /city/agents and /city/agents/online endpoints - Extend presence aggregator to include agents[] in snapshot - Add AgentsSource for fetching agent data from DB - Create CityMap component with interactive room tiles - Add useCityMap hook for fetching map data - Update useGlobalPresence to include agents - Add map/list view toggle on /city page - Add agent badges to room cards and map tiles
This commit is contained in:
@@ -22,3 +22,4 @@ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7007"]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -332,3 +332,4 @@ Internal DAARION service
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -58,3 +58,4 @@ logging:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -193,3 +193,4 @@ if __name__ == "__main__":
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -100,3 +100,4 @@ class UsageTracker:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -59,3 +59,4 @@ class UsageLog(BaseModel):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,3 +8,4 @@ __all__ = ['BaseProvider', 'OpenAIProvider', 'DeepSeekProvider', 'LocalProvider'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -34,3 +34,4 @@ class BaseProvider(Protocol):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,3 +73,4 @@ class DeepSeekProvider:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -95,3 +95,4 @@ class LocalProvider:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,3 +73,4 @@ class OpenAIProvider:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -8,3 +8,4 @@ python-multipart==0.0.6
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,3 +73,4 @@ class ModelRouter:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user