This is a React application built with Vite and Supabase to manage simulation steps and prompts.
- Node.js (v16+)
- Supabase account (optional for local testing, required for persistence)
-
Install dependencies:
npm install
-
Configure Supabase: Create a
.envfile in the root directory (copy from.env.exampleif available, otherwise create new):VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
If you don't have Supabase credentials yet, the app will use local storage.
-
Run the development server:
npm run dev
If using Supabase, create a table named steps with the following columns:
id(uuid, primary key)title(text)execution_prompt(text)execution_inject_user(boolean)validation_prompt(text)validation_inject_user(boolean)success_prompt(text)success_inject_user(boolean)order_index(integer)created_at(timestamptz, default: now())
- List steps in order.
- Edit Execution, Validation, and Success Condition prompts.
- Toggle "Inject User Message" for each prompt.
- Save/Load configuration (Local Storage + Supabase).