Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

germankuber/StepPrompt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

39 Commits

Repository files navigation

Simulation Model Test Environment

This is a React application built with Vite and Supabase to manage simulation steps and prompts.

Prerequisites

  • Node.js (v16+)
  • Supabase account (optional for local testing, required for persistence)

Setup

  1. Install dependencies:

    npm install
  2. Configure Supabase: Create a .env file in the root directory (copy from .env.example if 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.

  3. Run the development server:

    npm run dev

Database Schema (Supabase)

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())

Features

  • List steps in order.
  • Edit Execution, Validation, and Success Condition prompts.
  • Toggle "Inject User Message" for each prompt.
  • Save/Load configuration (Local Storage + Supabase).

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /