fix(agent): resolve read_document spinner stuck forever
doc_read_start emits real filename; afterToolCallEvent was emitting filename from result.filename which is always empty (read_document returns plain text not JSON). Now looks up filename from docIndex using the tool input doc_id, matching what the start event used.
| Repository | dropthejase/louis |
|---|---|
| Author | Jason Lee <12leeejk2@gmail.com> |
| Authored | |
| Parents | acba2e4f |
| Stats | 1 file changed , +5 , -2 |
| Part of | Streaming chat UI: tool cards, reasoning blocks, MessageList refactor |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-3206edf0.md
from inside the repo you want the change in.