Skip to content

Commit fd30aa0

Browse files
committed
Publish new version of sdk
1 parent 2f8cae1 commit fd30aa0

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

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.4.4",
4+
"version": "0.4.5",
55
"description": "Official SDK for Codebuff — AI coding agent & framework",
66
"license": "Apache-2.0",
77
"type": "module",

sdk/src/tools/run-terminal-command.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ export function runTerminalCommand({
5454
timer = setTimeout(() => {
5555
if (!processFinished) {
5656
processFinished = true
57-
childProcess.kill('SIGTERM')
57+
const success = childProcess.kill('SIGTERM')
58+
if (!success) {
59+
childProcess.kill('SIGKILL')
60+
}
5861
reject(
5962
new Error(`Command timed out after ${timeout_seconds} seconds`),
6063
)

sdk/test/tree-sitter-queries/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)