mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-24 23:13:35 +08:00
When the workspace is not a git repo, pushEmptyState() fires with isGitRepo:false but sessionsLoaded never flips to true because the Kilo server doesn't connect. This left the loading skeletons displayed forever. - Webview: set sessionsLoaded=true when agentManager.state arrives with isGitRepo=false - Provider: call pushEmptyState() in requestState handler when this.state is undefined, fixing the race where the webview mounts after the initial empty state was already sent - Tests: static-analysis regression tests for both fixes