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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user