Spaces:
Configuration error
Configuration error
Commit History
-
fix: CORS for HuggingFace Spaces + OPTIONS preflight + auth banner visibility
a00a0e3 -
fix: add legacy API compat shims + fix /observe auto-routing
- POST /agentmemory/session/start -> 200 compat shim (was 404) - POST /agentmemory/session/end -> 200 compat shim - GET /agentmemory/observations?sessionId -> compat shim reading legacy KV - POST /agentmemory/observe: auto-detect folderPath+agentId payload and route to folder_observe() instead of failing with 400 - Fix viewer: loadFolders circular reference via IIFE capture - Fix viewer: broken if(false) block that swallowed page initf888ff4 -
fix(viewer): fix blank page on load and loadFolders circular reference
b27f86d -
fix(viewer): sync dashboard to folder-based backend
- Remove 10 tabs (Dashboard, Sessions, Lessons, Actions, Crystals, Audit, Activity, Profile, Replay, Personal) that called non-existent endpoints - Keep only the 5 tabs backed by real API routes: Folders, Memories, Graph, Timeline, Tools - Remove renderDashboard(), loadActivity(), loadSessions(), renderSessions(), loadLessons(), renderLessons(), loadActions(), renderActions(), loadCrystals(), renderCrystals(), loadProfile(), renderProfile(), loadPersonal(), renderPersonal(), loadReplay(), renderReplay() and all associated dead state (dashboard/sessions/activity/crystals/etc) - Remove 4 orphaned view-* div containers that had no tab buttons - Fix apiFetchRaw() to use REST base URL for correct cross-origin support - Remove duplicate apiPost() declaration - Fix startPolling() to only refresh tabs with real endpoints - Fix routeWsMessage() to remove dead dashboard/activity branches - Fix maybeShowOnboarding() flag key lookups (use real embeddingProvider field) - Fix renderFlagB…9828fcf
-
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
-
refactor: folder-based memory model replacing session-based storage
- Replace session-based KV scopes with (folder_path, agent_id) pairs - Add normalize_folder_path, folder_observe, folder_search, folder_timeline, folder_graph_build - Update forget/health_check/export_data/rebuild_index for folder model - Add migrate_sessions_to_folders (non-destructive migration) - Rewrite REST layer: /folders, /folder/observations, /timeline, /graph, /migrate - Trim MCP tools from 31 to 11; add memory_folders, memory_folder_observations, memory_timeline - Rebuild viewer to 4 tabs: Folders, Memories, Graph, Timeline - Add pytest test suite: test_normalize, test_folder_observe, test_forget, test_timeline, test_graph, test_migration - Add pytest==8.3.5 and hypothesis==6.131.15 to requirements.txtfbcb300
-
Fix memory_save and agent_remember: write observation when sessionId provided to link memory to session
2816e70 -
Merge branch 'main' of https://huggingface.co/spaces/Yash030/agentmemory-python
6b7f138 -
Implement memory_antigravity_sync_all master sync tool
dd1ca6e -
Upload plugin/.claude-plugin/plugin.json with huggingface_hub
Verified signaturec9d9b36 -
Upload plugin/plugin.json with huggingface_hub
Verified signature57c3c57 -
Upload README.md with huggingface_hub
Verified signature6919f68 -
Upload AGENTS.md with huggingface_hub
Verified signature1c3977b -
Upload src/mcp_stdio.py with huggingface_hub
Verified signature5b7c355 -
Upload src/app.py with huggingface_hub
Verified signature680e40e -
Upload plugin/scripts/prompt_submit.py with huggingface_hub
Verified signature3619c2d -
Upload plugin/.claude-plugin/plugin.json with huggingface_hub
Verified signature6737a9a -
Upload plugin/plugin.json with huggingface_hub
Verified signature20fe353 -
Upload README.md with huggingface_hub
Verified signature1b5e99d -
Upload AGENTS.md with huggingface_hub
Verified signature7340590 -
Upload src/mcp_stdio.py with huggingface_hub
Verified signature5b627dc -
Upload src/app.py with huggingface_hub
Verified signature35f53fb -
Expose missing MCP tools for Pinned Slots, Actions, and crystallization (Crystals)
447d72f -
feat: implement memory_antigravity_sync natively in Python
c8258aa -
Fix auto_session_start: proper parsing of sessions list and upsert logic
2217e00
-
Document Antigravity sync automation workaround
354402f -
Fix double stdin read bug in prompt_submit.py hook
17d50c1 -
Add logging to prompt_submit hook
14636f1 -
Allow dynamic AGENTMEMORY_URL and AGENTMEMORY_SECRET in stdio MCP wrapper
d1e1adf -
feat: connect CLI reads AGENTMEMORY_URL and SECRET from env
5f7e21e -
Merge remote-tracking branch 'origin/main'
d16ed64 -
feat: add Python plugin system, multi-agent connect CLI, and MCP tool expansions
- plugin/scripts/: Python-native hook scripts replacing Node.js .mjs hooks (session_start, prompt_submit, pre/post_tool_use, stop, session_end, etc.) - plugin/hooks/: hook manifests for Claude Code and Codex - src/connect.py: CLI to wire MCP + hooks into Claude, Codex, Hermes, Antigravity, Kiro - src/app.py: add /enrich, /crystals/auto, /claude-bridge/sync endpoints; new MCP tools (memory_observations, memory_lessons, memory_reflect, memory_diagnose, memory_forget, memory_export, memory_consolidate, memory_lesson_search); fix agent_observe/agent_remember to not require agentId; parse_mcp_list_arg for concepts/files accepting both string and array; enrich_search_results on all search paths - src/functions.py: extract build_project_profile(); add export_data(); timeline sessionId filter Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>26a284a -
fix: filter unnamed/random-ID folder nodes from graph
Verified signature6900e77 -
docs: rewrite all MD files for Python project + fix graph node colors
- README.md: full rewrite for the Python reimplementation (SQLite, Flask, HF Space deploy, API reference, architecture, vs comparison) - AGENTS.md: Python-accurate architecture guide replacing Node.js/iii docs - CHANGELOG.md: v1.0.0 entry documenting the migration from Dolt/Node - CONTRIBUTING.md: Python-specific contribution guide - INSTALL_FOR_AGENTS.md: agent runbook for Python server setup - ROADMAP.md: Python-focused roadmap replacing Node.js roadmap - viewer/index.html: fix folderColor() returning hsl() string instead of hex — gradient code expected parseInt(color.slice(1,3),16) so all folder nodes rendered black; also fix missing isSelected declaration Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>7921736 -
fix: graph nodes show correct unique colors (hsl->hex conversion)
Verified signaturecc730c6 -
fix: unique folder colors, edge labels on hover only, stronger repulsion
Verified signature6741760 -
fix: better folder graph layout — bigger nodes, always-on labels, wider spring
Verified signaturedc211a7 -
feat: rewrite graph tab to show project folders as nodes
Verified signature9d8c96c -
feat: rewrite graph tab to show project folders as nodes
Replace knowledge-graph query with folder-based visualization built from sessions and memories. Nodes = project paths, edges = shared concepts or common parent paths. Adds folder node type with indigo color and rect shape. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>590957a -
feat: add folder filter dropdown to memories tab
4b7ed2a -
trigger deploy after updating database
c975760 -
fix: auto-complete dangling active sessions on new session start
2d394e5 -
fix: resolve semantic and procedural memory dashboard display issue
a8c9dbb -
refactor: filter sessions by full project folder paths and support Uncategorized category
0f9d0de -
feat: rename sessions using agent summary title, display narrative summary, and add folder-wise filter to sessions tab
0d0d847 -
feat: implement memory consolidation, session summarization, and fix StateKV list/get KeyError
1e3eb08 -
refactor: remove DOLT_AUTO_COMMIT guard from commit_if_enabled
Audit log writes to SQLite are cheap — no reason to skip. Removes last reference to Dolt env vars. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>03dde81 -
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