Commit Graph

796 Commits

Author SHA1 Message Date
57407bbd91 fix: /auth/me les IAP-header istedenfor session 2026-06-24 15:59:50 +00:00
dcf2854a16 fix: add timeout to startup fetch calls 2026-06-24 15:02:54 +00:00
c27a783388 fix: auth/me check on load 2026-06-24 14:46:52 +00:00
ea9fadb3e0 fix(ui): Defer pollBuild execution until DOM is loaded
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
2026-06-24 13:45:14 +00:00
b2641dc344 fix: bump service worker cache version to force refresh
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
2026-06-23 15:00:20 +00:00
7ae5ae1b26 ci: add workflow to check for Python version consistency
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
2026-06-23 14:21:36 +00:00
5a10cdda3b fix: upgrade base image to python:3.13-slim to match dev environment 2026-06-23 14:21:11 +00:00
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
4610521e73 Merge remote-tracking branch github/main 2026-06-23 11:15:16 +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
ee50f8318e feat(agent): initial implementation of OPAX agent
Adds the core logic for the OPAX agent, including the main agent file, a deployment script, and an MCP client. This provides the foundation for the new agent-based architecture.
2026-06-23 09:51:32 +00:00
3355b01aa1 fix: add credentials:include to all fetch calls for IAP auth 2026-06-19 21:16:02 +00:00
c903eb5452 chore(session): logg 20260619-194016 — (ingen notat) 2026-06-19 19:41:31 +00:00
240caec499 fix(frontend): legg til dispatchEvent for input i suggest() 2026-06-19 16:49:23 +00:00
5333d31d39 fix(opax-mcp): korrekt IAP client ID (l ikke 1 i default) 2026-06-19 15:31:49 +00:00
b84b18a3df fix(opax-mcp): rett typo i IAP_CLIENT_ID default (l→1) 2026-06-19 15:20:11 +00:00
a7bd0da2cc chore(session): logg 20260618-140233 — (ingen notat) 2026-06-18 14:02:54 +00:00
dc9f6265be
docs(handoff): oppdater HANDOFF.md — IAP auth fix for opax-mcp 2026-06-18
Updated the last modified date and author in the HANDOFF document. Revised critical rules and completed tasks, including IAP Auth fixes for opax-mcp.
2026-06-18 14:46:19 +02:00
9542106ecd
fix(opax-mcp): bruk OPAX_IAP_CLIENT_ID som IAP audience i identitytoken
Update identity token retrieval to use OPAX_IAP_CLIENT_ID if available.
2026-06-18 14:11:54 +02:00
6b8e1d9fd7 docs: LEARNING-016 + IAP backend note + handoff oppdatert
- DNS-OG-INFRASTRUKTUR.md: jason-vauger SA lagt til IAP, korrekt routing
- LEARNINGS.md: LEARNING-016 opax.vauco.no backend-routing
- HANDOFF.md: neste oppgave verifiser full agent-loop
2026-06-17 17:59:23 +00:00
692ac6dec4 fix(opax-mcp): correct IAP client ID for opax.vauco.no
Previous client ID was wrong (ka7t2fv9...). Correct ID from
Location redirect header is kq8nt71d38hfqlcfb3n52ef7ala4meo.
2026-06-17 17:11:41 +00:00
eb351b5e85 fix(opax-mcp): add IAP identity token auth for opax.vauco.no calls
Add _iap_token() that fetches identity token from GCP metadata server
using IAP client ID as audience. Update _opax_get and _opax_post to
send Authorization: Bearer <token> header on all calls to opax.vauco.no.

