feat(HAI-082): display tool call details in AgentLogViewer

- Extend AgentLogEntry type with optional detail field for tool metadata
- Thread tool args through engine executor callbacks to populate detail
- Render tool detail (name, args) in AgentLogViewer component
- Add unit tests for store, executor, and AgentLogViewer changes
This commit is contained in:
Dustin Byrne
2026-03-26 00:59:11 -04:00
parent 93a79a5bfa
commit 2baa119969
10 changed files with 150 additions and 7 deletions

View File

@@ -79,6 +79,18 @@ export function AgentLogViewer({ entries, loading }: AgentLogViewerProps) {
}}
>
{entry.text}
{entry.detail && (
<span
className="agent-log-tool-detail"
style={{
color: "var(--text-muted, #888)",
fontSize: "12px",
marginLeft: "6px",
}}
>
{entry.detail}
</span>
)}
</div>
) : (
<span key={i} className="agent-log-text">