fix(exec/mcp): handle list-tools response events

This commit is contained in:
James Peter
2026-01-24 00:14:45 +10:00
parent b26e4d6fee
commit d042f7ceeb
2 changed files with 2 additions and 1 deletions
@@ -214,6 +214,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
| EventMsg::BrowserSnapshot(_) | EventMsg::BrowserSnapshot(_)
| EventMsg::ListCustomPromptsResponse(_) | EventMsg::ListCustomPromptsResponse(_)
| EventMsg::ListSkillsResponse(_) | EventMsg::ListSkillsResponse(_)
| EventMsg::McpListToolsResponse(_)
| EventMsg::ViewImageToolCall(_) => { | EventMsg::ViewImageToolCall(_) => {
// Environment context events are consumed by the TUI; the CLI runner // Environment context events are consumed by the TUI; the CLI runner
// does not surface them alongside the human-readable transcript. // does not surface them alongside the human-readable transcript.
+1 -1
View File
@@ -294,7 +294,7 @@ async fn run_code_tool_session_inner(
| EventMsg::AgentReasoningSectionBreak(_) | EventMsg::AgentReasoningSectionBreak(_)
| EventMsg::McpToolCallBegin(_) | EventMsg::McpToolCallBegin(_)
| EventMsg::McpToolCallEnd(_) | EventMsg::McpToolCallEnd(_)
// | EventMsg::McpListToolsResponse(_) | EventMsg::McpListToolsResponse(_)
| EventMsg::ExecCommandBegin(_) | EventMsg::ExecCommandBegin(_)
| EventMsg::ExecCommandOutputDelta(_) | EventMsg::ExecCommandOutputDelta(_)
| EventMsg::ExecCommandEnd(_) | EventMsg::ExecCommandEnd(_)