All files / src constants.js

100% Statements 11/11
100% Branches 0/0
100% Functions 0/0
100% Lines 11/11

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57    11x 11x 11x 11x   11x                                   11x           11x                   11x   11x           11x           11x  
import { Zap, Brain, Sparkles } from 'lucide-react';
 
export const DEFAULT_API_BASE = 'http://localhost:5555';
export const MAX_LOOP_CYCLES = 10;
export const DEFAULT_MODEL_ID = 'gemini-3.1-pro-preview';
export const DEFAULT_PROVIDER = 'gemini';
 
export const MSG_TYPES = {
  NARRATE: 'NARRATE',
  TELEMETRY: 'TELEMETRY',
  ARTIFACT_ERROR: 'ARTIFACT_ERROR',
  PARAMS_REGISTER: 'PARAMS_REGISTER',
  DATA_EXPORT: 'DATA_EXPORT',
  STATE_SNAPSHOT: 'STATE_SNAPSHOT',
  SIMULATION_READY: 'SIMULATION_READY',
  PARAM_UPDATE: 'PARAM_UPDATE',
  DEBUG_PAUSE: 'DEBUG_PAUSE',
  DEBUG_RESUME: 'DEBUG_RESUME',
  DEBUG_STEP: 'DEBUG_STEP',
  DEBUG_INSPECT: 'DEBUG_INSPECT',
  DEBUG_STATE: 'DEBUG_STATE',
  DEBUG_EVAL: 'DEBUG_EVAL',
  DEBUG_EVAL_RESULT: 'DEBUG_EVAL_RESULT',
};
 
export const MODES = {
  CREATE: 'CREATE',
  ENHANCE: 'ENHANCE',
  FIX: 'FIX',
};
 
export const STATUS = {
  PENDING: 'pending',
  ACTIVE: 'active',
  COMPLETE: 'complete',
  RUNNING: 'running',
  COMPLETED: 'completed',
  FAILED: 'failed',
  IN_PROGRESS: 'in_progress',
};
 
export const PROVIDER_LABELS = { gemini: 'Google', anthropic: 'Anthropic', openai: 'OpenAI' };
 
export const PROVIDER_COLORS = {
  gemini: { border: 'border-lab-accent/40', text: 'text-lab-accent' },
  anthropic: { border: 'border-amber-500/40', text: 'text-lab-warning' },
  openai: { border: 'border-sky-500/40', text: 'text-sky-500' },
};
 
export const PROVIDER_MODEL_STYLES = {
  gemini:    { dot: 'bg-lab-accent', active: 'bg-lab-accent/15 text-lab-accent' },
  anthropic: { dot: 'bg-amber-400',   active: 'bg-lab-warning/15 text-amber-300' },
  openai:    { dot: 'bg-sky-400',     active: 'bg-sky-500/15 text-sky-300' },
};
 
export const PROVIDER_ICONS = { gemini: Zap, anthropic: Sparkles, openai: Brain };