- New: db_sessions.py with asyncpg pool, session CRUD (upsert) - New: POST/GET/DELETE /api/sessions endpoints - Refactored api.py: _sessions dict replaces _active_runtime singleton - WS accepts ?session= param, sends session_info on connect - Runtime: added session_id, to_state(), restore_state() - Auto-save to Postgres after each message (WS + REST) - Added asyncpg to requirements.txt - PostgreSQL 16 on VPS, tenant DBs: assay_dev, assay_loop42 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
188 B
Plaintext
12 lines
188 B
Plaintext
fastapi==0.135.2
|
|
uvicorn==0.42.0
|
|
httpx==0.28.1
|
|
httpx-sse==0.4.3
|
|
websockets==16.0
|
|
python-dotenv==1.2.2
|
|
pydantic==2.12.5
|
|
PyJWT[crypto]==2.10.1
|
|
pymysql==1.1.1
|
|
mcp[sse]==1.9.3
|
|
asyncpg==0.30.0
|