Phase 2 and 3 of the platform rework. - Neutral request/response contract: external_id, metadata, X-AI-Key, run_id in the response; client-specific fields removed. - AI profile is a revision table: saving creates an inactive revision, activation is separate, try-run does not store a run. One chat-completions gateway serves AIHub and OpenAI-compatible profiles. - Add between and in rule operators. - Contracts moved to contracts/lead-scoring/ with a score-response fixture. - Admin Web updated for revisions, runs and the neutral fixture. - Consolidate tests; remove rewrite_architect.md and the stale handoff doc; rewrite spec, CONTEXT and ARCHITECTURE for the current design. Not verified: live AIHub/OpenAI behavior, Omni/EMS integration.
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "ai-platform-admin",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"generate-api": "openapi-typescript ../../contracts/lead-scoring/openapi.json -o src/lib/generated/api.d.ts",
|
|
"check": "bun run generate-api && svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"test": "vitest run",
|
|
"format:check": "prettier --check 'src/**/*.{ts,svelte,css}' '!src/lib/components/ui/**' '!src/lib/generated/**'",
|
|
"build": "bun run generate-api && vite build",
|
|
"preview": "vite preview",
|
|
"start": "bun build/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource-variable/inter": "^5.3.0",
|
|
"@sveltejs/kit": "2.70.3",
|
|
"cn": "^0.4.0",
|
|
"openapi-fetch": "0.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"@internationalized/date": "^3.12.0",
|
|
"@lucide/svelte": "^1.48.0",
|
|
"@sveltejs/adapter-node": "5.5.7",
|
|
"@sveltejs/vite-plugin-svelte": "7.3.1",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"@types/node": "24.6.1",
|
|
"bits-ui": "^2.18.0",
|
|
"openapi-typescript": "7.13.0",
|
|
"paneforge": "^1.0.2",
|
|
"prettier": "3.9.9",
|
|
"prettier-plugin-svelte": "4.1.1",
|
|
"svelte": "5.57.1",
|
|
"svelte-check": "4.7.6",
|
|
"tailwind-variants": "^3.3.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"typescript": "5.9.3",
|
|
"vite": "8.3.1",
|
|
"vitest": "5.0.1"
|
|
}
|
|
}
|