From bddf791350ceca652278bdaa47e46fdf571c8f7e Mon Sep 17 00:00:00 2001 From: Argenis Date: Mon, 16 Feb 2026 15:48:18 -0500 Subject: [PATCH] fix(telegram): add support for sending photos, documents, videos, and audio (#424) * feat(memory): optimize SQLite performance with production-grade PRAGMAs - Enable WAL mode for concurrent read/write access - Set synchronous = NORMAL for 2x faster writes with crash safety - Enable 8MB mmap for zero-copy reads via OS page cache - Set in-memory temp_store and 2MB page cache for hot entries - Applies optimizations to brain.db (memory), jobs.db (cron), and hygiene pruner * feat: add LLM response cache, memory snapshotting, and WASM sandbox - Response Cache: Saves tokens by caching repeated prompts in SQLite. - Memory Snapshot: Human-readable markdown 'soul' backup for Git-native self-preservation and cold-boot recovery. - WASM Sandbox: Isolated tool execution via wasmi. - Configurable via wizard and config.toml.