mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-11-02 13:13:20 +08:00
The previous commit added connectionService.connect() in activate(), but activate() itself never ran without the sidebar open because activationEvents was empty. VS Code only triggered activation when the sidebar view was shown. Add 'onStartupFinished' to activationEvents so the extension activates after VS Code startup completes. Guard the eager connect() behind the autocomplete enableAutoTrigger setting to avoid spawning a CLI server process when autocomplete is disabled.