Commit Graph

17 Commits

Author SHA1 Message Date
0f663c1d3d fix(startup): lazy-init root_agent in lifespan — fix Cloud Run startup probe 2026-06-23 12:17:58 +00:00
4dfcffd0b3 fix(startup): move all blocking calls to lifespan event 2026-06-23 11:54:44 +00:00
2950542c29 fix(startup): move BQ table init to lifespan event — fixes Cloud Run startup probe timeout 2026-06-23 11:01:24 +00:00
950220166f fix: add GET / route serving opax.html from static/ 2026-06-10 21:15:31 +02:00
b1464bd065 chore: revert debug endpoint and smoke test to /health 2026-06-10 16:48:08 +00:00
f7de25a411 feat(debug): add /debug-health endpoint for smoke testing 2026-06-10 16:17:41 +00:00
749a107e9d feat(OX1b+CG4): Embedded TUI i opax.html + token intelligence endepunkter
OX1b:
- opax.html: ny TUI-panel med xterm.js via /opax/tui-proxy WebSocket-bridge
- Jason-chat flyttes til primærpanel, TUI som sekundærfane
- Fullskjerm-toggle, kopier output, klar-knapp

CG4a:
- app.py: GET /billing/tokens/by-module — aggreger per module_name + caller_type
- app.py: GET /billing/tokens/estimate — prosjektestimator (snitt-tokens × faktor)
- Begge fallback til tomme lister ved BQ-feil (OQ-15 safe)

ROADMAP: OX1a , OX1b , CG4a  — oppdatert NOW/NEXT
2026-06-10 01:17:53 +02:00
1c447c4d3a feat(OX1a+ML-3b): Cloud Build live-widget i opax.html + /opax/build-status endepunkt + Gemma world.md
- app.py: ny GET /opax/build-status — poller Cloud Build API, returnerer siste build status/timing
- static/opax.html: ny Deploy-seksjon med live spinner → /, poller hvert 10s under aktiv build
- docs/gemma/world.md: Gemma kontekstpakke opprettet — alt Gemma trenger å forstå Vauco fra dag 1
2026-06-10 01:11:09 +02:00
fe923d9d17 feat(CG6): modular drag+collapse dashboard, anomalies/budget/history endpoints, fix missing DOM refs 2026-06-10 00:02:44 +02:00
fd6aa1f2aa feat(CG5): add get_service_totals to BillingAgent + complete /billing/by-service in app.py 2026-06-09 23:45:08 +02:00
97f0ead1fb feat(CG5): add /billing/by-service endpoint 2026-06-09 23:43:15 +02:00
62e742b9ba feat(CG4): add recommendations & anomaly engine 2026-06-09 20:52:25 +00:00
33482aee2c feat(CG3e): add llm_token_usage BigQuery logger + /billing/tokens/summary endpoint 2026-06-09 21:02:52 +02:00
ffe4ec1c63 fix: await get_session and create_session (async ADK 1.x API) 2026-05-23 21:09:59 +02:00
4ef0683c7c fix: use try/except to create session if get_session raises in ADK 1.x 2026-05-23 20:45:50 +02:00
7e1af38474 fix: auto-create session if not found in /run endpoint 2026-05-23 20:33:39 +02:00
4814447da4
feat: add agents/core-logic/app.py — FastAPI Cloud Run entrypoint 2026-05-23 02:46:41 +02:00