TradingAgents/agent_os/frontend/src
copilot-swe-agent[bot] e9be24600f fix: AgentOS backend logging/prompts, frontend node persistence, package updates
Backend:
- Replace bare print() with structured logging module
- Include LLM prompt snippets and response content in streamed events
- Extract proper node names from LangGraph metadata (langgraph_node)
- Add latency tracking (start/end time per node)
- Add tool input/output content in events
- Add system log event type for informational messages
- Stream on_tool_end events for tool results

Frontend:
- Fix node disappearing/reappearing: use useNodesState/useEdgesState + useEffect
  for incremental updates instead of useMemo that rebuilt all nodes on each event
- Fix duplicate node creation: use useRef to track seen node IDs persistently
- Fix useAgentStream reconnection loop: remove stale `status` from connect deps
- Use statusRef to avoid stale closure in onclose handler
- Add auto-scroll to terminal, event count, type labels/colors
- Show prompt snippets, tool I/O, and response content in terminal
- Handle 'log' event type

Packages:
- Update all npm deps to latest compatible minor versions
- Remove node_modules from git tracking, add to .gitignore

Co-authored-by: aguzererler <6199053+aguzererler@users.noreply.github.com>
Agent-Logs-Url: https://github.com/aguzererler/TradingAgents/sessions/5c511c4e-5172-4eda-b6de-aefa1859e8ac
2026-03-23 00:51:29 +00:00
..
components fix: AgentOS backend logging/prompts, frontend node persistence, package updates 2026-03-23 00:51:29 +00:00
hooks fix: AgentOS backend logging/prompts, frontend node persistence, package updates 2026-03-23 00:51:29 +00:00
App.tsx feat: implement AgentOS frontend and live backend integration 2026-03-22 22:12:33 +01:00
Dashboard.tsx fix: AgentOS backend logging/prompts, frontend node persistence, package updates 2026-03-23 00:51:29 +00:00
index.css feat: implement AgentOS frontend and live backend integration 2026-03-22 22:12:33 +01:00
main.tsx feat: implement AgentOS frontend and live backend integration 2026-03-22 22:12:33 +01:00
theme.ts feat: implement AgentOS frontend and live backend integration 2026-03-22 22:12:33 +01:00