From 6fc24651f74ca465ec490d25a63da2f57adf40be Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Mon, 13 Jul 2026 16:48:43 -0400 Subject: [PATCH] fix(desktop): add respondToApproval to clarify tool-part test mock @assistant-ui/react 0.14 makes respondToApproval required on ToolCallMessagePartProps; the settledClarifyProps helper still lacked it after the upgrade cherry-picks, so tsc failed on clarify-tool.test.tsx. --- apps/desktop/src/components/assistant-ui/clarify-tool.test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/desktop/src/components/assistant-ui/clarify-tool.test.tsx b/apps/desktop/src/components/assistant-ui/clarify-tool.test.tsx index a508b8471c51..8938435c0f60 100644 --- a/apps/desktop/src/components/assistant-ui/clarify-tool.test.tsx +++ b/apps/desktop/src/components/assistant-ui/clarify-tool.test.tsx @@ -29,6 +29,7 @@ function settledClarifyProps( args, argsText: JSON.stringify(args), isError: false, + respondToApproval: vi.fn(), result, resume: vi.fn(), status: { type: 'complete' },