Skip to content

Add weather and market context to a daily briefing

Fetch available weather and quote data, attach a snapshot to the edition and render it with the briefing. Live widget data may have a different timestamp.

Morning/evening generation with enabled extras and selected locations or instruments. The workspace also refreshes its widgets.

Per-edition enablement, locations, weather metrics, tracked tickers and comparison periods. Configure the watchlist in the UI.

get_user_settings, update_user_settings for supported extras, fetch for the saved recap. The live widget has its own controls. See the tool reference for arguments and permissions.

Include one synthetic watchlist selection in the evening edition and compare timestamps.

Source files api/src/routes/digests.ts, api/src/lib/weather-stocks.ts, api/src/feeds/dispatcher.ts.