- Add personality engine with learning from conversations - Tracks user preferences, interests, and communication style - Persists to Redis (cache) + PostgreSQL (durable) - Generates personalized system prompts per user - Add Piston API fallback for sandbox execution - Auto-detects backend: Docker → Piston API → none - Supports 15+ languages via free cloud execution - Works on Railway and other managed platforms - Add storage layer with layered persistence - PostgreSQL for tasks, user profiles, personality traits - Redis for conversation cache and fast profile access - Graceful fallback to in-memory when not configured - Update scheduler with task persistence - Loads tasks from PostgreSQL on startup - Saves task status after execution - Add document analysis (PDF, text files) - Add railway-template.json for one-click deployment - Enable sandbox by default (Piston fallback) - Add OpenRouter support (100+ models) https://claude.ai/code/session_015VqJ7gN4vaxtYfYc92UjLs
11 lines
252 B
TypeScript
11 lines
252 B
TypeScript
declare module "pdf-parse" {
|
|
function pdfParse(dataBuffer: Buffer): Promise<{
|
|
numpages: number;
|
|
numrender: number;
|
|
info: Record<string, unknown>;
|
|
metadata: Record<string, unknown>;
|
|
text: string;
|
|
}>;
|
|
export default pdfParse;
|
|
}
|