From 3e56f867b17935f4422d69ff0d262a3e8e1f5360 Mon Sep 17 00:00:00 2001 From: Dominik Oswald <6849456+d-oit@users.noreply.github.com> Date: Sat, 26 Apr 2025 09:01:43 +0000 Subject: [PATCH 1/3] Fix: update parameter names in new task description for consistency --- src/core/prompts/tools/new-task.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/prompts/tools/new-task.ts b/src/core/prompts/tools/new-task.ts index 3de2e6a537..ef30ae365d 100644 --- a/src/core/prompts/tools/new-task.ts +++ b/src/core/prompts/tools/new-task.ts @@ -5,18 +5,18 @@ export function getNewTaskDescription(args: ToolArgs): string { Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. ` From a314051e4674021a4e3c4bfbe11b66443bb12668 Mon Sep 17 00:00:00 2001 From: Dominik Oswald <6849456+d-oit@users.noreply.github.com> Date: Sat, 26 Apr 2025 20:09:29 +0000 Subject: [PATCH 2/3] Fix: update parameter name from 'mode' to 'mode_slug' for consistency in new task usage --- .../prompts/__tests__/__snapshots__/system.test.ts.snap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap index ade0bd1f85..fa4204437d 100644 --- a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap +++ b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap @@ -338,18 +338,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. From bc33ccfb0b9c66e0cd609e5b254ec6af219e56ad Mon Sep 17 00:00:00 2001 From: Dominik Oswald <6849456+d-oit@users.noreply.github.com> Date: Sat, 26 Apr 2025 20:17:24 +0000 Subject: [PATCH 3/3] Fix: update parameter name from 'mode' to 'mode_slug' for consistency in task creation --- .../__snapshots__/system.test.ts.snap | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap index fa4204437d..1b904e8764 100644 --- a/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap +++ b/src/core/prompts/__tests__/__snapshots__/system.test.ts.snap @@ -805,18 +805,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -1272,18 +1272,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -1792,18 +1792,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -2311,18 +2311,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -2850,18 +2850,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -3410,18 +3410,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -3877,18 +3877,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -4435,18 +4435,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -4908,18 +4908,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -5263,18 +5263,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application. @@ -5812,18 +5812,18 @@ Example: Requesting to switch to code mode Description: Create a new task with a specified starting mode and initial message. This tool instructs the system to create a new Cline instance in the given mode with the provided message. Parameters: -- mode: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). +- mode_slug: (required) The slug of the mode to start the new task in (e.g., "code", "ask", "architect"). - message: (required) The initial user message or instructions for this new task. Usage: -your-mode-slug-here +your-mode-slug-here Your initial instructions here Example: -code +code Implement a new feature for the application.