- 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
14 lines
344 B
TypeScript
14 lines
344 B
TypeScript
declare module "pdf-parse" {
|
|
interface PDFData {
|
|
numpages: number;
|
|
numrender: number;
|
|
info: Record<string, unknown>;
|
|
metadata: Record<string, unknown> | null;
|
|
text: string;
|
|
version: string;
|
|
}
|
|
|
|
function pdfParse(dataBuffer: Buffer, options?: Record<string, unknown>): Promise<PDFData>;
|
|
export default pdfParse;
|
|
}
|