Spaces:
Running

kugguk commited on
Commit
684a9cc
·
verified ·
1 Parent(s): ee20ade

Make customer and NGO inference the default workflow with dated market news

Browse files

Replace the archived-first landing with an on-demand customer/NGO workspace. Reuse the bounded CPU queue, refresh official grid history before NGO fitting, preserve measured-input and origin checks, and expose live_analysis plus market_news over REST and MCP. Add server-side SerpApi Google News integration with public-only queries, shared cache, conservative quotas, source dates and explicit missing-secret status. Keep news separate from numeric forecasts and tariff quotes.

Validation: 109 packaged regression tests passed, plus the final currency guard and repeated API contract check (110 unique passing cases). React production build and actual local REST/MCP smoke passed. New official-history readers verified against PT, DE and all five AU NEM regions. Live SerpApi calls were not made because the Space has no SERPAPI_API_KEY. Existing CPU Basic hardware and private plugin visibility remain unchanged.

13 files changed +1406 -31
Files changed (13)
.gitignoreAdded+20
App.jsx+21-14
Dockerfile+1-1
LiveWorkspace.jsxAdded+263
README.md+105-1
app.py+24-4
bulk.py+10-5
live.cssAdded+1
live_analysis.pyAdded+238
live_sources.pyAdded+275
news.pyAdded+437
resources.zip+2-2
resources_manifest.json+9-4