umpirix/package.json
caelum0x e2b0c6a8de feat(console): finish Umpirix rebrand, truthful keyless quickstart, shareable decision links + OG cards
- Rebrand every visitor-visible "OpenJev" string in src/routes, src/components,
  src/lib/content (+ model chip labels in src/lib/jev/models.ts and the served
  SKILL.md); env-var aliases (OPENJEV_*) and wire aliases untouched.
- Quickstart is now true for the product that ships: homepage, docs hub,
  pricing, API reference and self-hosting show `npm run dev` on DEV_SITE_URL
  (localhost:8080) with no Bearer header; the ots_live_ key step and header
  only render when VITE_AUTH_ENABLED=true. Docker/serve keep :3000, labelled.
- Shareable playground: request JSON travels as base64url in the URL
  (`/playground?r=…` server-visible, `/playground#r=…` client-only), loads on
  mount, runs itself once, and a "Copy link" button sits next to Run.
- New GET /api/v1/og/decision?r=… renders a 1200x630 PNG of the top answers
  and probabilities (hand-laid SVG + @resvg/resvg-wasm + embedded IBM Plex
  Mono, OFL); shared links emit og:image/twitter:image pointing at it.
- Embedding engine re-probes a missing model dir on the next request, so
  `npm run embed-download` after boot takes effect without a restart; README
  says so.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-12 03:47:13 +03:00

119 lines
5.0 KiB
JSON

{
"name": "umpirix",
"version": "0.1.0",
"description": "Umpirix — an open-source project by Scribase (scribase.com). Typed decisions instead of prompt-and-parse: a self-hostable service that turns text plus typed questions into calibrated choice/score/noul answers.",
"private": true,
"sideEffects": false,
"type": "module",
"license": "Apache-2.0",
"bin": {
"umpirix": "./scripts/cli.mjs",
"openjev": "./scripts/cli.mjs",
"opentypesafe": "./scripts/cli.mjs"
},
"overrides": {
"nf3": "0.3.17"
},
"scripts": {
"dev": "vite dev --host 0.0.0.0 --port 8080",
"build": "vite build && npm run db:migrate",
"build:node": "NITRO_PRESET=node-server npm run build",
"serve": "node scripts/cli.mjs serve",
"laya-download": "node scripts/cli.mjs laya-download",
"laya-sidecar": "bash scripts/laya-sidecar-start.sh",
"db:migrate": "node scripts/migrate.mjs",
"build:dev": "vite build --mode development",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"test": "node --experimental-strip-types --test src/lib/jev/engine.test.ts src/lib/jev/cookbooks/smarthome.test.ts src/lib/auth/sign-in-gate.test.ts src/lib/api-alias.test.ts src/lib/jev/scope.test.ts src/lib/jev/calibration.test.ts src/lib/jev/calibration-fit.test.ts src/lib/jev/cascade.test.ts src/lib/jev/plans.test.ts src/lib/jev/label-import.test.ts src/lib/jev/drift.test.ts src/lib/jev/eval-import.test.ts src/lib/jev/creem.test.ts src/lib/jev/audit-report.test.ts src/lib/jev/public-datasets.test.ts src/lib/jev/embed/wordpiece.test.ts src/lib/jev/embed/engine.test.ts src/lib/jev/public-limit.test.ts src/lib/jev/benchmark-scoring.test.ts src/lib/jev/outbound-guard.server.test.ts",
"gold": "node --experimental-strip-types -e \"import('./src/lib/jev/gold.ts').then(m=>{const r=m.evalGold('system-one');console.log('gold: '+r.passed+' passed, '+r.failed+' failed');process.exit(r.failed?1:0)})\"",
"lint": "eslint .",
"format": "prettier --write .",
"leaderboard": "node scripts/leaderboard.mjs",
"bench:reproduce": "node scripts/reproduce-leaderboard.mjs",
"bench:latency": "node scripts/bench-latency.mjs",
"embed-download": "bash scripts/embed-download.sh",
"embed-fit": "node --experimental-strip-types scripts/embed-fit.ts",
"cookbook-thresholds": "node --experimental-strip-types scripts/cookbook-thresholds.ts",
"classify-eval": "node --experimental-strip-types scripts/classify-eval.mjs"
},
"dependencies": {
"@electric-sql/pglite": "^0.5.4",
"@hookform/resolvers": "^5.7.0",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-dropdown-menu": "^2.1.16",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-progress": "^1.1.8",
"@radix-ui/react-radio-group": "^1.3.8",
"@radix-ui/react-scroll-area": "^1.2.10",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slider": "^1.3.6",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"@radix-ui/react-toggle": "^1.1.10",
"@radix-ui/react-toggle-group": "^1.1.11",
"@radix-ui/react-tooltip": "^1.2.8",
"@resvg/resvg-wasm": "^2.6.2",
"@tailwindcss/vite": "^4.3.0",
"@tanstack/react-query": "^5.101.0",
"@tanstack/react-router": "^1.170.0",
"@tanstack/react-start": "^1.168.0",
"@tanstack/react-table": "^8.21.0",
"@tanstack/router-plugin": "^1.168.0",
"better-auth": "~1.6.30",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.0.0",
"jose": "6.2.9",
"kysely": "^0.28.5",
"lucide-react": "^0.510.0",
"pg": "^8.16.3",
"react": "^19.2.0",
"react-day-picker": "^9.14.0",
"react-dom": "^19.2.0",
"react-hook-form": "^7.54.0",
"react-resizable-panels": "^4.6.5",
"recharts": "^2.13.0",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.3.0",
"tw-animate-css": "^1.3.4",
"vaul": "^1.1.2",
"zod": "^4.4.0",
"zustand": "^5.0.0"
},
"devDependencies": {
"@eslint/js": "^9.20.0",
"@types/node": "^22.16.5",
"@types/pg": "^8.11.10",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^5.2.0",
"eslint": "^9.20.0",
"eslint-config-prettier": "^10.1.1",
"eslint-plugin-prettier": "^5.2.6",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^15.15.0",
"jiti": "^2.7.0",
"lightningcss": "^1.28.0",
"nitro": "3.0.260610-beta",
"prettier": "^3.4.0",
"typescript": "^5.7.0",
"typescript-eslint": "^8.56.1",
"vite": "^8.2.0"
},
"optionalDependencies": {
"onnxruntime-node": "^1.30.0"
}
}