refactor(mapillary): remove the plain-English query feature

Street Level is imagery only from here on: coverage, sequences and the
embedded viewer. The Claude planner, map-feature and traffic-sign tiles,
the NDJSON feature stream, sprites, detection outlines and analyst records
go, along with @anthropic-ai/sdk, zod and the Anthropic key entry.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Said TurkseverandClaude Fable 5.1 committed 2026-09-25 18:08:43 +01:00
1 parent 9ba6f96d87
commit 547b706f67
44 files changed
+143 -5318

No files matched your search

+3 -14
View File
@@ -75,25 +75,14 @@ OPENAI_HUD_SUMMARY_MODEL=gpt-5-nano
# provider-side budget: OpenAI platform -> Settings -> Limits (usage limits).
# GEV_RATELIMIT_OPENAI_PER_MIN=30
# Optional: Mapillary street-level imagery — coverage lines, detected objects
# and traffic signs, the embedded MapillaryJS viewer and the plain-English query box.
# Optional: Mapillary street-level imagery — coverage lines on the globe and
# the embedded MapillaryJS viewer in the Street Level layer.
# Free client token: https://www.mapillary.com/dashboard/developers (register an
# application, copy the "Client Token"). CLIENT-EXPOSED by design: MapillaryJS
# fetches imagery straight from Mapillary in the browser, so this token is in
# the bundle like GOOGLE_MAPS_API_KEY. Mapillary client tokens are meant to be
# public; the dev server also uses it to fetch and cache vector tiles.
# public; the dev server also uses it to fetch and cache coverage tiles.
MAPILLARY_CLIENT_TOKEN=
# Optional: Anthropic key for the Street Level query box ("show me all fire hydrants in
# Sacramento" -> a query plan drawn on the globe). SERVER-SIDE ONLY: the
# browser posts the sentence to /api/mapillary/plan and never sees the key.
# The SDK also honours an `ant auth login` profile when this is unset.
ANTHROPIC_API_KEY=
# Planner model. Defaults to claude-opus-5 at low effort; model ids drift, so
# override here rather than editing server/providers/mapillary/constants.js.
# ANTHROPIC_PLANNER_MODEL=claude-opus-5
# Optional: opt-in per-IP rate limit for the planner endpoint (requests/min).
# DEFAULT IS UNLIMITED. Recommended whenever HOST is not localhost.
# GEV_RATELIMIT_ANTHROPIC_PER_MIN=20
# Optional: OpenSky auth mode (oauth | basic | auto | anon)
# Default: oauth — requires client credentials below