Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): 上游 MakerSendTransactionDeps.statDirectory 必填,测试夹具补齐

Zhang Yunjinc8363b3106ef
diff --git a/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts b/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts
index e7b63061f4..28e6344701 100644
--- a/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts
+++ b/apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts
@@ -14532,6 +14532,7 @@ describe('usage-limit wait (ordinary tasks)', () => {
session, didInjectOrcaInstructions: false, didInjectProjectContext: false,
})).mockRejectedValueOnce(quota);
const transaction = createMakerSendTransaction({
+ statDirectory: async () => ({ isDirectory: () => true }),
getSession: () => rehydrate ? session : undefined,
closeSession: async () => {}, preflightBotRuntimeResources: async () => {},
getSessionMeta: async () => ({}), ensureRemoteReadyForSessionStart: async () => {},