fix: checkpoint CI and provider snapshot changes

This commit is contained in:
Mohamed Boudra
2026-04-14 14:23:25 +07:00
parent 5241727b29
commit 1e0f62976d
8 changed files with 94 additions and 45 deletions
@@ -879,7 +879,7 @@ export const AgentStatusBar = memo(function AgentStatusBar({
isLoading: snapshotIsLoading,
isFetching: snapshotIsFetching,
invalidate: invalidateSnapshot,
} = useProvidersSnapshot(serverId);
} = useProvidersSnapshot(serverId, agent?.cwd);
const snapshotModels = useMemo(() => {
if (!snapshotEntries || !agent?.provider) {
@@ -302,7 +302,14 @@ function WorkspaceStatusIndicator({
if (shouldShowSyncedLoader) {
return (
<View style={styles.workspaceStatusDot}>
<SyncedLoader size={11} color={theme.colorScheme === "light" ? theme.colors.palette.amber[700] : theme.colors.palette.amber[500]} />
<SyncedLoader
size={11}
color={
theme.colorScheme === "light"
? theme.colors.palette.amber[700]
: theme.colors.palette.amber[500]
}
/>
</View>
);
}
@@ -406,7 +413,14 @@ function ProjectLeadingVisual({
if (shouldShowSyncedLoader) {
return (
<View style={styles.projectLeadingVisualSlot}>
<SyncedLoader size={11} color={theme.colorScheme === "light" ? theme.colors.palette.amber[700] : theme.colors.palette.amber[500]} />
<SyncedLoader
size={11}
color={
theme.colorScheme === "light"
? theme.colors.palette.amber[700]
: theme.colors.palette.amber[500]
}
/>
</View>
);
}