Files
RAG/frontend/package.json
YoVinchen ecdb10c37a
Some checks failed
verify / verify (push) Has been cancelled
Make the governed RAG evidence path executable end to end
Separate local parsing from model indexing, bind review decisions to immutable manifests, persist vectors behind active profiles, and expose retrieval, chat, evaluation, and document workflows through the React workbench.

Constraint: Live Bailian authentication currently fails for all three configured capabilities

Rejected: Direct upload-to-embedding flow | bypasses local review and manifest binding

Confidence: high

Scope-risk: broad

Directive: Keep private-data deployment blocked until authentication, RBAC, and separate database roles land

Tested: make verify; fresh and replay Docker document smoke; worker recovery smoke; frozen synthetic evaluation; migration 0003-0004 roundtrip

Not-tested: Successful live Bailian calls, OCR, real multi-user authorization
2026-07-13 05:58:11 +08:00

54 lines
1.6 KiB
JSON

{
"name": "geological-rag-frontend",
"private": true,
"version": "0.1.0",
"type": "module",
"engines": {
"node": ">=22.12.0",
"npm": ">=10.9.0"
},
"scripts": {
"dev": "vite --host 127.0.0.1",
"build": "tsc -b && vite build",
"preview": "vite preview --host 127.0.0.1",
"generate:api": "node scripts/generate-openapi.mjs",
"check:api": "node scripts/check-openapi.mjs",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --max-warnings 0",
"typecheck": "tsc -b --pretty false",
"test": "vitest run",
"test:watch": "vitest",
"verify": "npm run format:check && npm run check:api && npm run lint && npm run typecheck && npm run test && npm run build"
},
"dependencies": {
"@tanstack/react-query": "5.101.2",
"react": "19.2.7",
"react-dom": "19.2.7",
"react-router-dom": "7.18.1"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"@types/node": "26.1.1",
"@types/react": "19.2.17",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "6.0.3",
"@vitest/coverage-v8": "4.1.10",
"eslint": "10.7.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-react-hooks": "7.1.1",
"eslint-plugin-react-refresh": "0.5.3",
"globals": "17.7.0",
"jsdom": "29.1.1",
"openapi-typescript": "7.13.0",
"prettier": "3.9.5",
"typescript": "5.9.3",
"typescript-eslint": "8.63.0",
"vite": "8.1.4",
"vitest": "4.1.10"
}
}