mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 10:02:04 +08:00
* fix: agent manager terminal follows context when switching to local mode When switching from a worktree to local mode with a pending tab, currentSessionID() was undefined causing terminal triggers (Cmd+/ and button click) to silently do nothing. Added a showLocalTerminal fallback that opens a terminal at workspace root, and showExistingLocalTerminal to auto-reveal the local terminal when switching contexts. * fix: show warning when local terminal has no workspace folder * refactor: centralize local terminal key in SessionTerminalManager