Ports the open, keyless camera feeds found in the MIT-licensed OSIRIS
project (github.com/simplifaisoul/osiris), plus a few more sites found on
the same platforms. Every feed was checked live on 2026-11-15 and sampled
through the media proxy.
Batch 1: 13 IBI 511 sites (AK, AZ, ID, LA, NV, UT, PA, WI, MB, NB, NS, NL,
YT); Ontario and Alberta moved to the working list feed; Spain DGT
catalog; Netherlands RWS via rwsverkeersinfo.
Batch 2: Maryland CHART and DelDOT (HLS); Virginia and South Carolina
(Iteris); TxDOT all 25 districts (base64 JPEG decoded by the proxy);
Indiana, Iowa, Nebraska, Kansas (CARS 511); Finland, Hong Kong,
Queensland, New Zealand.
Batch 3: North Carolina (511 GET query form), Oregon TripCheck statewide,
Edmonton (HLS), Iceland, Taiwan THB, Lithuania, Bizkaia, France (DIR
Centre-Est, DIR Est, Lyon, Inforoute x5, APRR), Autostrade per l'Italia.
De-duplication: WSDOT no longer re-imports its ~66 Oregon TripCheck
cameras, and the Oregon feed skips the Washington and California
cameras that WSDOT and Caltrans already supply.
The media proxy (router and main.py copies) allows the new hosts, with
profiles for Referer-checked hosts, uncompressed MP4 clips and HLS.
Left out: Japan river cameras (site forbids automated access),
Massachusetts (placeholder images, expiring tokens), MN/CO/NY (bot
challenge), Sweden (private site's internal API), YouTube-only lists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve dependency conflicts by keeping the newer version of each package,
except maplibre-gl, which stays on 6.x because this branch migrated the map
worker to MapLibre 6 (main still pins 4.7):
- frontend: framer-motion 14.9, hls.js 1.7.4, lucide-react 1.66,
maplibre-gl 6.14, @types/node 26, vite 8.3.5, vitest 4.1.12
- backend: apscheduler 3.11.3, cachetools 7.2.8, cryptography 50.0.2,
keep anyio >= 4.14.2
- package-lock.json and uv.lock regenerated from the resolved manifests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A browser replaying a stale all-off layer preference (saved localStorage)
can stop the AIS stream mid-session and nothing restarts it, because the
enable-transition logic in the layers router only fires on an edge it
observes (seen 3x in one night). This job converges stream state to layer
state every 2 minutes. It returns early and stays silent when the stream
cannot run at all (no AIS_API_KEY, or the AIS proxy disabled) so an
unconfigured deployment never warn-loops. Prune behavior is untouched.
Three except:continue sites swallowed real errors, producing plausible
zeros or hiding state damage: market end_date parsing, WastewaterSCAN
per-plant futures, USGS quake-risk enrichment. Adds a WARN log with the
exception before continuing, matching the pattern already used at the
CISA date-parsing and AIS cache-wipe sites.
Both found by @BeauBoorman running Shadowbroker live (#666).
Cyber threats: CISA KEV dateAdded values are date-only ("2026-11-03"), so
fromisoformat() returns naive datetimes and subtracting them from an aware
"now" raised TypeError. The bare except skipped every entry, so the layer
always showed zero recent CVEs from a healthy catalog. Parse them as UTC.
AIS: with every ship layer off the stream is stopped on purpose, but the
banner still blamed AISStream (and suggested an AISHub signup) and
/api/health reported "degraded" when AIS_API_KEY was set. ais_proxy_status()
now reports ship_layers_active; the banner and the health escalation skip
that case. Older backends without the field keep the old behavior.
Tests for both run in the CI backend smoke set; new banner tests cover the
frontend.
Co-Authored-By: Beau Boorman <216379357+BeauBoorman@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gate messages publish over Tor first, with RNS only as the fallback
carrier, but the release floor demanded private_strong (Tor and RNS).
RNS is not installed by default, so on an ordinary node every gate post
sat in "Queued for private delivery" forever. Gates now get the same
Tor-only floor DMs already use when RNS is not enabled; nodes that
enable RNS keep the two-transport floor.
The start scripts' privacy-core pin refresh skipped whenever
backend/.env was missing or private lanes were turned on from the UI
rather than .env, which is the common case. It now pins the locally
built library regardless, creating backend/.env if needed, matching
what the Docker entrypoint already does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Gate history is readable on another node only through the gate envelope,
which is keyed from a per-gate secret that every node generated on its
own. Nothing ever moved that secret between members, so two operators in
the same gate could not read each other.
Members can now send the current gate key to a DM contact inside an
end-to-end encrypted DM. The key rides as a control frame that is
stripped on decrypt, so it never reaches the browser or the mailbox. The
recipient's operator accepts or declines it; the previous local key is
archived so existing history stays readable.
Rotation sends the new key to every contact the key was granted to,
minus excluded peers. Recipients apply a rotation automatically only
when it comes from the member they got the key from, and forward it to
their own grantees. Ban/kick rotations now redistribute too, instead of
silently splitting the gate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Review follow-up:
- Drop the Next.js route. CARTO_API_KEY is now a regular backend registry
key (env, .env, or the API Keys panel) served by public
GET /api/basemap-config. Every frontend mode already proxies /api/* to
the backend (Next.js proxy in web mode, companion server in packaged
desktop), so this covers web and desktop with one mechanism and leaves
the static export untouched. Also removes the invalid non-handler
export from the route module by removing the module.
- useBasemapConfig: fail open to the unkeyed style after 3 s, abort the
request at 15 s, apply a late key when it arrives, cache successes per
page and retry failures on the next mount.
- Declare OSM/CARTO attribution on the raster source (same markup as the
viewer's existing AttributionControl so MapLibre de-duplicates it).
- Tests: backend endpoint (unset / set+trimmed / persisted operator key /
registry), hook behaviour (success, non-OK, network error, soft timeout
then late key, hard abort, shared request and retry), attribution and
gating source checks.
- CARTO_API_KEY moves to the backend service in docker-compose.yml; docs
updated accordingly.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The gemini_live realtime relay hung in "connecting" because every frame of
the upstream dial was stale:
- Dial path google.ai.generativelanguage.v1beta.GenerativeService.BidiSetup
now returns HTTP 404 on upgrade; the live endpoint is
...GenerativeService.BidiGenerateContent (verified against
wss://generativelanguage.googleapis.com with a real key).
- The model query parameter is rejected by that endpoint (close 1007,
unknown query parameter) - it is no longer mirrored into the URL; the
setup message stays the sole model carrier.
- Top-level setup.responseModalities and setup.speechConfig are rejected
(1007 "Cannot find field"); both now live under generationConfig, per
the Live API WebSocket reference. systemInstruction{parts} and
input/outputAudioTranscription validated live at top level.
- Added tests/test_voice_gemini_live.py: live integration test (skipped
without VOICE_GEMINI_API_KEY) that replays the exact relay handshake,
asserts setupComplete, then requires modelTurn audio or a typed error
after one PCM chunk.
Verified live: the fixed adapter's frames pass schema validation and reach
session creation; with the operator's current key Google closes 1011
"prepayment credits are depleted" (account-side billing state, not an
adapter defect). Also updated the container operator env pin
VOICE_GEMINI_MODEL from the retired gemini-2.0-flash-live-001 (server
answers 1008 "not supported for bidiGenerateContent") to the docs-current
gemini-3.1-flash-live-preview.
- chat_completion(): when the resolved provider is gemini_live and VOICE_CHAT_MODEL is empty, dial Google's OpenAI-compatible endpoint (https://generativelanguage.googleapis.com/v1beta/openai/chat/completions, Bearer <VOICE_GEMINI_API_KEY>) instead of failing chat_unconfigured — fixes the typed composer/hud-summary/turn legs for Gemini-only configs. New Settings field VOICE_GEMINI_CHAT_MODEL (default gemini-2.5-flash).
- POST /api/voice/provider accepts {clear:true}: removes the provider's persisted key + its model/URL rows from data/operator_api_keys.env via new _remove_env_values helper, syncs live env with env-var-wins honesty, returns the fresh status shape. Saving again overwrites (upsert verified).
- Curated Gemini Live list refreshed: gemini-3.1-flash-live-preview leads, gemini-2.0-flash-live-001 secondary, gemini-3.5-live-translate-preview added; VOICE_GEMINI_MODEL default updated.
- Deterministic fallback is honest: a realtime-armed console says 'Voice provider armed (<id>) — text chat unavailable right now' instead of 'No model configured'.
- VoiceSetupCard: Replace-key note + Clear button for already-configured providers; i18n keys added in en/fr/fa/zh-CN.
- Tests: compat-dial contract (URL/Bearer/model), clear rows re-read, upsert replace, curated list; frontend clear-button + prefill coverage.
- Add anthropic_text provider: VOICE_ANTHROPIC_API_KEY registry row, VOICE_ANTHROPIC_BASE_URL setting, resolve_provider candidate ordered after realtime providers and before local_text, and a chat_completion branch that POSTs {base}/v1/messages (x-api-key + anthropic-version headers, system extraction, text-block reply assembly, input/output_tokens usage metering). Model reuses VOICE_CHAT_MODEL (Anthropic has no separate voice model) with the curated-list head as fallback.
Anthropic has NO realtime speech API: anthropic_text behaves like local_text on the media path — the WS relay refuses it (text_only_provider) and the mic keeps the TXT badge, never opening PTT.
- Custom endpoint: 'compat' already accepts arbitrary https base URLs (baseUrl+key+model); the new Custom endpoint preset is a UI alias posting {provider:'compat'}.
Tests: backend/tests/test_voice_anthropic.py (18) plus existing voice suites; frontend voice vitest suite 167 green; tsc clean in touched files. i18n keys added in en/zh-CN/fr/fa.
- VoiceHudPanel renders the setup card as the leading Connect-a-model section whenever providerResolved is null or local_text (enabled-but-unconfigured limbo); transcript+composer stay below it.
- VoiceSetupCard: OpenRouter and Local(Ollama) compat presets (baseUrl prefill/placeholder), Gemini model prefilled gemini-2.0-flash-live-001, debounced GET /api/voice/models dropdown plus always-usable free-text model input with verbatim failure detail; lands directly on the provider step when opt-in already succeeded.
- POST /api/voice/provider now persists the model row for compat too (VOICE_CHAT_MODEL) and VOICE_CHAT_MODEL joins the voice persisted-setting keys in api_settings.py.
- Mic button degraded corner badge: TXT only for text-mode-with-chat-model; NO AI + honest tooltip otherwise.
- Autofill hygiene: autoComplete/autocorrect/autocapitalize/spellCheck off on composer and all setup inputs; key field is type=password with show/hide toggle, name=voice-provider-key, autoComplete=new-password.
- i18n: new voice.badge.* and voice.setup.* keys in en/zh-CN/fr/fa.
POST /api/voice/opt-in and POST /api/voice/provider persist through the sanctioned operator-keys writer (_write_env_values on data/operator_api_keys.env), cache-clear get_settings, and report fresh effective state. Env-var-wins honesty preserved verbatim (managedByEnvironment + note when a real process env var governs a key). VOICE_GEMINI_API_KEY joins API_REGISTRY; behavioral opt-in/coordinate keys ride ALLOWED_ENV_KEYS via an explicit frozenset union (documented why not registry rows). Both endpoints sit inside the MESH_ONLY guard block; responses never echo key material.
- voice_broker._ws_url_for: re-append /realtime?model=<id> on the
openai_realtime and compatible_ws branches (1fb3ecf dropped it,
silently breaking provider #1 and compat dials); gemini BidiSetup
URL unchanged.
- useVoiceAgent.isRealtimeProvider: add gemini_live so a resolved
Gemini Live provider actually opens a VoiceAudioClient session on
PTT (was dead end-to-end from the UI); helper now exported.
- voice_gemini.gemini_event_to_client: content translates first —
usageMetadata no longer takes an exclusive branch, so Gemini's
common turnComplete+usageMetadata message still yields response.done;
the relay meters straight off the raw event instead. Stale 'model
rides the setup message, not the URL' comments corrected.
- relay session.update patch forwarding guarded off Gemini sockets
(OpenAI-style build_session_config JSON would be a protocol error).
- Tests: dial-URL regression pins for openai/compat/gemini branches;
combined-event translation pin; realtimeProviderGate frontend test.