"use client"; import { Input } from "@kandev/ui/input"; import { Label } from "@kandev/ui/label"; import { Textarea } from "@kandev/ui/textarea"; import { DEFAULT_ONBOARDING_TASK_DESCRIPTION, DEFAULT_ONBOARDING_TASK_TITLE, } from "./setup-task-defaults"; type StepTaskProps = { agentName: string; taskTitle: string; taskDescription: string; onChange: (patch: { taskTitle?: string; taskDescription?: string }) => void; }; export function StepTask({ agentName, taskTitle, taskDescription, onChange }: StepTaskProps) { // The coordinator step requires a non-empty agentName before advancing, // so by the time this step renders we always have a real value. const name = agentName.trim() || "coordinator"; return (
{name} will use this starter task to inspect the repos, set up the team, and propose the next work for approval.