Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(mobile): retain live execution reads in topic cache regression
MagicLizi7af7087551bc
diff --git a/apps/mobile/src/__tests__/chatServerClient.test.ts b/apps/mobile/src/__tests__/chatServerClient.test.tsindex 4b1b6b300c..c176fe5ad4 100644--- a/apps/mobile/src/__tests__/chatServerClient.test.ts+++ b/apps/mobile/src/__tests__/chatServerClient.test.ts@@ -56,7 +56,13 @@ describe('direct Chat Server client', () => {request.mockClear();expect((await client.load(id(1), undefined, id(20))).messages).toEqual(first.messages);expect(first.messages.map(m => m.id)).toEqual([id(21), id(20)]);- expect(request.mock.calls.every(([path]) => path.includes('/execution-failures?'))).toBe(true);+ // History stays cached while the existing live execution and failure reads+ // still refresh. No snapshot, root or reply-page request may be repeated.+ const refreshedPaths = request.mock.calls.map(([path]) => path.split('?')[0]);+ expect(refreshedPaths).toHaveLength(2);+ expect(refreshedPaths).toEqual(expect.arrayContaining([+ `/conversations/${id(1)}/executions`, `/conversations/${id(1)}/execution-failures`,+ ]));});// #6907: existing fixtures never pair a human's group name A with account ownerName B (unit tier).it('keeps owner labels scoped to each group and follows refreshed names without changing identities', () => {