A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.
JavaScript 3d-globecesiumflight-trackinggeospatialgeospatial-intelligencegisosintphotogrammetrysatellite-trackingspatial-intelligencewebglworldview
Merge main into #873
Sameh Khamisb33cae4b7469
diff --cc CHANGELOG.mdindex 694f5bc4d,5db2da074..a542dff03--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -1,11 -1,89 +1,105 @@@# Changelog+ ## [Unreleased]++ - Ship each bundled data pack once. The region, marine, admin-boundary,+ county, military-name and neighborhood packs were emitted twice by the+ production build, as the JSON the browser fetches and as an unused+ JavaScript copy; `dist/` drops from 54 MB to 42 MB. Under Node the loader+ reads the JSON file directly (reporting that Node 24.14 or newer is needed+ on a runtime too old to do so), and a test keeps app code from importing a+ pack as a module.++ - Apply the Host check before the app's own routes. Vite installs its Host+ check after the middleware that plugins add, so the provider and `/api`+ routes used to answer any Host, including a DNS-rebinding name, in every+ mode. A first-running middleware now applies the same allowed hosts on the+ dev and preview servers.++ - Refuse cross-site browser requests to the cost-bearing and log endpoints+ (`/api/realtime/token`, `/api/openai/hud-summary`,+ `/api/google/nearby-places`, `/api/google/text-search`,+ `/api/realtime/debug-log`): a foreign or opaque+ Origin, a cross-site `Sec-Fetch-Site`, or proxy forwarding headers get 403,+ while loopback tools and LAN use keep working. The dev and preview servers+ send one shared Content-Security-Policy (James Sumpter, #242).++ - The voice debug log records the server's own time: a record can no longer+ supply its `loggedAt`. The dev and preview servers also send+ `X-Content-Type-Options: nosniff` (findings by Sunil, #710).++ - Keep the Host-header check when binding to all interfaces. `HOST=0.0.0.0`+ used to accept any Host; the dev and preview servers now accept IP+ addresses, `localhost` and the LAN hostnames listed in `GEV_ALLOWED_HOSTS`+ (suffix and wildcard entries are ignored), which also keeps DNS-rebinding+ names out in LAN mode. The `.local` suffix is no longer accepted by default;+ list such a name explicitly (Puspo Aditya, #97, fixes #21).++ - Throttle the cost-bearing proxies by default instead of on request. The+ OpenAI endpoints (`/api/realtime/token`, `/api/openai/hud-summary`) now allow+ 30 requests per minute per client IP and the Google Places endpoints+ (`/api/google/nearby-places`, `/api/google/text-search`) 120 — the caps the+ Pinokio build already ships, so the packaged app is unaffected and only an+ unconfigured server changes, from unlimited to what the product already runs+ with. `GEV_RATELIMIT_OPENAI_PER_MIN` and `GEV_RATELIMIT_GOOGLE_PER_MIN` still+ override the caps, and exactly `0` disables them; a value that cannot be read+ as a number now falls back to the default rather than to unlimited, so a typo+ cannot silently disarm the guard (daikaginza, #683).++ - Tighten the local MCP server and embed mode. The panel's `panel_request`+ needs the key in its MCP server's panel page, and refuses Provider+ Settings, credential and model endpoints, `/mcp` and development server+ routes in any letter case, encoding or dot suffix; panels on one server share six+ requests in flight, and further requests wait their turn. `/mcp` applies Provider Settings' proxy and sharing checks,+ requires a Host on the port it reached and an Origin from that host, and+ times out request bodies after 30 seconds; stdio honors+ `notifications/cancelled`. Embed mode is no longer framable unless+ `GEV_EMBED_FRAME_ANCESTORS` allows the framing page, and view answers go+ only to the origin that sent the view. SECURITY.md describes the MCP surface+ and the panel's browser keys.++- Cockpit now enters on the existing matching map style while keeping one fixed,+ duplicate-free carousel over `Normal / CRT / NVG / FLIR / Anime / Noir / Snow`.+ Normal remains a real unfiltered option; Cockpit-only choices still restore+ the captured map style through both Exit Cockpit and Reset.+- Cyber's compact right-rail and Cockpit utility buttons now center their glyphs+ vertically and share the same inset and edge alignment.++- Keep Cyber Voice help/error popups and Location/Visual Presets pins clear of++ their decorative frames. Leave space above attribution for its full logo row.++- Add an intentionally future-facing, opt-in panel surface contract for new++ panels to inherit compatible Normal, Cyber and Cockpit styling. Its first++ production adopter will land separately after this change.++- Restore the user's previous visual preset when they explicitly switch from++ Cyber to another HUD layout, without overriding scene or shared-link state.++- Move the aligned Cyber side-panel rails upward on desktop so the left stack++ clears the lower coordinate card; keep Cockpit's independent visor layout.+++ ## [0.2.0] — 2026-10-02 — God's Eye View through Your Agent++ - Show God's Eye View inside AI conversations. Answers that can be shown+ include a view (camera, layers, style, map, marks, something to follow),+ and `show_in_gods_eye_view` displays it as the live globe in clients that+ support MCP Apps, such as Claude Desktop and the Codex and ChatGPT desktop+ apps, and as a link everywhere else. The panel loads the app's panel build+ (`npm run build:panel`) and its data through the MCP server, so a local+ server needs no HTTPS or tunnel. `?embed=1` shows the globe alone for pages+ that frame the app.++ - Add tools for language-model clients and a local MCP server, served over+ stdio by `npm run mcp` and over HTTP at `/mcp` on the development and preview+ servers for local requests only. `npm run mcp`+ serves earthquake, active-fire, launch, aircraft, ship, satellite, camera, radio,+ place, routing, bike-share, transit, traffic, weather, cyclone, fire-perimeter,+ terrain, installation and map-feature queries, plus a situation brief, over+ stdio to clients such as Claude Code, reading+ from a running app. Tools are defined+ once in `gods-eye-view/tools`, reuse the layers' source factories, and are+ exposed through the protocol adapter in `gods-eye-view/tools/mcp`. The+ catalog also covers weather maps, wind, recent imagery, submarine cables,+ license plate reader cameras, datacenters and dams, the Bhote Koshi flood,+ military awareness and links that open the app over an area with layers on.+ Voice offers the same queries next to its app actions.+- Public Overpass instances are no longer used by default. Street Trafficroads come from TomTom flow tiles, OpenFreeMap vector tiles, or both, chosenon the layer row (TomTom / OSM / Hybrid) or with `?trafficRoads=`. With adiff --cc docs/CURRENT-STATE.mdindex 873ec2096,7ab39ff59..f7530d789--- a/docs/CURRENT-STATE.md+++ b/docs/CURRENT-STATE.md@@@ -1,6 -1,46 +1,46 @@@# God's Eye View Current State+ ## God's Eye View in conversations — October 2, 2026++ Tool answers that can be shown in God's Eye View include a view: camera, layers,+ style, map, marks and an aircraft or satellite to follow, written in the+ share-link format (`gods-eye-view/view`). `show_in_gods_eye_view` shows a view as live+ God's Eye View inside clients that display MCP Apps, and as a link everywhere.+ The panel runs the app's panel build (`npm run build:panel`, served at+ `/panel/`) and loads it, with its data, through the MCP server, so it works+ in Claude Desktop and in the Codex and ChatGPT desktop apps with a local+ server and no HTTPS. `?embed=1` shows the app as the globe alone and takes+ new views from the page that frames it; framing is off unless+ `GEV_EMBED_FRAME_ANCESTORS` allows the framing page. MCP leads with the tools that find+ what to show. See [tools and the MCP server](TOOLS.md).++ ## Tools and local MCP server — October 1, 2026++ `gods-eye-view/tools` defines queries that answer questions from the app's data,+ and `gods-eye-view/tools/mcp` exposes a composed catalog over the Model Context+ Protocol. `npm run mcp` serves Core's tools over stdio to a local MCP client,+ reading from a running app's `/api` routes (default `http://localhost:4173`).+ The development and preview servers also serve the tools over HTTP at `/mcp`,+ accepting only direct local requests: a loopback host on the port reached,+ an `Origin` (when sent) from that same host, no proxy forwarding headers, and+ launcher sharing off.+ Queries cover earthquakes, active fires, recent launches, aircraft (in an+ area, by identifier, tracks, and type and route lookups), ships (in an area,+ by identifier, and tracks), satellites (next+ pass over a point, and those overhead now), public cameras (including a+ camera's current image), license plate reader cameras, radio stations, place search, routing, bike-share+ stations, transit vehicles, road traffic flow, weather, weather map images+ (radar, satellite, lightning), wind, the most recent satellite image of an+ area, submarine cables, datacenters and dams, the Bhote Koshi flood event pack, regional briefs, tropical cyclones, fire+ perimeters, terrain height, military installations and map features, plus a+ combined situation brief, military awareness around a point, the app's heads-up display caption, and a link that+ opens the app over an area. Tools reuse the layers' portable source factories, take a+ shared `area` argument (place name, bounding box, or point and radius) and cap+ lists at 25 rows by default. Voice offers the same queries next to its app+ actions: the session lists them, and the browser runs them through the same+ catalog, loaded on first use. See [tools and the MCP server](TOOLS.md).+-## Cyber HUD — September 23, 2026+## Cyber HUD — September 30, 2026Display > HUD > Layout includes Cyber, also available through the HUD voiceaction and shared visual state. An explicit first transition into Cyber selects