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

@@ -38,3 +38,4 @@ echo " docker-compose -f docker-compose.city-space.yml logs -f"

View File

@@ -41,3 +41,4 @@ echo " ./scripts/test-phase2-e2e.sh"

View File

@@ -50,3 +50,4 @@ echo ""

View File

@@ -54,3 +54,4 @@ echo "📚 Documentation: docs/PHASE4_READY.md"

View File

@@ -13,3 +13,4 @@ echo "✅ Services stopped!"

View File

@@ -16,3 +16,4 @@ echo " docker-compose -f docker-compose.agents.yml down -v"

View File

@@ -15,3 +15,4 @@ echo ""

View File

@@ -10,3 +10,4 @@ echo "✅ Phase 4 services stopped"

View File

@@ -203,3 +203,4 @@ fi