Spaces:
Configuration error
Configuration error
Commit History
-
fix: Added prod level migrations
ba35a6d
-
feat: migrate agentmemory to agentcache namespace, endpoints, and tools
12a6c9a
-
feat: obs lookup index, startup backfill, CORS wildcards, sync state in SQLite
- Add global obs_id->folderPath/agentId coordinate lookup index (KV.obs_lookup) so folder_search hydrates candidates via O(1) point lookups instead of O(N) scans - Add backfill_obs_lookup_if_needed() on startup to populate missing lookup entries - Add verify_index_sync_on_boot() in workers.py to detect and fix stale search index after crash/abrupt shutdown - triggers background rebuild if counts diverge - Print security warning on boot when AGENTMEMORY_SECRET is unset - Update CORS default origins to allow vscode-webview://* and chrome-extension://* prefix matching so IDE extensions connect without CORS errors - Persist sync_state in SQLite sync_state_metadata table instead of local .sync_state JSON file, ensuring sync state survives Space restarts - Add tests/test_obs_lookup.py covering lookup write, delete propagation, backfill, and desync detection (all 231 tests pass)bbea853 -
fix: Hugging Face sync, routing, dashboard, and agent isolation bugs
12b5d50
-
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