Initial commit: CI Agent competitive-intelligence monitoring app

FastAPI + Celery + Next.js + Postgres/Redis app with company monitoring,
source collection, LLM-based change analysis, enrichment, and account
security (Turnstile, escalating lockout, email verification).
This commit is contained in:
2026-08-05 10:48:20 -04:00
commit 1a4c80958f
365 changed files with 43541 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
from __future__ import annotations
from pydantic import BaseModel, Field
class UserApiKeyStatus(BaseModel):
provider: str
label: str
configured: bool
value: str | None
credits: int | None
credits_note: str | None
free: bool
requires_government_id: bool
class SetUserApiKeyRequest(BaseModel):
# Blank clears the user's override, falling back to the server's
# global key for that provider again.
key: str = Field(default="", max_length=500)