You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 Fix remaining startup delay: Don't load AIService for git status checks
Critical fix: The WORKSPACE_EXECUTE_BASH IPC handler was calling
this.aiService.getWorkspaceMetadata() just to get the workspace path.
This triggered lazy-load of AIService on first git status check,
importing the massive AI SDK (~3s) and blocking all IPC calls.
Solution: Use Config.findWorkspace() instead, which already returns
both workspacePath and projectPath without needing AIService.
Impact:
- Git status checks no longer trigger AI SDK import
- AI SDK only loads when first AI stream starts (actual use)
- Eliminates the 3s pause user reported seeing before git status icons appear
- Window appears instantly and is fully interactive immediately
0 commit comments