Skip to content

This release fixes issues for SREs watching stability and regressions.

Published 8d API Development
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

claude claude-code claude-code-cli opencode opencode-ai opencode-go
+1 more
opencode-zen

Summary

AI summary

Fixed client-side hangs and mapping issues in SSE streaming, preventing crashes when usage data is missing.

Changes in this release

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_stop and message_delta on EOF
  • Prevent heartbeat keepalive comments from being sent after a message has already stopped
  • Map upstream tool_calls finish reasons to the expected tool_use stop reason
  • Return a zero-value Usage object instead of nil when 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 gofmt on 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 free

About Oc-go-cc, an Open-source proxy that lets Claude Code use OSS models

All releases →

Related context

Earlier breaking changes

  • v0.2.1 Update configuration schema; manual migration required for existing configs.
  • v0.1.9 Introduce Docker-based deployment; migrate from scripts to Makefile targets.
  • v0.1.7 Breaks DeepSeek configuration for reasoning_content integrity.

Beta — feedback welcome: [email protected]