Complete production implementation with shell+adapter architecture, 13 MCP tools, SQLite FTS5 search, and multi-source ingestion pipeline. Ingestion fetches from UCI mirror, UNODC SHERLOC PDFs, and Knesset mobile PDFs (135 provisions, 33 definitions). 3 acts with full text, 7 acts metadata-only due to gov.il/nevo.co.il access restrictions. Knesset OData API used for metadata enrichment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
685 B
JSON
21 lines
685 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"crons": [
|
|
{ "path": "/health", "schedule": "*/5 * * * *" }
|
|
],
|
|
"buildCommand": "npm run build",
|
|
"outputDirectory": ".",
|
|
"functions": {
|
|
"api/mcp.ts": {
|
|
"maxDuration": 30,
|
|
"memory": 1024,
|
|
"includeFiles": "{data/database.db,node_modules/node-sqlite3-wasm/dist/node-sqlite3-wasm.wasm,node_modules/.pnpm/node-sqlite3-wasm*/node_modules/node-sqlite3-wasm/dist/node-sqlite3-wasm.wasm}"
|
|
}
|
|
},
|
|
"rewrites": [
|
|
{ "source": "/mcp", "destination": "/api/mcp" },
|
|
{ "source": "/health", "destination": "/api/health" },
|
|
{ "source": "/version", "destination": "/api/health?version=1" }
|
|
]
|
|
}
|