disclosure-bureau/web/package.json
Luiz Gustavo eaf282c535
Some checks failed
CI / Web — typecheck + lint + build (push) Failing after 40s
CI / Scripts — Python smoke (push) Failing after 3s
CI / Web — npm audit (push) Failing after 29s
CI / Retrieval — golden set (Recall@5 + MRR) (push) Failing after 3s
W2: rerank opt-in, analyze_image_region tool, RAG eval, graph cleanup, ADRs
- TD#8 hybrid.ts: rerank_strategy {always|when_top_k_gt|never} + threshold
  (default skips rerank for top_k ≤ 15; chat tool uses threshold 10)
- O11 vision.ts + tools.ts: analyze_image_region tool — sharp-crops the
  bbox, claude CLI reads the temp PNG via Read tool, Sonnet vision answers
- TD#12 /graph: SigmaGraph replaces ForceGraphCanvas; react-force-graph-2d
  uninstalled (-37 transitive deps); force-graph-canvas.tsx deleted
- TD#27 messages/route.ts gatherContext slice sizes via CTX_* env vars
- TD#22 tests/rag/: golden.yaml (15 queries) + run.py (Recall@k + MRR +
  negative-pass rate) + baseline.json + CI job in .forgejo/workflows/ci.yml
- docs/adrs/: ADR-001..005 published from systems-atelier deliverables

Verified live on disclosure.top: top_k=5 path skips rerank (6.7s embed-only,
was 12-15s with rerank); rerank=always still available on demand.
First RAG baseline: Recall@5 = 0.2083, MRR = 0.25, Negative pass = 1.0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 19:20:09 -03:00

49 lines
1.3 KiB
JSON

{
"name": "disclosure-bureau-web",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"preprocess": "tsx scripts/preprocess.ts"
},
"dependencies": {
"@assistant-ui/react": "^0.14.0",
"@radix-ui/react-dialog": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.0",
"@react-sigma/core": "^5.0.0",
"@react-sigma/layout-forceatlas2": "^5.0.0",
"@sentry/nextjs": "^10.53.1",
"@supabase/ssr": "^0.10.3",
"@supabase/supabase-js": "^2.105.4",
"framer-motion": "^11.11.0",
"graphology": "^0.25.4",
"graphology-layout-forceatlas2": "^0.10.1",
"gray-matter": "^4.0.3",
"lucide-react": "^0.460.0",
"next": "^15.1.0",
"pg": "^8.13.1",
"pino": "^10.3.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-markdown": "^9.0.0",
"remark-gfm": "^4.0.0",
"remark-wiki-link": "^2.0.1",
"sharp": "^0.33.5",
"sigma": "^3.0.0"
},
"devDependencies": {
"@types/node": "^22.7.0",
"@types/pg": "^8.11.10",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"autoprefixer": "^10.4.20",
"graphology-types": "^0.24.8",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.14",
"tsx": "^4.19.0",
"typescript": "^5.6.0"
}
}