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 pull request #7026 from makecindy/cindy/peaceful-cohen

Lizi09fea70fc22d
diff --cc apps/mobile/src/session/HomeSurface.tsx
index 2dc5eb6e4d,df23736961..e951f3b161
--- a/apps/mobile/src/session/HomeSurface.tsx
+++ b/apps/mobile/src/session/HomeSurface.tsx
@@@ -2044,15 -2049,11 +2050,15 @@@ function HomeScreenContent({ active = t
statusFilter: 'all',
unnamedLabel: t('session.menu.unnamedTitle'),
}),
- [deviceModels, scheduleIndex, selectedDeviceId, homeSessions, t],
+ [deviceModels, scheduleIndex, selectedDeviceId, homeSessions, t, projectAliases],
);
const projectMachineIdentities = useMemo(
- () => buildHomeProjectMachineIdentities(home, deviceConnectionStates),
- [home, deviceConnectionStates],
+ () => buildHomeProjectMachineIdentities(home, {
+ status, getPresenceAvailability, unresponsiveDevices, revokedDevices,
+ }),
+ // Presence is read through a stable getter; its version/connection epoch must
+ // refresh icons even when the page-local device list has not changed.
+ [home, status, getPresenceAvailability, presenceVersion, connectionEpoch, unresponsiveDevices, revokedDevices],
);
const runningSessionIds = useMemo(() => {
const ids = new Set<string>();