refactor(coding-agent): renamed todo_write tool to todo

- Renamed `TodoWriteTool` to `TodoTool` and its source/prompt files.
- Updated tool registration, schema, renderers, and gating to `todo`.
- Adjusted cursor provider native tool names and tests to match.
- Renamed strike-animation constants and `todo-error-reminder` type.
This commit is contained in:
can1357
2026-06-04 02:45:30 +02:00
parent 67ed82f024
commit dc4aeb7b88
51 changed files with 227 additions and 225 deletions
+1 -1
View File
@@ -1276,7 +1276,7 @@ export async function runSubprocess(options: ExecutorOptions): Promise<SingleRes
}
const subagentToolNames = session.getActiveToolNames();
const parentOwnedToolNames = new Set(["todo_write"]);
const parentOwnedToolNames = new Set(["todo"]);
const filteredSubagentTools = subagentToolNames.filter(name => !parentOwnedToolNames.has(name));
if (filteredSubagentTools.length !== subagentToolNames.length) {
await awaitAbortable(session.setActiveToolsByName(filteredSubagentTools));