Spaces:
Configuration error
Configuration error
Commit History
-
feat: upscale & UX overhaul β blueprint split, debounce, tests, viewer enhancements, DX improvementsβ
Track A β Backend Structure: - Split app.py into 7 Flask blueprints (src/routes/) - Create src/memory/ package and src/storage/ package - Per-thread SQLite connections, WAL checkpoint, db.stats() - IndexPersistence debounce queue with threading.Timer + dirty flags - Workers: SIGTERM/SIGINT graceful shutdown Track B β Viewer UX: - Command palette (Ctrl+K/Cmd+K) with fuzzy search - D3 v7 force-directed graph replacing canvas - VirtualList for Timeline/Folders - Onboarding card for empty state - MCP Tool Tester tab - Tab keyboard navigation (ARIA roles, arrow keys) - Skeleton loading states (@keyframes shimmer) Track C β Reliability & Testing: - test_search.py, test_remember.py, test_context.py, test_debounce.py - test_properties.py (8 Hypothesis property tests) - test_api.py (Flask test client integration tests) - test_route_regressions.py (blueprint regression suite) - sync.py: audit log HWM replaces mtime change detection - /health: syncStatus, lastSyncAt, dbSizeBytes fields Track Dβ¦4d5727a
-
feat: migrate from Dolt/MySQL to SQLite for faster boot and syncβ
- Replace StateKV Dolt/pymysql backend with sqlite3 stdlib (single file DB) - Add audit_log table to track agent writes (replaces dolt_log versioning) - Remove Dolt server from Dockerfile and start.sh β no more 5min cold boot wait - Sync only agentmemory.db + .hmac + second-brain/ (~5MB vs 232MB) - Restore downloads targeted files instead of full snapshot - Remove pymysql from requirements.txt Boot time: ~3min β ~10sec. Backup cycle: 20min β instant when unchanged. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>169f06f -
perf: use snapshot_download for faster restore on Space bootβ
Replaces per-file hf_hub_download loop with single snapshot_download call. Parallel fetch cuts restore time significantly on cold boot. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>2bb6974 -
perf: skip backup when no files changed using mtime fingerprintβ
Avoids 20-min upload cycles by comparing file size+mtime before staging. Only uploads when something actually changed; saves state in .backup_state. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>a7a7e59 -
fix: use upload_folder for backup (prevents 429 rate limits) and auto-create second-brain dirβ
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>e24267e -
fix: use correct dataset repo (agentmemory-python-data) and fix second-brain default path for Linux
1ba6376 -
Clean up legacy TS/Node files, fix Dolt backup path sync bug, and update CSP connect-src header
8ef8de0 -
Initialize Hugging Face Space deployment for AgentMemory Python (clean without assets)
b2d9e47