Tracks in-flight tool executions and accumulates their results.
Created at the start of a tool-execution phase and consumed when all tools have reported back. Reset to empty at the end of each turn.
Summary
Functions
Kill all in-flight tool task processes.
Return true when all tool calls have completed.
Mark a tool call as done.
Return an empty runner.
Register a set of running tool tasks.
Types
Functions
@spec cancel_all(t()) :: :ok
Kill all in-flight tool task processes.
Return true when all tool calls have completed.
Mark a tool call as done.
Returns {:ok, updated_runner} or :not_running when call_id is not
in the running set (stale result after an abort).
@spec new() :: t()
Return an empty runner.
Register a set of running tool tasks.