Spaces:
Running
Running
Commit History
-
You are an expert front-end architect and product designer.
Verified signatureBuild a single-page web application called “TaskPilot” – a personal AI task agent UI. It should conceptually fuse two archetypes: – MetaEvolver – adapts strategies and templates over time based on outcomes and feedback. – AutoLoop – runs step-by-step workflows with progress tracking and loops until completion. Tech stack Use React + TypeScript + Vite + Tailwind CSS. Everything runs client-side with mocked “AI” logic (no real backend calls required). Core agent logic Implement a TypeScript class TaskPilotAgent that represents the fusion of MetaEvolver + AutoLoop: Public methods: handleUserMessage(message: string, files: UploadedFile[]): Promise<AgentTurn> startWorkflow(templateId: string, userInputs: Record<string,string>): AgentWorkflow updateStepStatus(stepId: string, status: "pending" | "in_progress" | "done" | "skipped") Internals: Maintain workflows as arrays of WorkflowStep with titles, descriptions, status, and optional related files. Maintain a policyState object with…b99833e -
initial commit
Verified signature8243f27