124 Commits

Author SHA1 Message Date
blank-black eaf89490b4 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
2025-12-26 15:51:05 -06:00
blank-black 78b7400e42 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
2025-12-26 15:37:19 -06:00
blank-black a5171a2395 Merge bug-fix into dev
Resolve conflicts in ProjectDocuments and ProjectIndexSelector components:
- Use explicit dependencies [projectId, refreshKey] in ProjectDocuments useEffect
- Add setIsInitialized for auto-save functionality in ProjectIndexSelector
- Update to single-select index pattern in ProjectIndexSelector description

Includes bug-fix branch changes:
- Add agenticMode support for LlamaParse
- Fix eligibility extraction error handling
- Refactor project index selection to single-select with auto-save
2025-12-26 15:23:06 -06:00
blank-black 5f86665c9b Merge branch 'main' into bug-fix 2025-12-26 14:47:55 -06:00
blank-black f3d62e5233 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.
2025-12-26 14:47:28 -06:00
blank-black f912ce15de 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
2025-12-26 11:41:08 -06:00
blank-black 17b37fe5c7 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
2025-12-26 11:17:20 -06:00
blank-black 0ee5e09e5c Fix docker-run script: add missing port mapping -p 3000:3000 2025-12-26 10:53:36 -06:00
Roland Tritsch 7f93393f10 Adding support to build and run auto_rfp in a docker container (#38)
* consolidate duplicate Next.js config files into TypeScript version

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add Dockerfile

* Add the docker scripts to package.json

* Add docker doc to the README

* Update the README with the env file changes/requirements

* Update README with build- vs. run-time configuration requirements

* Ignore a/the .devcontainer (if there is one)

* Adding more docker scripts

* Adding a health endpoint to check the health of the container

* Make sure we can hit the health endpoint without authentication

* Make docker-build work

* Add more health-check script

* Moving docker config to next.config.ts

* Fix docker-run script. Remove network host access.

---------

Co-authored-by: Roland Tritsch <roland@tritsch.email>
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-26 10:51:58 -06:00
Roland Tritsch ba8cd12233 Add LICENSE file
Co-authored-by: Roland Tritsch <roland@tritsch.email>
2025-12-19 11:54:18 -06:00
Roland Tritsch c743c5eaa4 Update README to use .env instead of .env.local
* Update README to use .env instead of .env.local

* Replace all other refernces to .env.local

---------

Co-authored-by: Roland Tritsch <roland@tritsch.email>
2025-12-19 11:54:13 -06:00
Roland Tritsch 6eeba518be Ignore CLAUDE.md file
Co-authored-by: Roland Tritsch <roland@tritsch.email>
2025-12-19 11:54:11 -06:00
blank-black 03d28d2882 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
2025-12-19 11:09:58 -06:00
blank-black c238202590 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
2025-12-18 18:42:44 -06:00
Logan 57ea85b781 Merge pull request #41 from run-llama/vercel/react-server-components-cve-vu-2qzmxv 2025-12-16 16:42:13 -06:00
Vercel 9b78df8aa9 Fix React Server Components CVE vulnerabilities
Updated dependencies to fix Next.js and React CVE vulnerabilities.

The fix-react2shell-next tool automatically updated the following packages to their secure versions:
- next
- react-server-dom-webpack
- react-server-dom-parcel  
- react-server-dom-turbopack

All package.json files have been scanned and vulnerable versions have been patched to the correct fixed versions based on the official React advisory.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
2025-12-16 22:37:53 +00:00
zli484 5fbd4f1c61 Merge pull request #30 from run-llama/setup_internal
allow setting up an internal organization which accesses a separate l…
2025-08-28 16:13:27 -07:00
Zhaoqi Li 5823daf249 allow setting up an internal organization which accesses a separate llamacloud project 2025-08-28 16:07:54 -07:00
zli484 5cdc7f6933 Merge pull request #29 from run-llama/knowledge_base_feature
Knowledge base feature - initial features
2025-08-15 14:08:38 -07:00
Zhaoqi Li 6dc85cd870 initial implementation of knowledgebase questions and answers 2025-08-15 13:59:17 -07:00
Zhaoqi Li 3e311cfa02 update schema for creating org-level knowledgebase 2025-08-15 12:36:12 -07:00
zli484 8511d72fbd Merge pull request #28 from run-llama/generate_RFP_summary
Generate rfp summary
2025-08-13 11:57:36 -07:00
Zhaoqi Li d76058e7b3 now we alos extract key eligibility required for the vendor 2025-08-13 11:55:26 -07:00
Zhaoqi Li 91df641eee correctly generates RFP summary now and tracked at project 2025-08-13 11:44:04 -07:00
zli484 d11c16e148 Merge pull request #27 from run-llama/feature_improvements_20250813
allow user to easily delete a project from the organization page or f…
2025-08-13 10:51:44 -07:00
Zhaoqi Li 515319a6e7 allow user to easily delete a project from the organization page or from the project overview page 2025-08-13 10:47:13 -07:00
zli484 336fc14c7d Merge pull request #26 from run-llama/ui_improvement
UI improvement
2025-08-12 13:36:09 -07:00
Zhaoqi Li af574f10ee formatting improvement 2025-08-12 13:33:47 -07:00
Zhaoqi Li a20f739ba2 improvement in redirecting when creating new project 2025-08-12 13:21:13 -07:00
Zhaoqi Li c37e3fc7ba card width fix 2025-08-12 13:00:59 -07:00
zli484 b2ac5547c0 Merge pull request #25 from run-llama/improve_questions_ingestion
fix an integration issue with LlamaParse service
2025-08-12 12:52:36 -07:00
Zhaoqi Li bff7a114b7 fix an integration issue with LlamaParse service 2025-08-12 12:48:55 -07:00
zli484 7f5f88402f Merge pull request #24 from run-llama/guided_onboarding
Frontend cleanup
2025-07-18 09:49:55 -07:00
Zhaoqi Li c38bed9cc4 more clean-up 2025-07-18 09:47:06 -07:00
Zhaoqi Li 418f866017 remove console log 2025-07-18 09:38:45 -07:00
Zhaoqi Li 29d83feb6e added a help page 2025-07-18 09:07:08 -07:00
zli484 098146279d Merge pull request #23 from run-llama/prepare_for_opensource
Prepare for opensource
2025-07-17 23:36:03 -07:00
Zhaoqi Li 5e84e455c0 refactor certain files and improve read me 2025-07-17 23:33:26 -07:00
Zhaoqi Li 41da7e7033 formatting improvement 2025-07-17 22:22:51 -07:00
zli484 74f017f498 Merge pull request #22 from run-llama/end_to_end_test
ui clean up
2025-07-17 15:54:51 -07:00
Zhaoqi Li ba80e9a013 ui clean up 2025-07-17 15:52:33 -07:00
zli484 1f1b365836 Merge pull request #21 from run-llama/new_llamaindex_integration
New llamaindex integration
2025-07-17 13:29:02 -07:00
Zhaoqi Li d10f6b7b88 bug fixes and more mature integration 2025-07-17 13:25:07 -07:00
Zhaoqi Li 3f5db1b13a fix llamacloud integration issue in the multi-step reasoning mode 2025-07-17 12:56:28 -07:00
Zhaoqi Li 7ffaa1f175 reconfigure llamaindex integration to make sure the questions answering work 2025-07-17 12:43:48 -07:00
Zhaoqi Li aea36e5732 refactoring of llamacloud integration steps 2025-07-17 11:00:23 -07:00
zli484 befd17d52e Merge pull request #20 from run-llama/frontend_improvement_continued
Frontend improvement continued
2025-07-16 23:03:39 -07:00
Zhaoqi Li a917f803d6 refactoring the upload questions page 2025-07-16 22:58:21 -07:00
Zhaoqi Li 05ade3ae02 refactoring for upload questions 2025-07-16 22:27:35 -07:00
Zhaoqi Li 4619d91978 saving 2025-07-16 15:34:21 -07:00