Function: eca-chat--restore-parent-subagent-status
eca-chat--restore-parent-subagent-status is a natively compiled
function defined in eca-chat.el.
Signature
(eca-chat--restore-parent-subagent-status PARENT-TOOL-CALL-ID)
Documentation
Refresh PARENT-TOOL-CALL-ID status after a child tool call update.
Keeps the pending approval symbol while a sibling child still waits for approval, otherwise restores the loading symbol.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--restore-parent-subagent-status (parent-tool-call-id)
"Refresh PARENT-TOOL-CALL-ID status after a child tool call update.
Keeps the pending approval symbol while a sibling child still waits
for approval, otherwise restores the loading symbol."
(when parent-tool-call-id
(eca-chat--update-parent-subagent-status
parent-tool-call-id
(if (eca-chat--subagent-child-pending-approval-p parent-tool-call-id)
eca-chat-mcp-tool-call-pending-approval-symbol
eca-chat-mcp-tool-call-loading-symbol))))