mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
When a subagent (task tool) runs, it creates a child session. Permission requests and questions from child sessions were invisible because ChatView filtered them to only show the current session's requests. This caused the subagent to appear stuck/crashed when it was actually waiting for a permission response that the user never saw. Changes: - Show ALL pending permissions/questions in the bottom dock, not just those from the current session - Block the prompt input when any permission or question is pending (from any tracked session, including child sessions) - Add '(subagent)' indicator to permission subtitle when it comes from a child session - Priority ordering: prefer current-session non-tool permissions first, then fall back to any pending permission