Repository navigation
v0.1.0 (alpha)
Pre-releaseNote: use v0.1.1 instead. This release's test suite fails on Python 3.10 due to a mock patch path; product code and wheel behavior are unaffected. v0.1.0 is retained for history.
Alpha release of StreamContract: reproduce client-side SSE and Chat Completions text streaming boundary behavior offline.
Verified locally: 32 unit/integration tests, 3 named mutation controls, source-distribution content/byte contract, clean-venv wheel install with the demo running from site-packages outside the repository, and an actual OpenAI SDK 2.36.0 decoder observation (BOM handling differs; recorded, not generalized to other versions).
Boundaries: SSE framing plus a deliberately narrow Chat Completions TEXT profile. Tool calls, Responses API streams, named SSE events and non-text deltas are unsupported and reported as such. Passing means the declared profile completed, not that a model answer or connection was correct. No network access, no API keys. Real users and other SDK versions are not verified. Python 3.10+.