The Wire · Showcase
CONNECT-RUST 0.4.0 SHIPS WITH BUFFA 0.5.0 SYNC AND COMPANION FILES
By RepoJournal · Filed · About Anthropic
Connect-rust v0.4.0 lands major codegen overhaul with file-per-package layout and companion file support, syncing the entire Protobuf stack for cleaner builds.
The connect-rust team shipped v0.4.0 [1] with three critical codegen improvements that reshape how Rust services are generated. The release bumps buffa to 0.5.0 [2], adopting companion file emission (`<stem>.__connect.rs`) [2] and the new `file_per_package` output layout [3] that collapses per-proto splits into a single dotted-package file with all service stubs inlined—a direct win for BSR cargo SDK generation and tonic-style integrations. Graceful shutdown now matches Go's net/http.Server.Shutdown behavior [1], fixing a long-standing async cleanup gap. Python SDK parity is closing fast: `include_hook_events` [5] now surfaces PreToolUse, PostToolUse, and Stop events as HookEventMessage, the Python agent SDK added xhigh effort support [6] to match Opus 4.7's capability ceiling, and defer-round-trip support [4] brings the Python SDK into sync with TypeScript for permissioned tool execution. The cwc-makers plugin shipped zero-install onboarding [7] for Cardputer flashing events, with a curl+tar fallback [8] that kills the git dependency entirely on every OS. Claude Code and Agent SDK both bumped to 2.1.129 and 0.2.129 [9] across the action suite.
Action items
- → Upgrade connect-rust to 0.4.0 if using buffa codegen anthropics/connect-rust [plan]
- → Adopt file_per_package layout in new builds targeting BSR or tonic anthropics/connect-rust [plan]
- → Regenerate Python SDK stubs to get hook events and defer support anthropics/claude-agent-sdk-python [plan]
- → Bump Claude Code and Agent SDK to 2.1.129 / 0.2.129 in CI workflows anthropics/claude-code-action [plan]
References
- [1] v0.4.0 ↗ anthropics/connect-rust
- [2] release: 0.4.0 (buffa 0.5.0 sync, Companion files, natural-path examples) ↗ anthropics/connect-rust
- [3] codegen: add file_per_package output layout ↗ anthropics/connect-rust
- [4] feat: support "defer" hook decision and ResultMessage.deferred_tool_use ↗ anthropics/claude-agent-sdk-python
- [5] feat: add include_hook_events option ↗ anthropics/claude-agent-sdk-python
- [6] feat(types): add "xhigh" to effort Literal (#914) anthropics/claude-agent-sdk-python
- [7] Add cwc-makers plugin: /maker-setup Cardputer onboarding ↗ anthropics/claude-plugins-official
- [8] cwc-makers: curl+tar fallback when git is missing (#1731) anthropics/claude-plugins-official
- [9] chore: bump Claude Code to 2.1.129 and Agent SDK to 0.2.129 anthropics/claude-code-action
FAQ
- What changed in Anthropic on May 6, 2026?
- Connect-rust v0.4.0 lands major codegen overhaul with file-per-package layout and companion file support, syncing the entire Protobuf stack for cleaner builds.
- What should Anthropic teams do about it?
- Upgrade connect-rust to 0.4.0 if using buffa codegen • Adopt file_per_package layout in new builds targeting BSR or tonic • Regenerate Python SDK stubs to get hook events and defer support
- Which Anthropic repositories shipped on May 6, 2026?
- anthropics/connect-rust, anthropics/claude-agent-sdk-python, anthropics/claude-plugins-official, anthropics/claude-code-action