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。

Merge main and fix CI fixture dependencies for scheduled model recovery

ylliuuu66cd1e10a9f1e1
diff --cc apps/desktop/src/main/__tests__/rewindNativeBoundarySqlite.test.ts
index 6a3c3e1214,6a3c3e1214..22511d335c
--- a/apps/desktop/src/main/__tests__/rewindNativeBoundarySqlite.test.ts
+++ b/apps/desktop/src/main/__tests__/rewindNativeBoundarySqlite.test.ts
@@@ -15,6 -15,6 +15,11 @@@ import type { DbClient } from '../local
import { clearCurrentDbClient, setCurrentDbClient } from '../localDb/client/current';
import { messages, sessions } from '../localDb/schema';
++// Local SQL rewind reuses fork helpers without initializing the device-link host.
++vi.mock('../device-link/index.js', () => ({
++ remoteBackgroundInvoke: () => { throw new Error('unexpected remote invocation in local rewind'); },
++}));
++
const commitRewindFilesMock = vi.fn();
const isTurnRunningMock = vi.fn(() => false);
const recomputePrRefsForSessionMock = vi.fn();
diff --cc apps/desktop/src/main/maker-ipc/__tests__/agent-input-coordinator.test.ts
index a2b912edb5,e7b63061f4..cde1730cba
--- 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
@@@ -14534,7 -14535,7 +14535,8 @@@ describe('usage-limit wait (ordinary ta
getSession: () => rehydrate ? session : undefined,
closeSession: async () => {}, preflightBotRuntimeResources: async () => {},
getSessionMeta: async () => ({}), ensureRemoteReadyForSessionStart: async () => {},
-- checkWorkDirExists: async () => true, isOrcaMcpHydrated: () => !rehydrate,
++ checkWorkDirExists: async () => true, statDirectory: async () => ({ isDirectory: () => true }),
++ isOrcaMcpHydrated: () => !rehydrate,
buildCreateOptsWithStderr: x => x, synthesizeOrcaVendorOptionsFromDb: async () => rehydrate,
readSessionExtraDirsFromDb: async () => [], readSessionWorkingDirFromDb: async () => '/repo',
readWorkingDirectoryRecoveryCreateOpts: async () => ({ agentKind: 'claude-code', workingDir: '/repo', model: 'claude-opus-4-7' }),