From 7b197e85f00f088d87f940538688f50aeca58c37 Mon Sep 17 00:00:00 2001 From: "A.K.M. Adib" Date: Thu, 19 Mar 2026 11:15:55 -0400 Subject: [PATCH] fix build --- packages/core/src/tools/exit-plan-mode.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/tools/exit-plan-mode.test.ts b/packages/core/src/tools/exit-plan-mode.test.ts index 60ee361081..ad643c6cb2 100644 --- a/packages/core/src/tools/exit-plan-mode.test.ts +++ b/packages/core/src/tools/exit-plan-mode.test.ts @@ -364,7 +364,7 @@ Ask the user for specific feedback on how to improve the plan.`, it('should return YOLO when config.isInteractive() is false', async () => { mockConfig.isInteractive = vi.fn().mockReturnValue(false); const planRelativePath = createPlanFile('test.md', '# Content'); - const invocation = tool.build({ plan_path: planRelativePath }); + const invocation = tool.build({ plan_filename: planRelativePath }); // Directly call execute to trigger the internal getAllowApprovalMode const result = await invocation.execute(new AbortController().signal); @@ -378,7 +378,7 @@ Ask the user for specific feedback on how to improve the plan.`, it('should return DEFAULT when config.isInteractive() is true', async () => { mockConfig.isInteractive = vi.fn().mockReturnValue(true); const planRelativePath = createPlanFile('test.md', '# Content'); - const invocation = tool.build({ plan_path: planRelativePath }); + const invocation = tool.build({ plan_filename: planRelativePath }); // Directly call execute to trigger the internal getAllowApprovalMode const result = await invocation.execute(new AbortController().signal);