fix: improve startup readiness performance

This commit is contained in:
Bohdan Triapitsyn
2026-06-05 15:09:24 +03:00
parent 0b881fec8e
commit e192359da9
32 changed files with 502 additions and 110 deletions
@@ -320,10 +320,10 @@ export const VSCodeLayout: React.FC = () => {
// Keep trying to fetch core datasets on cold starts.
if (configStore.isConnected) {
if (configStore.providers.length === 0) {
await configStore.loadProviders();
await configStore.loadProviders({ source: 'vscodeLayout:bootstrap' });
}
if (configStore.agents.length === 0) {
await configStore.loadAgents();
await configStore.loadAgents({ source: 'vscodeLayout:bootstrap' });
}
}