From 17ccddf2b951a8b203cac57a3f8e7d04d1bf7b07 Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Tue, 13 Oct 2026 02:11:52 -0400 Subject: [PATCH] Derive retained tool titles through the native tool owner --- src/toad/acp/status.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/toad/acp/status.py b/src/toad/acp/status.py index e9d316b6c..d3dc0f42a 100644 --- a/src/toad/acp/status.py +++ b/src/toad/acp/status.py @@ -51,12 +51,13 @@ def from_transcript(cls, events: tuple[ToolTranscript, ...]): borrow the final ACP state, including an end without its earlier start. """ first = events[0] - call = ToolCall(tool_call_id=first.tool_call_id, - title=first.tool_name or 'Tool', status='completed', - kind=NativeTool.start(first.tool_call_id, first.tool_name, {}).kind) + call = ToolCall(tool_call_id=first.tool_call_id, title='', status='completed') consumer = cls(call) for event in events: consumer.dispatch_sync(event) + start = NativeTool.start(first.tool_call_id, first.tool_name, call.raw_input or {}) + call.title = start.title + call.kind = start.kind return cls.from_acp(call) @handles(ToolStartTranscript)