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:
Apple
2025-11-27 07:00:47 -08:00
parent 3de3c8cb36
commit 6bd769ef40
258 changed files with 1747 additions and 79 deletions

View File

@@ -22,3 +22,4 @@ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7012"]

View File

@@ -349,3 +349,4 @@ docker exec postgres psql -U postgres -d daarion \

View File

@@ -58,3 +58,4 @@ defaults:

View File

@@ -205,3 +205,4 @@ def evaluate_usage_access(request: PolicyRequest, policy_store: PolicyStore) ->

View File

@@ -158,3 +158,4 @@ if __name__ == "__main__":

View File

@@ -57,3 +57,4 @@ class PolicyDecision(BaseModel):

View File

@@ -99,3 +99,4 @@ class PolicyStore:

View File

@@ -8,3 +8,4 @@ python-multipart==0.0.6