From 6381ecaa374ba2ef74e6c7bd60a585529abe9e33 Mon Sep 17 00:00:00 2001 From: Tobias Weber Date: Sun, 11 Jan 2026 18:33:11 +0100 Subject: [PATCH] fix: add TodoWrite to allowed tools in SDK presets The TodoWrite tool was missing from the fullAccess and chat tool presets, causing the Claude Agent SDK to crash with exit code 1 when the agent attempted to use it for task tracking. Co-Authored-By: Claude Opus 4.5 --- apps/server/src/lib/sdk-options.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/server/src/lib/sdk-options.ts b/apps/server/src/lib/sdk-options.ts index 4d3e670f..ff3d6067 100644 --- a/apps/server/src/lib/sdk-options.ts +++ b/apps/server/src/lib/sdk-options.ts @@ -129,10 +129,10 @@ export const TOOL_PRESETS = { specGeneration: ['Read', 'Glob', 'Grep'] as const, /** Full tool access for feature implementation */ - fullAccess: ['Read', 'Write', 'Edit', 'Glob', 'Grep', 'Bash', 'WebSearch', 'WebFetch'] as const, + fullAccess: ['Read', 'Write', 'Edit', 'Glob', 'Grep', 'Bash', 'WebSearch', 'WebFetch', 'TodoWrite'] as const, /** Tools for chat/interactive mode */ - chat: ['Read', 'Write', 'Edit', 'Glob', 'Grep', 'Bash', 'WebSearch', 'WebFetch'] as const, + chat: ['Read', 'Write', 'Edit', 'Glob', 'Grep', 'Bash', 'WebSearch', 'WebFetch', 'TodoWrite'] as const, } as const; /**