Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
test(bot-import): await checkpoint cleanup (#5203)
Tsai Yuan954893afaa40
diff --git a/apps/desktop/src/main/bot-import/__tests__/host.test.ts b/apps/desktop/src/main/bot-import/__tests__/host.test.tsindex 0139b33f76..a8cc7e969a 100644--- a/apps/desktop/src/main/bot-import/__tests__/host.test.ts+++ b/apps/desktop/src/main/bot-import/__tests__/host.test.ts@@ -396,7 +396,9 @@ it.each([false, true])('redacts all known credentials from profile/memory copiesexpect(stored.env).not.toHaveProperty('EXCLUDED');expect(JSON.stringify(stored)).not.toContain('fake-absent-from-selected-content');expect(stored.documents).toEqual(Object.fromEntries(documents.map(item => [item.view.id, item.text])));- expect(stored.pendingImport).toBeUndefined();+ await vi.waitFor(async () => {+ expect((await h.store.read(h.root, result.botId, () => {}))?.pendingImport).toBeUndefined();+ });});it('persists redacted routine fields and retains identical publication masks across a handover retry after restart', async () => {