Files
ai-agent/backend/schemas.py
Gabriel Vidal 8f39da7f1d feat(backend): proxy account login/logout, pass typed sidecar errors through
/api/accounts/{id}/login|login/code|logout forward to the sidecar and publish
an `accounts` SSE event. Sidecar errors keep their status and structured
detail (401/403 -> 502 so the viewer doesn't read an Authelia logout). The
parser tags API-error turns (isApiErrorMessage) with ThreadItem.apiError.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 12:04:52 +02:00

54 KiB