pareidolia / server /__init__.py
AndresCarreon's picture
PAREIDOLIA v0 — everything secretly has a face
772074b verified
Raw
History Blame Contribute Delete
637 Bytes
"""PAREIDOLIA server package — HTTP/SSE transport layer (server agent).
Modules:
schemas pydantic models: the awakening JSON contract (§3) + HTTP bodies
sse asyncio broadcast hub for /api/stream (lifted from godseed)
ratelimit signed-cookie visitor identity + sliding-window rate limit
persistence menagerie/ store, HF dataset sync (debounced batch), pending vault
wiring protocols the server codes against + mock shims for absent peers
The "her" pattern applies here as everywhere: the VLM owns taste, this layer
owns facts — tokens, files, limits, and what is allowed onto the public wall.
"""