Roo-Code/webview-ui/src/components
Sam Hoang Van a9c1dad2ce
feat(mcp): improve mcp with McpExecution, make UX like terminal execute (#3485)
* feat: add MCP viewer and enhanced UI

- Add McpExecutionStatus type with discriminated union for execution states
- Implement McpExecution component with live status updates and collapsible output
- Replace inline MCP UI in ChatRow with dedicated McpExecution component
- Add comprehensive test coverage for useMcpToolTool
- Enhance CodeAccordian to support custom headers
- Improve combineCommandSequences to handle MCP execution flows

* refactor: merge loops in combineCommandSequences for better efficiency

- Reduced from 3 separate loops to 1 main processing loop
- Improved time complexity from O(n²) to O(n)
- Reduced total passes through array from 4 to 2
- Better memory access patterns and cache utilization

* feat: enhance JSON parsing and rendering in McpExecution component

* feat: add mock implementations for react-markdown and remark-gfm

* fix: remove unreachable return statement in ChatRowContent component

* feat(i18n): add execution status messages and error handling for invalid JSON arguments

* test: add parameter validation tests for missing server_name and tool_name

* Update McpExecution component to show server name in header and tool name in approval section

---------

Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-06-12 00:46:07 -04:00
..
account Cloud: bugfixes: log refresh errors and allow logout from inactive-session (#4268) 2025-06-02 15:32:36 -07:00
chat feat(mcp): improve mcp with McpExecution, make UX like terminal execute (#3485) 2025-06-12 00:46:07 -04:00
common feat(mcp): improve mcp with McpExecution, make UX like terminal execute (#3485) 2025-06-12 00:46:07 -04:00
history fix: TaskItem display and copy issues with HTML tags in task messages. (#4444) 2025-06-11 23:50:56 -04:00
human-relay fix: Adjust the style of the HumanRelayDialog component to increase the maximum height and spacing of the content area (#1791) 2025-03-19 00:09:04 -04:00
marketplace Marketplace (#4538) 2025-06-11 17:28:12 -04:00
mcp feat: Add Refresh MCP Servers capability, fix state changes in MCP server management UI view (#4267) 2025-06-08 07:25:29 -07:00
modes Condensing fixes (#4107) 2025-05-29 10:45:13 -04:00
settings Marketplace (#4538) 2025-06-11 17:28:12 -04:00
ui Always focus the panel when clicked to ensure menu buttons are visible (#4511) 2025-06-12 00:09:19 -04:00
welcome fix(RooTips): Clear setTimeout in useEffect cleanup to prevent state updates on unmounted components (#4235) 2025-06-04 16:49:55 -04:00