From 9f93401bb1cc3622689d2910ae12a0a65088f2c5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 16 Aug 2026 02:42:44 +0000 Subject: [PATCH 1/2] Initial plan From 1d8b4340440d0b330802d1083dcd9bb29a96c284 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 16 Aug 2026 02:45:25 +0000 Subject: [PATCH 2/2] test: align AgentPanel onHide override typing with component prop Co-authored-by: AzureLandin <238871501+AzureLandin@users.noreply.github.com> --- tests/ui/agent-panel.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ui/agent-panel.test.tsx b/tests/ui/agent-panel.test.tsx index 3a6fc76..2e5cca4 100644 --- a/tests/ui/agent-panel.test.tsx +++ b/tests/ui/agent-panel.test.tsx @@ -18,9 +18,9 @@ function renderPanel( sessionId?: string | null connected?: boolean configured?: boolean - onHide?: ReturnType + onHide?: () => void } = {} -): { fake: FakeApi; onOpenSettings: ReturnType; onHide?: ReturnType } { +): { fake: FakeApi; onOpenSettings: ReturnType; onHide?: () => void } { const fake = installFakeApi() if (overrides.configured === false) { fake.mocks.agent.status.mockResolvedValue({