Go to file
2026-06-10 00:26:13 +02:00
.gemini docs(gemini): fix region us-central1, Artifact Registry, Code Assist runtime, domain conventions 2026-06-04 19:40:29 +00:00
.github fix(K3): remove deleted MASTERPLAN.md ref from nightly GDrive backup 2026-06-09 17:37:12 +00:00
.vscode feat: osv-startup.ps1 + .vscode/settings.json — auto-unblock, purple/green only palette, clean prompt [Phase 4] 2026-05-22 03:09:36 +02:00
agents feat(CG6): modular drag+collapse dashboard, anomalies/budget/history endpoints, fix missing DOM refs 2026-06-10 00:02:44 +02:00
architecture feat: push all remaining files — agents/, docs/, architecture/, cloudbuild.yaml, README 2026-05-23 02:37:39 +02:00
auth feat(auth): add OAuth2 client flow + token store for GCP client onboarding 2026-05-27 20:01:21 +02:00
data docs: marker C2 komplett, legg til C4.2 auth-gate 2026-05-27 15:38:25 +00:00
dialogflow feat(b6): export Dialogflow CX agents to version control 2026-05-26 04:29:05 +00:00
docs docs+fix(CG6): mark CG6 done in ROADMAP, fix Compute Engine duplicates in billing_agent, add GCP-only hosting principle 2026-06-10 00:26:13 +02:00
infrastructure chore(infra): add VERTEX_MODEL=gemini-2.5-pro to deploy scripts (#7) 2026-06-01 04:28:03 +02:00
master_hub feat(ts3): Master Hub v3.2 theme-switcher + docs(bq): Looker Studio setup 2026-05-26 11:54:54 +00:00
ml docs+fix(CG6): mark CG6 done in ROADMAP, fix Compute Engine duplicates in billing_agent, add GCP-only hosting principle 2026-06-10 00:26:13 +02:00
opax-mcp fix: restore executable bit on new scripts 2026-05-26 13:40:07 +00:00
protocols chore: update repo references after transfer to vauco-saas 2026-05-27 19:13:54 +00:00
scripts feat(CG3e): add llm_token_usage BigQuery logger + /billing/tokens/summary endpoint 2026-06-09 21:02:52 +02:00
static feat(CG6): modular drag+collapse dashboard, anomalies/budget/history endpoints, fix missing DOM refs 2026-06-10 00:02:44 +02:00
.env.example feat: Cloud Billing API, FCM push, OAuth, AWS billing, historikk, eksport, PWA 2026-05-30 01:20:21 +00:00
.env.prefilled chore: update repo references after transfer to vauco-saas 2026-05-27 19:13:54 +00:00
.gdrive-mirror-state chore(state): oppdater .gdrive-mirror-state SHA=598e47a 2026-05-26 03:02:09 +00:00
.geminiignore chore(docs): konsolider MASTERPLAN/ROADMAP/HANDOFF til én sannhet (#5) 2026-05-31 17:57:13 +02:00
.gitignore chore(docs): konsolider MASTERPLAN/ROADMAP/HANDOFF til én sannhet (#5) 2026-05-31 17:57:13 +02:00
.python-version fix(deploy): bruk Python 3.13, pin litellm>=1.67 for 3.13-støtte 2026-05-26 00:44:35 +02:00
AGENTS.md docs: add Jason Vauger agent profile and update AGENTS.md 2026-06-01 06:26:40 +02:00
CLAUDE.md fix: strengthen boot prompt to force file reading in both GEMINI.md and CLAUDE.md 2026-05-31 19:57:36 +02:00
cloudbuild.base.yaml docs: clarify cloudbuild.base.yaml is reference template only 2026-05-26 04:31:44 +00:00
cloudbuild.yaml fix(build): use BUILD_ID instead of COMMIT_SHA for manual builds 2026-06-05 03:18:35 +00:00
CNAME feat(cg3): migrate costguard to github pages (docs/) 2026-05-27 18:53:07 +00:00
dev-startup.sh Skip auth steps if already authenticated 2026-05-29 23:40:07 +02:00
main.py fix(auth): resolve NameError on require_auth decorator 2026-06-05 01:41:29 +00:00
opax.sh auto: sync 2026-05-30 19:44:04 +00:00
README.md feat: Cloud Billing API, FCM push, OAuth, AWS billing, historikk, eksport, PWA 2026-05-30 01:20:21 +00:00
requirements.txt fix: add missing itsdangerous dependency 2026-05-30 01:42:17 +00:00

OSVauco — GCP Agent Master Repo

Prosjekt: propane-will-491900-m5 | Region: us-central1

Status

Komponent Status
Cloud Run Agent Live
Service URL https://osvauco-agent-357036551735.us-central1.run.app
CI/CD Trigger Auto-deploy ved push til main
ADK Versjon 1.x (google-adk>=1.0.0,<2.0.0)
Siste revisjon osvauco-agent-00006-mvb

Hurtigtest

TOKEN=$(gcloud auth print-identity-token)
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"chris","session_id":"test-1","message":"Hei, hvem er du?"}' \
  https://osvauco-agent-357036551735.us-central1.run.app/run | jq

Repo-struktur

├── agents/
│   └── core-logic/        # Live agent: app.py (FastAPI + ADK Runner)
├── infrastructure/
│   ├── 01-setupenv.sh     # ✅ Ferdig
│   ├── 05-cloudrun-deploy.sh  # ✅ Ferdig
│   ├── 06-cicd-setup.sh   # ✅ Ferdig
│   ├── 07-rag-setup.sh    # ⏳ Neste
│   └── 08-memorybank-setup.sh # ⏳ Planlagt
├── docs/
├── scripts/
├── cloudbuild.yaml        # CI/CD pipeline
└── .env.example

Service Account roller (osvauco-agent-sa)

Rolle Formål
roles/aiplatform.user Vertex AI / Gemini
roles/secretmanager.secretAccessor Secrets
roles/logging.logWriter Logging
roles/cloudtrace.agent Tracing
roles/monitoring.metricWriter Monitoring
roles/run.invoker Cloud Run kall
roles/iam.serviceAccountUser Deploy
roles/artifactregistry.writer Docker push
roles/run.developer Cloud Run deploy

Cloud Scheduler for Daglig Fakturering

For å automatisk generere daglige kostnads-snapshots, må en Cloud Scheduler-jobb konfigureres til å kalle /billing/snapshot-endepunktet.

Oppsett med gcloud:

  1. Service URL: https://osvauco-agent-357036551735.us-central1.run.app
  2. Service Account: osvauco-agent-sa@propane-will-491900-m5.iam.gserviceaccount.com
gcloud scheduler jobs create http daily-billing-snapshot \
  --schedule="0 5 * * *" \
  --uri="https://osvauco-agent-357036551735.us-central1.run.app/billing/snapshot" \
  --http-method=POST \
  --oidc-service-account-email="osvauco-agent-sa@propane-will-491900-m5.iam.gserviceaccount.com" \
  --oidc-token-audience="https://osvauco-agent-357036551735.us-central1.run.app" \
  --location="us-central1" \
  --time-zone="Etc/UTC" \
  --description="Kaller /billing/snapshot for å lagre daglig kostnadsdata."

Denne kommandoen oppretter en jobb som kjører hver dag kl. 05:00 UTC.