Skip to content

Commit 173ec67

Browse files
committed
package ws with the sdk
1 parent eb4b08a commit 173ec67

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

sdk/package.json

Lines changed: 2 additions & 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.2.1",
4+
"version": "0.2.2",
55
"description": "Official SDK for Codebuff — AI coding agent & framework",
66
"license": "Apache-2.0",
77
"type": "module",
@@ -73,6 +73,7 @@
7373
"ai": "^5.0.0",
7474
"diff": "8.0.2",
7575
"web-tree-sitter": "0.25.6",
76+
"ws": "8.18.0",
7677
"zod": "^4.0.0"
7778
},
7879
"devDependencies": {

sdk/scripts/build.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ async function build() {
2525
'crypto',
2626
'stream',
2727
'util',
28+
'ws',
29+
'bufferutil',
30+
'utf-8-validate',
31+
'http',
32+
'https',
33+
'net',
34+
'tls',
35+
'url',
36+
'events',
2837
]
2938

3039
console.log('📦 Building ESM format...')

0 commit comments

Comments
 (0)