feat: real-time tool progress + live logs for DeepResearch agent

- InteractTab shows streaming content word-by-word with tool progress
- LogsTab polls every 5s, shows learning log entries with color-coded badges
- Backend emits tool_progress SSE events during agent execution
- Learning log entries written for query_start, tool_call, tool_result, query_complete
- "Run Now" replaced with "Chat ready" indicator on Interact tab

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jon Saad-Falcon
2026-03-27 18:31:23 -07:00
co-authored by Claude Opus 4.6
parent c079197c4e
commit d2df7d083e
@@ -595,8 +595,11 @@ async def _stream_managed_agent(
f"Query: {user_content[:100]}",
{"full_query": user_content},
)
except Exception:
pass
except Exception as _log_exc:
logger.warning(
"Failed to log query_start: %s",
_log_exc,
)
# Patch the agent's tool executor to emit progress
dr_agent = DeepResearchAgent(