fix(fable-mcp): fix SSE parser and add stream retry for race condition

- Parse multi-line SSE format correctly (event: on separate line, chunk in data.chunk)
- Retry stream GET up to 10x with 300ms backoff when 404 (buffer not ready yet)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 16:10:12 -04:00
parent 746b21fa4c
commit a7160772bf
2 changed files with 36 additions and 18 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "fable-mcp"
version = "0.2.2"
version = "0.2.3"
description = "MCP server for Fabled Assistant"
requires-python = ">=3.12"
dependencies = [