@@ -19,7 +19,7 @@ use codex_core::protocol::ExecApprovalRequestEvent;
19
19
use codex_core:: protocol:: ExecCommandBeginEvent ;
20
20
use codex_core:: protocol:: ExecCommandEndEvent ;
21
21
use codex_core:: protocol:: InputItem ;
22
- use codex_core:: protocol:: ListMcpToolsResponseEvent ;
22
+ use codex_core:: protocol:: McpListToolsResponseEvent ;
23
23
use codex_core:: protocol:: McpToolCallBeginEvent ;
24
24
use codex_core:: protocol:: McpToolCallEndEvent ;
25
25
use codex_core:: protocol:: Op ;
@@ -643,7 +643,7 @@ impl ChatWidget<'_> {
643
643
EventMsg :: McpToolCallBegin ( ev) => self . on_mcp_tool_call_begin ( ev) ,
644
644
EventMsg :: McpToolCallEnd ( ev) => self . on_mcp_tool_call_end ( ev) ,
645
645
EventMsg :: GetHistoryEntryResponse ( ev) => self . on_get_history_entry_response ( ev) ,
646
- EventMsg :: ListMcpToolsResponse ( ev) => self . on_list_mcp_tools ( ev) ,
646
+ EventMsg :: McpListToolsResponse ( ev) => self . on_list_mcp_tools ( ev) ,
647
647
EventMsg :: ShutdownComplete => self . on_shutdown_complete ( ) ,
648
648
EventMsg :: TurnDiff ( TurnDiffEvent { unified_diff } ) => self . on_turn_diff ( unified_diff) ,
649
649
EventMsg :: BackgroundEvent ( BackgroundEventEvent { message } ) => {
@@ -726,7 +726,7 @@ impl ChatWidget<'_> {
726
726
}
727
727
}
728
728
729
- fn on_list_mcp_tools ( & mut self , ev : ListMcpToolsResponseEvent ) {
729
+ fn on_list_mcp_tools ( & mut self , ev : McpListToolsResponseEvent ) {
730
730
self . add_to_history ( & history_cell:: new_mcp_tools_output ( & self . config , ev. tools ) ) ;
731
731
}
732
732
0 commit comments