(feat): Add a ToDo tool to track ongoing task lists (#8761)

Co-authored-by: joshualitt <joshualitt@google.com>
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
Co-authored-by: Jacob MacDonald <jakemac@google.com>
Co-authored-by: Shreya Keshive <skeshive@gmail.com>
This commit is contained in:
anj-s
2025-09-20 06:01:02 -07:00
committed by GitHub
parent 22a560a990
commit 44691a4ce6
7 changed files with 341 additions and 0 deletions

View File

@@ -82,6 +82,7 @@ export interface CliArgs {
includeDirectories: string[] | undefined;
screenReader: boolean | undefined;
useSmartEdit: boolean | undefined;
useWriteTodos: boolean | undefined;
promptWords: string[] | undefined;
outputFormat: string | undefined;
}
@@ -647,6 +648,7 @@ export async function loadCliConfig(
enableToolOutputTruncation: settings.tools?.enableToolOutputTruncation,
eventEmitter: appEvents,
useSmartEdit: argv.useSmartEdit ?? settings.useSmartEdit,
useWriteTodos: argv.useWriteTodos ?? settings.useWriteTodos,
output: {
format: (argv.outputFormat ?? settings.output?.format) as OutputFormat,
},

View File

@@ -824,6 +824,15 @@ const SETTINGS_SCHEMA = {
description: 'Enable the smart-edit tool instead of the replace tool.',
showInDialog: false,
},
useWriteTodos: {
type: 'boolean',
label: 'Use Write Todos',
category: 'Advanced',
requiresRestart: false,
default: false,
description: 'Enable the write_todos_list tool.',
showInDialog: false,
},
security: {
type: 'object',
label: 'Security',

View File

@@ -257,6 +257,7 @@ describe('gemini.tsx main function kitty protocol', () => {
includeDirectories: undefined,
screenReader: undefined,
useSmartEdit: undefined,
useWriteTodos: undefined,
promptWords: undefined,
outputFormat: undefined,
});