You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Optional ripgrep flags to customize the search (e.g., "-i" for case-insensitive, "-t ts -t js" for TypeScript and JavaScript files only, "-A 3" for 3 lines after match, "-B 2" for 2 lines before match, "--type-not py" to exclude Python files). */
64
+
/** Optional ripgrep flags to customize the search (e.g., "-i" for case-insensitive, "-g *.ts -g *.js" for TypeScript and JavaScript files only, "-g !*.test.ts" to exclude Typescript test files, "-A 3" for 3 lines after match, "-B 2" for 2 lines before match, --no-ignore to include files in ignored by .gitignore). */
63
65
flags?: string
64
66
/** Optional working directory to search within, relative to the project root. Defaults to searching the entire project. */
/** Optional ripgrep flags to customize the search (e.g., "-i" for case-insensitive, "-t ts -t js" for TypeScript and JavaScript files only, "-A 3" for 3 lines after match, "-B 2" for 2 lines before match, "--type-not py" to exclude Python files). */
64
+
/** Optional ripgrep flags to customize the search (e.g., "-i" for case-insensitive, "-g *.ts -g *.js" for TypeScript and JavaScript files only, "-g !*.test.ts" to exclude Typescript test files, "-A 3" for 3 lines after match, "-B 2" for 2 lines before match, --no-ignore to include files in ignored by .gitignore). */
63
65
flags?: string
64
66
/** Optional working directory to search within, relative to the project root. Defaults to searching the entire project. */
task: z.string().describe('Description of the task'),
16
+
completed: z.boolean().describe('Whether the task is completed'),
17
+
}),
18
+
)
19
+
.describe(
20
+
'List of todos with their completion status. Try to order the todos the same way you will complete them. Do not mark todos as completed if you have not completed them yet!',
21
+
),
22
+
})
23
+
.describe(
24
+
'Write a todo list to track tasks. Use this frequently to maintain a step-by-step plan.',
Use this tool to track your objectives through an ordered step-by-step plan. Call this tool after you have gathered context on the user's request to plan out the implementation steps for the user's request.
10
+
11
+
After completing each todo step, call this tool again to update the list and mark that task as completed. Note that each time you call this tool, rewrite ALL todos with their current status.
12
+
13
+
Use this tool frequently as you work through tasks to update the list of todos with their current status. Doing this is extremely useful because it helps you stay on track and complete all the requirements of the user's request. It also helps inform the user of your plans and the current progress, which they want to know at all times.
14
+
15
+
Example:
16
+
${getToolCallString(toolName,{
17
+
todos: [
18
+
{task: 'Create new implementation in foo.ts',completed: true},
19
+
{task: 'Update bar.ts to use the new implementation',completed: false},
20
+
{task: 'Write tests for the new implementation',completed: false},
21
+
{
22
+
task: 'Run the tests to verify the new implementation',
0 commit comments