- Add document analysis for PDFs, text, code files (up to 20MB) - Add PostgreSQL storage for task persistence (survives restarts) - Add Redis for conversation caching (24hr TTL) - Create storage.ts abstraction layer with fallback to memory - Update scheduler to persist tasks to database - Update config with DATABASE_URL and REDIS_URL support - Add railway.toml for Railway deployment - Update README with new architecture and features https://claude.ai/code/session_015VqJ7gN4vaxtYfYc92UjLs
31 lines
657 B
JSON
31 lines
657 B
JSON
{
|
|
"name": "assurebot",
|
|
"version": "1.0.0",
|
|
"description": "AssureBot - Lean, secure, self-hosted AI assistant for Railway",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node dist/index.js",
|
|
"dev": "tsx index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.39.0",
|
|
"cron": "^3.1.7",
|
|
"grammy": "^1.21.1",
|
|
"openai": "^4.77.0",
|
|
"pdf-parse": "^1.1.1",
|
|
"pg": "^8.11.3",
|
|
"redis": "^4.6.12"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.2",
|
|
"@types/pg": "^8.10.9",
|
|
"tsx": "^4.7.0",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22"
|
|
}
|
|
}
|