import { IsArray, IsNotEmpty, IsOptional, IsString, MinLength } from 'class-validator';

export class AgentRunDto {
  @IsString()
  @MinLength(4)
  runId!: string;

  @IsString()
  @IsNotEmpty()
  instruction!: string;

  @IsString()
  @IsOptional()
  siteUrl?: string;

  @IsArray()
  @IsOptional()
  checkpoints?: string[];
}
