diff --git a/backend/src/services/repo.ts b/backend/src/services/repo.ts index 1ab6aa2d..b984dc3a 100644 --- a/backend/src/services/repo.ts +++ b/backend/src/services/repo.ts @@ -146,6 +146,8 @@ export async function initLocalRepo( await executeCommand(['git', 'init'], { cwd: fullPath }) + await executeCommand(['git', '-C', fullPath, 'commit', '--allow-empty', '-m', 'Initial commit']) + if (branch && branch !== 'main') { await executeCommand(['git', '-C', fullPath, 'checkout', '-b', branch]) } diff --git a/frontend/src/components/message/TodoItem.tsx b/frontend/src/components/message/TodoItem.tsx index 7a8c4592..6a1f157e 100644 --- a/frontend/src/components/message/TodoItem.tsx +++ b/frontend/src/components/message/TodoItem.tsx @@ -12,12 +12,6 @@ export function TodoItem({ todo, compact = false }: TodoItemProps) { const isCompleted = todo.status === 'completed' const isInProgress = todo.status === 'in_progress' - const priorityColor = todo.priority === 'high' - ? 'bg-red-500' - : todo.priority === 'medium' - ? 'bg-yellow-500' - : 'bg-blue-400' - return (