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): 删除合并后重复的 statDirectory 夹具

Zhang Yunjinb524b12d479e
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 8e44125b78..a9a29645bc 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
@@ -14539,7 +14539,6 @@ describe('usage-limit wait (ordinary tasks)', () => {
getSessionMeta: async () => ({}), ensureRemoteReadyForSessionStart: async () => {},
checkWorkDirExists: async () => true, isOrcaMcpHydrated: () => !rehydrate,
buildCreateOptsWithStderr: x => x, synthesizeOrcaVendorOptionsFromDb: async () => rehydrate,
- statDirectory: async () => ({ isDirectory: () => true }),
readSessionExtraDirsFromDb: async () => [], readSessionWorkingDirFromDb: async () => '/repo',
readWorkingDirectoryRecoveryCreateOpts: async () => ({ agentKind: 'claude-code', workingDir: '/repo', model: 'claude-opus-4-7' }),
withRehydrateCloseSuppressed: async (_id, fn) => fn(), bootstrapSession: bootstrap,