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: wire device-link context into remote model fixture

Dash3247dfb6c993
diff --git a/apps/desktop/src/main/maker-ipc/__tests__/orcaRemoteModelWindowSelection.test.ts b/apps/desktop/src/main/maker-ipc/__tests__/orcaRemoteModelWindowSelection.test.ts
index 04db0e66f3..3eca357e64 100644
--- a/apps/desktop/src/main/maker-ipc/__tests__/orcaRemoteModelWindowSelection.test.ts
+++ b/apps/desktop/src/main/maker-ipc/__tests__/orcaRemoteModelWindowSelection.test.ts
@@ -64,6 +64,7 @@ function setup(agent: 'cc' | 'codex' | 'pi' = 'codex', role: string | null = 'wo
resolveVerifiedContextWindow, contextOverflowRolloverHolder: rollover,
agentSwitchDeps: { onPendingSwitchChanged: vi.fn() }, projectPendingAgentSwitchIntent,
wakeSessionInputAfterCredentialSwitch: vi.fn(), persistSessionFields: persist,
+ isDeviceLinkInvoke: () => false, markRemoteSettingPersistedInsideHandler: vi.fn(),
setSessionProvider: vi.fn(), setSessionEffort: vi.fn(), setSessionFastMode: vi.fn(), getSessionEffort: () => 'high',
recordUserSessionRuntimeMutation: () => 1, broadcastSessionRuntimeProjection: async () => {},
withRehydrateCloseSuppressed: async (_id: string, run: () => unknown) => run(), throwIpcError, log,