Synced from private repo (feature/ai-sdk-6-upgrade): - Upgrade AI SDK 5 → 6 (packages + API changes) - Add sqliteQuery tool for flexible read-only queries - New WorkflowExecutor with workflow-specific tools - 83% token reduction for workflow execution - Remove mini-rah dead code (simplified architecture) - Add context management usage endpoint - Fix Connect workflow instructions - Clickable node references in workflow UI Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
73 lines
2.5 KiB
JSON
73 lines
2.5 KiB
JSON
{
|
||
"name": "ra-h-open-source",
|
||
"version": "0.1.0",
|
||
"private": false,
|
||
"description": "RA-H Open Source – local-first research workspace with BYO API keys",
|
||
"license": "MIT",
|
||
"author": "Bradley Morris",
|
||
"scripts": {
|
||
"dev": "NEXT_PUBLIC_DEPLOYMENT_MODE=local NEXT_PUBLIC_ENABLE_SUBSCRIPTION_BACKEND=false NODE_OPTIONS=\"--dns-result-order=ipv4first\" next dev",
|
||
"clean:local": "bash ./scripts/dev/clean-local-artifacts.sh",
|
||
"audit:repo": "bash ./scripts/dev/audit-repo.sh",
|
||
"build": "NEXT_PUBLIC_DEPLOYMENT_MODE=local NEXT_PUBLIC_ENABLE_SUBSCRIPTION_BACKEND=false NODE_OPTIONS=\"--dns-result-order=ipv4first\" next build",
|
||
"start": "NEXT_PUBLIC_DEPLOYMENT_MODE=local NEXT_PUBLIC_ENABLE_SUBSCRIPTION_BACKEND=false NODE_OPTIONS=\"--dns-result-order=ipv4first\" next start",
|
||
"lint": "next lint",
|
||
"type-check": "tsc --noEmit",
|
||
"setup": "npm install",
|
||
"sqlite:backup": "bash scripts/database/sqlite-backup.sh",
|
||
"sqlite:restore": "bash scripts/database/sqlite-restore.sh",
|
||
"test": "vitest run",
|
||
"test:watch": "vitest",
|
||
"evals": "RAH_EVALS_LOG=1 tsx tests/evals/runner.ts"
|
||
},
|
||
"dependencies": {
|
||
"@ai-sdk/anthropic": "^3.0.9",
|
||
"@ai-sdk/openai": "^3.0.7",
|
||
"@ai-sdk/react": "^3.0.29",
|
||
"@langchain/core": "^1.0.1",
|
||
"@langchain/textsplitters": "^1.0.1",
|
||
"@radix-ui/react-checkbox": "^1.1.1",
|
||
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
||
"@radix-ui/react-label": "^2.1.0",
|
||
"@radix-ui/react-slot": "^1.1.0",
|
||
"ai": "^6.0.27",
|
||
"better-sqlite3": "^12.2.0",
|
||
"cheerio": "^1.1.2",
|
||
"class-variance-authority": "^0.7.0",
|
||
"clsx": "^2.1.1",
|
||
"lucide-react": "^0.468.0",
|
||
"next": "15.1.3",
|
||
"next-themes": "^0.4.3",
|
||
"openai": "^4.103.0",
|
||
"pdf-parse": "^1.1.1",
|
||
"pdfjs-dist": "^5.4.296",
|
||
"react": "^19.0.1",
|
||
"react-dom": "^19.0.1",
|
||
"tailwind-merge": "^2.5.2",
|
||
"uuid": "^11.1.0",
|
||
"youtube-captions-scraper": "^2.0.3",
|
||
"youtube-transcript": "^1.2.1",
|
||
"youtube-transcript-plus": "^1.1.1",
|
||
"ytdl-core": "^4.11.5",
|
||
"zod": "^3.25.76"
|
||
},
|
||
"devDependencies": {
|
||
"@types/better-sqlite3": "^7.6.13",
|
||
"@types/node": "22.10.2",
|
||
"@types/react": "^19.0.2",
|
||
"@types/react-dom": "19.0.2",
|
||
"@types/uuid": "^10.0.0",
|
||
"autoprefixer": "^10.4.20",
|
||
"esbuild": "^0.23.1",
|
||
"eslint": "^8.57.0",
|
||
"eslint-config-next": "15.1.3",
|
||
"postcss": "^8.4.49",
|
||
"prettier": "^3.3.3",
|
||
"tailwindcss": "^3.4.17",
|
||
"tailwindcss-animate": "^1.0.7",
|
||
"tsx": "^4.19.4",
|
||
"typescript": "^5.7.2",
|
||
"vitest": "^3.2.4"
|
||
}
|
||
}
|