Skip to content

Commit 2403947

Browse files
Bump SDK version to 0.4.0 - Add XML filtering feature
🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent aa91ec5 commit 2403947

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

sdk/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
All notable changes to the @codebuff/sdk package will be documented in this file.
44

5+
## [0.4.0] - 2025-01-20
6+
7+
### Added
8+
9+
- XML tool call filtering in stream chunks - filters out `<codebuff_tool_call>` tags while preserving response text
10+
- Stateful parser handles tags split across chunk boundaries
11+
- 50-character safety buffer for split tag detection
12+
- Comprehensive unit tests (17 test cases)
13+
514
## [0.3.1]
615

716
- `CodebuffClient.run` now does not return `null`. Instead, the `CodebuffClient.run(...).output.type` will be `'error'`.

sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@codebuff/sdk",
33
"private": false,
4-
"version": "0.3.13",
4+
"version": "0.4.0",
55
"description": "Official SDK for Codebuff — AI coding agent & framework",
66
"license": "Apache-2.0",
77
"type": "module",

0 commit comments

Comments
 (0)