Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(codex): assert rewind thread timeout options
Lizi39366944ff75
diff --git a/packages/maker-core/src/agents/codex/index.test.ts b/packages/maker-core/src/agents/codex/index.test.tsindex 06a3a196c6..47f13eae78 100644--- a/packages/maker-core/src/agents/codex/index.test.ts+++ b/packages/maker-core/src/agents/codex/index.test.ts@@ -25112,7 +25112,11 @@ describe('CodexAgent rewind', () => {expect(methods).not.toContain(Method.ThreadFork);expect(methods).not.toContain(Method.ThreadTurnsList);expect(methods.filter((method) => method === Method.ThreadStart)).toHaveLength(2);- expect(host.request).toHaveBeenLastCalledWith(Method.ThreadStart, expect.objectContaining({ cwd: '/repo' }));+ expect(host.request).toHaveBeenLastCalledWith(+ Method.ThreadStart,+ expect.objectContaining({ cwd: '/repo' }),+ expect.objectContaining({ timeoutMs: 10_000 }),+ );expect(host.subscribeThread).toHaveBeenLastCalledWith('fresh-thread-id', expect.any(Object));expect(await nextEvent(iterator)).toMatchObject({type: 'session_id',