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): 补齐限额恢复测试的目录探测依赖

Dash21596b319cf9
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 () => {},