mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Every layer and tool bound its own ScreenSpaceEventHandler and picked the same click again: with the usual layers on, one click ran about 26 scene.pick and 2 drillPick passes (120-215 ms in NYC with 18 layers). Pointer input now comes in through src/input/dispatcher.js, one handler per scene. A click is picked lazily and at most once per kind of query, and every subscriber reads the same ClickEvent (pick, hit, id, ownerId, gesture, drill, ground). The same click now costs 3 picks and 2 drills, 17-70 ms. - Ambient onClick subscribers run only while no tool holds the pointer, checked once per event; tools subscribe with their lease. Moves and releases always reach ambient subscribers, so hover and drags end cleanly. - Camera input and the viewer's stock select/track clicks are ref-counted holds (suspendCamera, suppressStockClicks). The dispatcher owns the controller's enableInputs, so a Cesium flight that ends no longer turns input back on under a drag or the cockpit. - The draw tool, imagery box, CCTV gizmo, cockpit, directions and every selecting layer use it; bindTrackingClickGesture is gone (the gesture is on the event). A source scan forbids new handlers, enableInputs writes and stock-click removal outside the dispatcher. - The sensor-style pick correction transit had now applies to every layer. - Radio's 8-pick near-miss ring is one 17x17 windowed drill. - A missed pick passed to pickContact is no longer picked again, and a touch tap's contact search shares the click's drill. - A gizmo drag whose release Cesium never reported ends on the next press instead of leaving the camera held. The dispatcher is exported as ./input with the pointer-lease functions, and documented in docs/APPLICATION.md.
298 lines
13 KiB
JSON
298 lines
13 KiB
JSON
{
|
|
"name": "gods-eye-view",
|
|
"private": true,
|
|
"version": "0.3.0",
|
|
"description": "A real-time intelligence console for planet Earth — photorealistic 3D globe, live aircraft/ships/satellites/earthquakes/CCTV, and hands-free voice control. Runs in a browser.",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"author": "Bilawal Sidhu",
|
|
"homepage": "https://github.com/bilawalsidhu/gods-eye-view#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bilawalsidhu/gods-eye-view.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/bilawalsidhu/gods-eye-view/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=24.14.0 <25 || >=26 <27"
|
|
},
|
|
"keywords": [
|
|
"cesium",
|
|
"3d-globe",
|
|
"geospatial",
|
|
"osint",
|
|
"spatial-intelligence",
|
|
"photorealistic-3d-tiles",
|
|
"adsb",
|
|
"ais",
|
|
"satellites",
|
|
"voice-control",
|
|
"openai-realtime",
|
|
"visualization"
|
|
],
|
|
"scripts": {
|
|
"doctor": "node scripts/setup-doctor.mjs",
|
|
"format": "node scripts/format.mjs --write",
|
|
"format:check": "node scripts/format.mjs --check",
|
|
"i18n": "node scripts/i18n.mjs",
|
|
"layer-token:next": "node scripts/next-layer-state-token.mjs",
|
|
"layer-token:check": "node scripts/check-layer-state-tokens.mjs",
|
|
"changelog": "node scripts/assemble-changelog.mjs --write",
|
|
"changelog:check": "node scripts/assemble-changelog.mjs --check",
|
|
"dev": "vite",
|
|
"dev:secure": "./scripts/dev-secure.sh",
|
|
"opensky:import": "./scripts/opensky-import-client.sh",
|
|
"build": "vite build",
|
|
"build:panel": "node scripts/build-panel.mjs",
|
|
"preview": "vite preview",
|
|
"test": "node scripts/run-unit-tests.mjs",
|
|
"test:track": "node scripts/track-regression.mjs",
|
|
"qa:map-source-tray": "node scripts/qa-map-source-tray.mjs",
|
|
"qa:street-level": "node scripts/qa-street-level.mjs",
|
|
"qa:street-level:fixtures": "node scripts/qa-street-level.mjs --fixtures",
|
|
"check:boundaries": "node scripts/check-import-directions.mjs && node scripts/check-package-boundaries.mjs",
|
|
"qa:transit": "node scripts/qa-transit.mjs",
|
|
"mcp": "node server/mcp/stdio.js"
|
|
},
|
|
"dependencies": {
|
|
"@jtarrio/signals": "^0.10.0",
|
|
"@jtarrio/webrtlsdr": "^3.0.6",
|
|
"@mapbox/vector-tile": "^3.0.0",
|
|
"@meri-imperiumi/eccodes-wasm": "^2.48.2",
|
|
"cesium": "^1.124.0",
|
|
"egm96-universal": "^1.1.1",
|
|
"hls.js": "^1.7.3",
|
|
"mapillary-js": "^4.1.2",
|
|
"mgrs": "^2.1.0",
|
|
"pbf": "^5.1.2",
|
|
"pinia": "^2.3.1",
|
|
"satellite.js": "^6.0.2",
|
|
"vue": "^3.5.44",
|
|
"vue-i18n": "^11.4.15"
|
|
},
|
|
"devDependencies": {
|
|
"@happy-dom/global-registrator": "^20.14.6",
|
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
"@vue/test-utils": "^2.5.1",
|
|
"happy-dom": "^20.14.6",
|
|
"prettier": "3.9.6",
|
|
"puppeteer": "^25.16.0",
|
|
"sharp": "^0.35.4",
|
|
"vite": "^6.4.4",
|
|
"vite-plugin-cesium": "^1.2.23",
|
|
"ws": "^8.21.0"
|
|
},
|
|
"exports": {
|
|
"./infrastructure": "./src/data/infrastructure.js",
|
|
"./infrastructure/geojson": "./src/data/localGeojsonCore.js",
|
|
"./infrastructure/lod": "./src/data/localGeojsonLod.js",
|
|
"./application": "./src/app/application.js",
|
|
"./application/viewer": "./src/app/viewer.js",
|
|
"./build/vite": {
|
|
"node": "./build/vite.js"
|
|
},
|
|
"./server/providers/live": {
|
|
"node": "./server/providers/live.js"
|
|
},
|
|
"./sources/adsb-lol": "./src/data/adsbLolFallback.js",
|
|
"./server/providers/places": {
|
|
"node": "./server/providers/places.js"
|
|
},
|
|
"./sources/places": "./src/data/placeProviderPayloads.js",
|
|
"./server/providers/space": {
|
|
"node": "./server/providers/space.js"
|
|
},
|
|
"./sources/space": "./src/data/spaceProviderRequests.js",
|
|
"./server/providers/terrain": {
|
|
"node": "./server/providers/terrain.js"
|
|
},
|
|
"./sources/terrain": "./src/data/terrainHeightsProxy.js",
|
|
"./server/providers/traffic": {
|
|
"node": "./server/providers/traffic.js"
|
|
},
|
|
"./sources/traffic": "./src/data/tomtomTiles.js",
|
|
"./server/providers/firms": {
|
|
"node": "./server/providers/firms.js"
|
|
},
|
|
"./server/providers/gbfs": {
|
|
"node": "./server/providers/gbfs.js"
|
|
},
|
|
"./sources/gbfs": "./src/data/gbfsSource.js",
|
|
"./server/providers/cctv": {
|
|
"node": "./server/providers/cctv.js"
|
|
},
|
|
"./server/providers/radio": {
|
|
"node": "./server/providers/radio.js"
|
|
},
|
|
"./server/providers/overpass": {
|
|
"node": "./server/providers/overpass.js"
|
|
},
|
|
"./server/providers/military-installations": {
|
|
"node": "./server/providers/military-installations.js"
|
|
},
|
|
"./server/providers/regional": {
|
|
"node": "./server/providers/regional.js"
|
|
},
|
|
"./server/providers/openai": {
|
|
"node": "./server/providers/openai.js"
|
|
},
|
|
"./server/standalone/key-setup": {
|
|
"node": "./server/standalone/key-setup.js"
|
|
},
|
|
"./search": "./src/search/index.js",
|
|
"./ui/panels": "./src/ui/panelDisclosure.js",
|
|
"./ui/surfaces": "./src/ui/surfaceKeyboard.js",
|
|
"./ui/layout": "./src/ui/panelRails.js",
|
|
"./ui/input": "./src/ui/visualInput.js",
|
|
"./ui/display": "./src/ui/displayControls.js",
|
|
"./ui/effects": "./src/ui/effects.js",
|
|
"./ui/effects/bloom": "./src/bloom.js",
|
|
"./ui/maps": "./src/ui/mapSource.js",
|
|
"./ui/layers": "./src/ui/layers.js",
|
|
"./ui/layers/feedback": "./src/loadingFeedback.js",
|
|
"./ui/location": "./src/ui/location.js",
|
|
"./ui/radio": "./src/ui/radio.js",
|
|
"./ui/cctv": "./src/ui/cctv.js",
|
|
"./ui/context": "./src/ui/context.js",
|
|
"./ui/context/policy": "./src/contextModePolicy.js",
|
|
"./ui/cockpit": "./src/ui/cockpit.js",
|
|
"./ui/cockpit/math": "./src/cockpitMath.js",
|
|
"./ui/cockpit/layout": "./src/cockpitUtilityLayout.js",
|
|
"./ui/cockpit/vision": "./src/cockpitVisionPolicy.js",
|
|
"./ui/scenes": "./src/ui/scenes.js",
|
|
"./ui/shell": "./src/ui/applicationShell.js",
|
|
"./ui/styles": "./src/ui/styles.js",
|
|
"./director": "./src/director/playback.js",
|
|
"./scenes": "./src/scenes/director.js",
|
|
"./sources/live": "./src/sources/live/index.js",
|
|
"./layers/flights": "./src/layers/flights/index.js",
|
|
"./layers/military": "./src/layers/military/index.js",
|
|
"./aircraft": "./src/layers/aircraft/index.js",
|
|
"./layers/vessels": "./src/layers/vessels/index.js",
|
|
"./layers/earthquakes": "./src/layers/earthquakes/index.js",
|
|
"./layers/recent-imagery": "./src/layers/recentImagery/index.js",
|
|
"./layers/recent-imagery/source": "./src/layers/recentImagery/source.js",
|
|
"./layers/perimeters": "./src/layers/perimeters/index.js",
|
|
"./layers/gnss": "./src/layers/gnss/index.js",
|
|
"./layers/ghostmaps": "./src/layers/ghostMaps/index.js",
|
|
"./sources/firms-csv": "./src/data/firmsCsv.js",
|
|
"./layers/firms": "./src/layers/firms/index.js",
|
|
"./layers/satellites": "./src/layers/satellites/index.js",
|
|
"./layers/launches": "./src/layers/launches/index.js",
|
|
"./layers/installations": "./src/layers/installations/index.js",
|
|
"./layers/awareness": "./src/layers/awareness/index.js",
|
|
"./layers/traffic": "./src/layers/traffic/index.js",
|
|
"./layers/bikeshare": "./src/layers/bikeshare/index.js",
|
|
"./layers/directions": "./src/layers/directions/index.js",
|
|
"./layers/directions/source": "./src/layers/directions/source.js",
|
|
"./layers/cctv": "./src/layers/cctv/index.js",
|
|
"./layers/air-quality": "./src/layers/airQuality/index.js",
|
|
"./layers/alpr": "./src/layers/alpr/index.js",
|
|
"./layers/radio": "./src/layers/radio/index.js",
|
|
"./layers/submarine-cables": "./src/layers/submarineCables/index.js",
|
|
"./sources/bundled-cables": "./src/layers/submarineCables/bundledSource.js",
|
|
"./geography/natural-earth": "./src/data/naturalEarthRegions.js",
|
|
"./geography/neighborhoods": "./src/data/neighborhoodPolygons.js",
|
|
"./maps/controller": "./src/maps/controller.js",
|
|
"./maps/catalog": "./src/maps/catalog.js",
|
|
"./maps/imagery": "./src/maps/imagery.js",
|
|
"./maps/terrain": "./src/maps/terrain.js",
|
|
"./maps/3d": "./src/maps/google3d.js",
|
|
"./maps/defaults": "./src/maps/defaultSources.js",
|
|
"./voice/controller": "./src/voice/realtimeController.js",
|
|
"./voice/control": "./src/voice/control.js",
|
|
"./voice/realtime-backend": "./src/voice/realtimeBackend.js",
|
|
"./voice/commands": "./src/voice/commands.js",
|
|
"./voice/cost": "./src/voice/voiceCost.js",
|
|
"./application/scene": "./src/app/scene.js",
|
|
"./application/controls": "./src/app/controls.js",
|
|
"./application/data": "./src/app/data.js",
|
|
"./application/tools": "./src/app/tools.js",
|
|
"./application/chrome": "./src/app/startupChrome.js",
|
|
"./application/sources": "./src/app/sources.js",
|
|
"./application/services": "./src/services/application.js",
|
|
"./application/requests": "./src/services/requests.js",
|
|
"./application/errors": "./src/app/errors.js",
|
|
"./ui/composition": "./src/ui/composition.js",
|
|
"./ui/hud": "./src/hud.js",
|
|
"./standalone/settings": "./src/keySetup.js",
|
|
"./voice/actions": "./src/voice/gevActions.js",
|
|
"./annotations": "./src/annotations/index.js",
|
|
"./context": "./src/data/contextStore.js",
|
|
"./build/register-vue": {
|
|
"node": "./build/registerVue.js"
|
|
},
|
|
"./application/catalog": "./src/app/catalog.js",
|
|
"./standalone/catalog": "./src/standalone/catalog.js",
|
|
"./application/layers": "./src/app/constructCatalog.js",
|
|
"./application/operations": "./src/app/operations.js",
|
|
"./data/entity-records": "./src/data/entityRecords.js",
|
|
"./input": "./src/input/dispatcher.js",
|
|
"./data/lifecycle": "./src/data/lifecycle.js",
|
|
"./ui/navigation": "./src/ui/navigationController.js",
|
|
"./ui/share-restoration": "./src/ui/shareRestoration.js",
|
|
"./share/view-codec": "./src/share/viewCodec.js",
|
|
"./share/link-path": "./src/share/shareLinkPath.js",
|
|
"./ui/visual-settings": "./src/ui/visualSettings.js",
|
|
"./ui/panel-chrome": "./src/ui/panelChrome.js",
|
|
"./layers/flights/records": "./src/layers/flights/records.js",
|
|
"./layers/flights/ingestion": "./src/layers/flights/ingestion.js",
|
|
"./layers/military/records": "./src/layers/military/records.js",
|
|
"./layers/military/ingestion": "./src/layers/military/ingestion.js",
|
|
"./layers/vessels/records": "./src/layers/vessels/records.js",
|
|
"./layers/vessels/ingestion": "./src/layers/vessels/ingestion.js",
|
|
"./sources/radio-browser": "./src/sources/radioBrowser.js",
|
|
"./sources/cctv-types": "./src/sources/cctvTypes.js",
|
|
"./sources/regional": "./src/data/regionalModel.js",
|
|
"./voice/action-schemas": "./src/voice/actionSchemas.js",
|
|
"./voice/session": "./src/voice/session.js",
|
|
"./voice/session-controls": "./src/voice/sessionCommands.js",
|
|
"./voice/realtime-session": "./src/voice/realtimeSession.js",
|
|
"./layers/alpr/source": "./src/layers/alpr/source.js",
|
|
"./layers/bikeshare/source": "./src/layers/bikeshare/source.js",
|
|
"./layers/cctv/source": "./src/layers/cctv/source.js",
|
|
"./layers/air-quality/source": "./src/layers/airQuality/source.js",
|
|
"./layers/earthquakes/source": "./src/layers/earthquakes/source.js",
|
|
"./layers/perimeters/source": "./src/layers/perimeters/source.js",
|
|
"./layers/gnss/source": "./src/layers/gnss/source.js",
|
|
"./layers/ghostmaps/source": "./src/layers/ghostMaps/source.js",
|
|
"./layers/firms/source": "./src/layers/firms/source.js",
|
|
"./layers/installations/source": "./src/layers/installations/source.js",
|
|
"./layers/launches/source": "./src/layers/launches/source.js",
|
|
"./layers/radio/source": "./src/layers/radio/source.js",
|
|
"./layers/satellites/source": "./src/layers/satellites/source.js",
|
|
"./layers/traffic/source": "./src/layers/traffic/source.js",
|
|
"./sources/reference": "./src/sources/reference.js",
|
|
"./layers/submarine-cables/source": "./src/layers/submarineCables/bundledSource.js",
|
|
"./sources/http-body": "./src/sources/httpBody.js",
|
|
"./sources/overpass": "./src/sources/overpass.js",
|
|
"./search/nominatim": "./src/search/nominatim.js",
|
|
"./sources/nominatim": "./src/sources/nominatim.js",
|
|
"./server/providers/transit": {
|
|
"node": "./server/providers/transit.js"
|
|
},
|
|
"./sources/transit": "./src/data/transitProxy.js",
|
|
"./layers/transit": "./src/layers/transit/index.js",
|
|
"./layers/transit/standalone": "./src/data/transit.js",
|
|
"./layers/transit/source": "./src/layers/transit/source.js",
|
|
"./sources/transit-service": "./src/sources/transitService.js",
|
|
"./sources/map-features": "./src/sources/overpassFeatures.js",
|
|
"./server/providers/mapillary": {
|
|
"node": "./server/providers/mapillary.js"
|
|
},
|
|
"./layers/street-level": "./src/layers/streetLevel/index.js",
|
|
"./layers/street-level/mapillary": "./src/layers/streetLevel/providers/mapillary/index.js",
|
|
"./layers/street-level/mapillary/source": "./src/layers/streetLevel/providers/mapillary/source.js",
|
|
"./layers/street-level/google": "./src/layers/streetLevel/providers/google/index.js",
|
|
"./layers/street-level/kartaview": "./src/layers/streetLevel/providers/kartaview/index.js",
|
|
"./layers/street-level/panoramax": "./src/layers/streetLevel/providers/panoramax/index.js",
|
|
"./tools": "./src/tools/index.js",
|
|
"./tools/mcp": "./src/tools/mcp/index.js",
|
|
"./tools/panel": "./src/tools/panel.js",
|
|
"./tools/services": "./src/tools/services.js",
|
|
"./view": "./src/view/index.js",
|
|
"./agent/world-packet": "./src/agent/worldPacket.js"
|
|
}
|
|
}
|