Function: eca-chat-inline--track-pending-tool
eca-chat-inline--track-pending-tool is a natively compiled function
defined in eca-chat-inline.el.
Signature
(eca-chat-inline--track-pending-tool OV ID SUMMARY)
Documentation
Track tool call ID with SUMMARY as pending approval in OV.
Return the status text for all pending tools.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-inline.el
(defun eca-chat-inline--track-pending-tool (ov id summary)
"Track tool call ID with SUMMARY as pending approval in OV.
Return the status text for all pending tools."
(overlay-put ov 'eca-chat-inline--pending-tools
(cons id (overlay-get ov 'eca-chat-inline--pending-tools)))
(overlay-put ov 'eca-chat-inline--pending-summaries
(eca-assoc (overlay-get ov 'eca-chat-inline--pending-summaries)
id summary))
;; Newest are prepended, so reverse to show them in arrival order.
(mapconcat #'cdr
(reverse (overlay-get ov 'eca-chat-inline--pending-summaries))
", "))