Fixes 401 Unauthorized from IAP-protected opax.vauco.no backend.
Related: LEARNING-013
2026-06-17 16:57:54 +00:00
0ab044417e fix(opax-mcp): legg til identity token auth i _opax_get/_opax_post mot opax.vauco.no 2026-06-17 18:39:12 +02:00
9627da37ae fix(agent): legg til vertexai.init() — ADK må initialiseras eksplisitt for Cloud Run 2026-06-17 17:59:05 +02:00
afabe8d2a9 fix: inline opax_mcp_client 2026-06-15 19:33:39 +00:00
294f455d67 fix(agent): inline opax_mcp_client direkte i agent.py — fjern ekstern import 2026-06-15 21:32:21 +02:00
31f58e4ce0 fix(deploy): gjer opax_mcp_client til Python-pakke med __init__.py for Vertex AI 2026-06-15 21:19:03 +02:00
61d1fa47ed fix(deploy): extra_packages peikar på .py-fil, ikkje mappe 2026-06-15 21:07:16 +02:00
a7e92cfba7 fix(deploy): legg til extra_packages for opax_mcp_client 2026-06-15 20:44:59 +02:00
c935841011 chore: Gitea er no primær remote 2026-06-15 18:12:45 +00:00
bfd4d37f6e fix(jason): kopier opax_mcp_client inn i core-logic, redeploy med tools 2026-06-15 20:08:39 +02:00
cabf895b20 feat(opax-mcp): byt GitHub API → Gitea API, legg til /billing/tokens/by-module + /build-status + /onboard/customers + /run 2026-06-15 19:58:03 +02:00
11720267c2 docs(handoff): GitHub fasa ut — Gitea er no primær, token i Secret Manager 2026-06-15 19:47:46 +02:00
50c1256723 docs(handoff): komplett handoff 2026-06-15 — Jason live, Gitea oppe, opax-mcp tilkobla 2026-06-15 19:28:52 +02:00
5d137c1be7 fix(deploy_agent): rett import til vertexai.agent_engines (SDK 1.157.0) 2026-06-15 18:41:12 +02:00
e96e9329d5 feat(jason): koble opax-mcp til Jason — opax_mcp_client.py + oppdater mcp_tools.py + jason-vauger.md 2026-06-15 18:33:21 +02:00
7d4b475189 fix(opax-mcp): bruk X-MCP-Secret header — ikkje Authorization (kolliderer med Cloud Run IAM) 2026-06-15 18:23:21 +02:00
27290b2ab6 fix(CI1): opax-mcp — bytt til uvicorn/FastAPI HTTP server, legg til /health 2026-06-15 18:11:47 +02:00
22f7774809 fix(CI1): cloudbuild.mcp.yaml — rett SA til jason-vauger + hardkodet smoke-test URL 2026-06-15 18:00:46 +02:00
03880812ea docs: oppdater HANDOFF + ROADMAP etter CI1-bygg — ingen 3part 2026-06-15 17:44:44 +02:00
2b791452f9 feat(CI1): opax-mcp server — full OPAX tool coverage + Dockerfile + cloudbuild 2026-06-15 17:39:18 +02:00
4f3a802883 feat(CG5-onboard): token-basert invite-system + offentlig onboard-flow 2026-06-15 16:40:14 +02:00
099c1cceab feat(ML-3a/OQ-26): docs/gemma/world.md — Emma Vauger identitet og kontekstpakke 2026-06-15 16:21:36 +02:00
68802353ef feat(ML-3a): POST /emma + EMMA_BACKEND flagg (vertex nå → local VM ved trigger) 2026-06-15 16:15:51 +02:00
ec085a91c9 feat(ML-3a): docs/gemma/world.md + ROADMAP oppdatert med leverte CG5/CG6 2026-06-15 16:01:32 +02:00
7fc4df88e2 feat: onboard.html + fix len(agents) i /run/dag + HANDOFF oppdatert 2026-06-15 07:07:24 +02:00
6367683d81 fix(CG6): loadChannels() matcher /notify/channels API-format (OQ-29) 2026-06-15 06:59:56 +02:00
bf366f89b0 docs: CG4d — prisingskalkulator live 2026-06-15 06:44:41 +02:00
fa2d995fda fix(main): rett async httpx syntaksfeil i build-status + terminal + logs 2026-06-15 06:30:02 +02:00