mirror of
https://github.com/run-llama/auto_rfp.git
synced 2026-07-01 21:54:05 -04:00
1151372e5c
* Add agentic mode support for LlamaParse and fix eligibility extraction
- Add agenticMode option to ParseOptions interface and Zod schema
- Enable agentic parsing by default for better multi-sheet Excel support
- Fix eligibility extraction to gracefully handle documents without
eligibility criteria by returning empty array instead of throwing error
* Refactor project index selection to single-select with auto-save
- Change ProjectIndexSelector from multi-select checkboxes to single-select
clickable rows with radio-style indicators
- Implement debounced auto-save (800ms) when selection changes
- Remove Edit/Save/Cancel buttons in favor of automatic persistence
- Add refreshKey prop to ProjectDocuments for efficient refetch on changes
- Update DocumentsSection to wire components with onSaveSuccess callback
- Simplify Questions page index selector to show index name with Active badge
* Fix ESLint configuration and resolve all lint errors
- Add eslint and eslint-config-next as dev dependencies
- Create .eslintrc.json with next/core-web-vitals preset
- Fix 43 unescaped entity errors by replacing quotes and apostrophes
with HTML entities across 14 component files
- Fix 9 react-hooks/exhaustive-deps warnings by wrapping fetch
functions in useCallback with proper dependency arrays
* Add Vitest testing infrastructure with 173 unit tests
- Configure Vitest with coverage reporting and path aliases
- Add test scripts (test, test:run, test:coverage) to package.json
- Install vitest, @vitest/coverage-v8, vite-tsconfig-paths, vitest-mock-extended
Test coverage includes:
- validators: extract-questions, generate-response, llamaparse, multi-step-response
- errors: all API error classes with type guard
- services: FileValidator (file type/size validation), DefaultResponseService
- middleware: apiHandler and withApiHandler request validation
Add mock infrastructure for Prisma, OpenAI, and test fixtures
* Fix missing agenticMode in LlamaParse processing service
Add agentic_mode field to request schema and form data parser to ensure
the agenticMode option is properly passed through the parsing pipeline.
This resolves TypeScript compilation error where agenticMode was required
in LlamaParseOptions but not provided by the processing service.
* Fix Add Manually button routing and improve Vercel preview URL handling
- Fix 404 error when clicking Add Manually button by using correct route path
/projects/{projectId}/questions/create instead of /questions/create?projectId=
- Update magic link auth to use VERCEL_URL for preview deployments
* Simplify IndexSelector to display-only mode
Remove index configuration UI since only single file selection is now supported:
- Remove Configure/Hide toggle button and collapsible panel
- Remove Select All/Deselect All functionality
- Remove checkbox selection grid for indexes
- Clean up handleIndexToggle and handleSelectAllIndexes from provider
- Keep project card display showing active index name and status
104 lines
3.5 KiB
JSON
104 lines
3.5 KiB
JSON
{
|
|
"name": "auto_rfp",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "next build",
|
|
"dev": "next dev --turbopack",
|
|
"docker-build": "docker build --tag auto-rfp .",
|
|
"docker-log": "docker logs --follow auto-rfp",
|
|
"docker-run": "docker run --rm --detach -p 3000:3000 --env-file .env --name auto-rfp auto-rfp",
|
|
"docker-stop": "docker stop auto-rfp",
|
|
"health-check": "curl http://localhost:3000/api/health",
|
|
"lint": "next lint",
|
|
"postinstall": "prisma generate",
|
|
"start": "next start",
|
|
"test": "vitest",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^1.3.22",
|
|
"@hookform/resolvers": "^5.0.1",
|
|
"@prisma/client": "^6.7.0",
|
|
"@radix-ui/react-accordion": "^1.2.8",
|
|
"@radix-ui/react-alert-dialog": "^1.1.11",
|
|
"@radix-ui/react-aspect-ratio": "^1.1.4",
|
|
"@radix-ui/react-avatar": "^1.1.7",
|
|
"@radix-ui/react-checkbox": "^1.2.3",
|
|
"@radix-ui/react-collapsible": "^1.1.8",
|
|
"@radix-ui/react-context-menu": "^2.2.12",
|
|
"@radix-ui/react-dialog": "^1.1.11",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.12",
|
|
"@radix-ui/react-hover-card": "^1.1.11",
|
|
"@radix-ui/react-label": "^2.1.4",
|
|
"@radix-ui/react-menubar": "^1.1.12",
|
|
"@radix-ui/react-navigation-menu": "^1.2.10",
|
|
"@radix-ui/react-popover": "^1.1.11",
|
|
"@radix-ui/react-progress": "^1.1.4",
|
|
"@radix-ui/react-radio-group": "^1.3.4",
|
|
"@radix-ui/react-scroll-area": "^1.2.6",
|
|
"@radix-ui/react-select": "^2.2.2",
|
|
"@radix-ui/react-separator": "^1.1.4",
|
|
"@radix-ui/react-slider": "^1.3.2",
|
|
"@radix-ui/react-slot": "^1.2.0",
|
|
"@radix-ui/react-switch": "^1.2.2",
|
|
"@radix-ui/react-tabs": "^1.1.9",
|
|
"@radix-ui/react-toast": "^1.2.11",
|
|
"@radix-ui/react-toggle": "^1.1.6",
|
|
"@radix-ui/react-toggle-group": "^1.1.7",
|
|
"@radix-ui/react-tooltip": "^1.2.4",
|
|
"@supabase/ssr": "^0.6.1",
|
|
"@supabase/supabase-js": "^2.49.4",
|
|
"@tabler/icons-react": "^3.34.0",
|
|
"ai": "^4.3.16",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.1.1",
|
|
"date-fns": "^4.1.0",
|
|
"dotenv": "^16.5.0",
|
|
"embla-carousel-react": "^8.6.0",
|
|
"framer-motion": "^12.15.0",
|
|
"input-otp": "^1.4.2",
|
|
"llamaindex": "^0.10.3",
|
|
"lucide-react": "^0.507.0",
|
|
"next": "15.3.8",
|
|
"next-themes": "^0.4.6",
|
|
"openai": "^4.97.0",
|
|
"prisma": "^6.7.0",
|
|
"react": "^19.0.0",
|
|
"react-day-picker": "8.10.1",
|
|
"react-dom": "^19.0.0",
|
|
"react-hook-form": "^7.56.1",
|
|
"react-markdown": "^10.1.0",
|
|
"react-resizable-panels": "^3.0.0",
|
|
"recharts": "^2.15.3",
|
|
"sonner": "^2.0.3",
|
|
"swr": "^2.3.3",
|
|
"tailwind-merge": "^3.2.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"uuid": "^11.1.0",
|
|
"vaul": "^1.1.2",
|
|
"zod": "^3.24.3"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@tailwindcss/typography": "^0.5.16",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"@vitest/coverage-v8": "^4.0.16",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-next": "^15.5.9",
|
|
"tailwindcss": "^4",
|
|
"tw-animate-css": "^1.2.9",
|
|
"typescript": "^5",
|
|
"vite-tsconfig-paths": "^6.0.3",
|
|
"vitest": "^4.0.16",
|
|
"vitest-mock-extended": "^3.1.0"
|
|
},
|
|
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39"
|
|
}
|