mirror of
https://github.com/bleak-ai/gcontext.git
synced 2026-08-11 13:19:23 +02:00
Anonymous install telemetry: POST /api/telemetry accepts install events from the CLI, GET /api/admin/installs lists them (auth-protected). Install model and installs table auto-created on startup. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
191 B
Python
14 lines
191 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class WorkflowOut(BaseModel):
|
|
id: str
|
|
downloads: int
|
|
|
|
|
|
class InstallIn(BaseModel):
|
|
install_id: str
|
|
version: str
|
|
os: str
|
|
platform: str
|