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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user