This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
+1 more
Summary
AI summaryFixed client-side hangs and mapping issues in SSE streaming, preventing crashes when usage data is missing.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Performance | Low |
Enhances stream stability for clients like Claude Code by ensuring consistent event emission Enhances stream stability for clients like Claude Code by ensuring consistent event emission Source: llm_adapter@2026-05-26 Confidence: high |
— |
| Bugfix | Medium |
Emits `content_block_stop` and `message_delta` to ensure complete SSE stream termination on EOF Emits `content_block_stop` and `message_delta` to ensure complete SSE stream termination on EOF Source: llm_adapter@2026-05-26 Confidence: high |
— |
| Bugfix | Medium |
Prevents heartbeat keepalive comments after an SSE message has stopped Prevents heartbeat keepalive comments after an SSE message has stopped Source: llm_adapter@2026-05-26 Confidence: high |
— |
| Bugfix | Medium |
Maps upstream `tool_calls` finish reasons to the expected `tool_use` stop reason Maps upstream `tool_calls` finish reasons to the expected `tool_use` stop reason Source: llm_adapter@2026-05-26 Confidence: high |
— |
| Bugfix | Medium |
Returns a zero‑value `Usage` object instead of `nil` when upstream provides no usage info, avoiding subagent crashes Returns a zero‑value `Usage` object instead of `nil` when upstream provides no usage info, avoiding subagent crashes Source: llm_adapter@2026-05-26 Confidence: high |
— |
Full changelog
This release focuses on improving the reliability of Server-Sent Events (SSE) streaming and ensuring robust termination of message streams. These changes prevent client-side hangs and improve compatibility with various upstream provider response formats.
Bug Fixes
- Ensure complete SSE stream termination by emitting
content_block_stopandmessage_deltaon EOF - Prevent heartbeat keepalive comments from being sent after a message has already stopped
- Map upstream
tool_callsfinish reasons to the expectedtool_usestop reason - Return a zero-value
Usageobject instead ofnilwhen upstream provides no usage information to prevent subagent crashes
Improvements
- Enhance stream stability for clients like Claude Code by ensuring consistent event emission
Chores
- Run
gofmton stream termination tests
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Track Oc-go-cc, an Open-source proxy that lets Claude Code use OSS models
Get notified when new releases ship.
Sign up freeAbout Oc-go-cc, an Open-source proxy that lets Claude Code use OSS models
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]