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。

test(desktop): complete quota transaction directory fixture

JiangJiahao08271534c400
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..93e02f0e5c 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
@@ -14536,6 +14536,7 @@ describe('usage-limit wait (ordinary tasks)', () => {
closeSession: async () => {}, preflightBotRuntimeResources: async () => {},
getSessionMeta: async () => ({}), ensureRemoteReadyForSessionStart: async () => {},
checkWorkDirExists: async () => true, isOrcaMcpHydrated: () => !rehydrate,
+ statDirectory: async () => ({ isDirectory: () => true }),
buildCreateOptsWithStderr: x => x, synthesizeOrcaVendorOptionsFromDb: async () => rehydrate,
readSessionExtraDirsFromDb: async () => [], readSessionWorkingDirFromDb: async () => '/repo',
readWorkingDirectoryRecoveryCreateOpts: async () => ({ agentKind: 'claude-code', workingDir: '/repo', model: 'claude-opus-4-7' }),