Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(codex): 修正 WebSocket 外置测试的 Buffer 类型标注
Dash8a53f7d003df
diff --git a/apps/desktop/src/main/maker-host/__tests__/codexProxyHost.test.ts b/apps/desktop/src/main/maker-host/__tests__/codexProxyHost.test.tsindex 0d05f49a7a..d1229031e1 100644--- a/apps/desktop/src/main/maker-host/__tests__/codexProxyHost.test.ts+++ b/apps/desktop/src/main/maker-host/__tests__/codexProxyHost.test.ts@@ -2852,7 +2852,7 @@ describe('codex proxy host', () => {const ended = once(outbound, 'end');outbound.end(Buffer.concat([header, payload])); // zero maskawait ended;- let message = Buffer.alloc(0);+ let message: Buffer = Buffer.alloc(0);const reader = createWebSocketMessageTransform(true, decoded => { message = decoded; return decoded; });reader.resume(); const read = once(reader, 'end'); reader.end(Buffer.concat(forwarded)); await read;return message;