feat: 更新 WebSocket Keep-Alive 客户端,添加 ws 作为外部依赖,修正导入路径
This commit is contained in:
@@ -4,7 +4,7 @@ import { execSync } from 'node:child_process';
|
||||
const buildFn = async (opts: { entry?: string, naming?: string }) => {
|
||||
const entry = opts.entry || 'agent/opencode.ts';
|
||||
const naming = opts.naming || 'opencode';
|
||||
const external: string[] = ["bun"];
|
||||
const external: string[] = ["bun", "ws"];
|
||||
await Bun.build({
|
||||
target: 'node',
|
||||
format: 'esm',
|
||||
|
||||
Reference in New Issue
Block a user