Commit Graph
35 Commits
Author SHA1 Message Date
Riz Ashraf 0e9748f797 feat(mcp): Add 5 developer enhancements (git, logs, clipboard watcher, ast skeleton, nvim ghost text) 2026-09-30 05:29:50 +01:00
Riz Ashraf 98a1716ac8 chore: fix clippy warnings, add embedding/omni_patch, update telemetry, and ignore temp files 2026-09-29 06:42:29 +01:00
Riz Ashraf 8f32a09399 fix(mcp): propagate internal serialization errors instead of silently swallowing them to prevent LLM hallucination 2026-09-27 22:19:43 +01:00
Riz Ashraf 4bae4e9c08 Test coverage and headless nvim bug fixes 2026-09-27 08:10:09 +01:00
Riz Ashraf 0ba0ed5b3d refactor: remove redundant multi-line search index unwrap clones across all handlers via new get_search_index accessor 2026-09-26 08:39:42 +01:00
Riz Ashraf cc190816fe perf: remove redundant MemoryState::deduplicate and resolve lock contention during index rebuild 2026-09-26 08:15:58 +01:00
Riz Ashraf efcab4a7b4 feat(events): add generic Event Bus and /events/wait endpoint for agent wakeups 2026-09-26 02:05:18 +01:00
Riz Ashraf 37003be620 refactor: apply rust best practices and fix memory optimizations
- Optimized memory allocation in router.rs by offloading JSON serialization to spawn_blocking and using references.
- Prevented full graph duplication on startup in state.rs index rebuild.
- Eliminated massive String allocations in QueryGraphPathHandler BFS loops.
- Avoided temporary Strings in VisualizeGraphHandler via inline writing.
- Fixed O(N) full-graph deduplication in MergeEntitiesHandler to scale efficiently.
2026-09-22 22:01:38 +01:00
Riz Ashraf 251757f8fc feat(mcp): implement Prompts capability, Resources, and clean up daemon architecture 2026-09-22 21:41:17 +01:00
Riz Ashraf 27aba454e2 perf(server): fix broadcast loops, avoid locking db on index, eliminate O(N*M) search, and fix db loss 2026-09-22 06:33:32 +01:00
Riz Ashraf f76d8ccce8 perf: fix memory leaks, optimize tracing logs, fix networking eof fragmentation bug in nvim-core and stub, and deduplicate json-rpc handlers 2026-09-22 04:31:50 +01:00
Riz Ashraf 478655698e fix(server): safely drop detached tokio join handles and refactor timestamp boilerplate 2026-09-22 03:19:51 +01:00
Riz Ashraf f37a2f8313 style(server): remove unused get_full_graph method to clear clippy warning 2026-09-21 20:12:25 +01:00
Riz Ashraf da1b7cdc9d fix(mcp): wrap websocket activity broadcasts in JSON-RPC notifications
Fixes a critical bug where the Antigravity MCP client would crash with 'invalid message version tag' during long-running tool executions. The server was broadcasting raw JSON activity objects ({'type': 'activity', 'data': ...}) over the WebSocket connection without wrapping them in the required JSON-RPC 2.0 Notification envelope, violating the protocol expectation on the proxy stub.
2026-09-21 19:56:03 +01:00
Riz Ashraf 7dc0c329ad fix(core): remove all unwraps, fix unpolled futures, and fix search index memory leak on restart 2026-09-21 18:54:19 +01:00
Riz Ashraf ae0ea9ab22 feat(server): persist activity history on the server and expose it to the dashboard UI via /api/activity instead of relying on fragile localStorage 2026-09-21 18:01:21 +01:00
Riz Ashraf 1af21b3aec perf(search): eliminate full database cloning during tantivy index rebuilds by moving iteration into a synchronized blocking thread 2026-09-21 16:42:14 +01:00
Riz Ashraf 1d5e4bd00d perf(server): eliminate implicit full-collection clones by removing Store::read() in favor of read_with() 2026-09-21 16:25:57 +01:00
Riz Ashraf 8afbf97b11 refactor: apply zero-unwrap policy and optimize locks in store.rs and handlers 2026-09-21 11:34:21 +01:00
Riz Ashraf d5a05f8416 perf: fix store mem leak, batch DB flushes, and remove double-clones 2026-09-21 09:32:16 +01:00
Riz Ashraf 9b349e6459 Optimize handlers to avoid deep clones of KnowledgeGraph, and fix database write concurrency issues 2026-09-21 06:53:32 +01:00
Riz Ashraf e098c257c2 Optimize Store persistence by eliminating deep clone of internal lock, and optimize relation merging by using retain deduplication. 2026-09-21 06:22:05 +01:00
Riz Ashraf a9885a65d7 Optimize full graph rebuilds with batch indexing to prevent thread exhaustion, and fix adr/snippet search availability before restart 2026-09-21 05:56:58 +01:00
Riz Ashraf cbd3d5801c Resolve blocking commit deadlock and clippy warnings 2026-09-21 05:05:45 +01:00
Riz Ashraf 2a25f17a32 refactor(server): Resolve bottlenecks and duplications
- Removed heavy Tantivy index rebuild loop that ran every 5 seconds and rewrote entire graph to disk
- Converted polling worker to lightweight IndexWriter committer
- Fixed 67+ instances of unnecessary clone and string parsing overhead in tool return results
- Deduplicated state graph modification methods
2026-09-19 07:48:51 +01:00
Riz Ashraf 1752753fcc chore: rustfmt, clippy lints and code tidying 2026-09-17 15:35:41 +01:00
Riz Ashraf 3716c3e698 refactor(mcp): strip sse fallback architecture in favor of pure websockets and fix nvim NDJSON bug 2026-09-17 15:26:22 +01:00
Riz Ashraf 1da413568e docs: update architecture and design docs with proxy reconnect and deployment strategies 2026-09-14 04:07:52 +01:00
Riz Ashraf f2582b58be Fix MCP hangs and add logging 2026-09-13 11:10:35 +01:00
Riz Ashraf 686fea683d perf: completely remove disk I/O from memory access paths, optimize Tantivy indexing, and fix MemoryIndex commits 2026-09-12 20:41:30 +01:00
Riz Ashraf 248799ca5d perf(server): offload sync disk/db IO to tokio blocking thread pool
Makes apply_sync_write, write_to_local_delta, and store modify truly async, preventing the mcp-memory-server from locking the tokio executor during disk IO
2026-09-12 08:54:12 +01:00
Riz Ashraf 721f564910 chore: finalize redb migration for all memory stores 2026-09-10 10:48:37 +01:00
Riz Ashraf 9a8b6e52e9 chore: migrate store to redb 2026-09-10 10:39:33 +01:00
Riz Ashraf 18fd05bb11 feat: Add Brain Monitor dashboard and live API stats 2026-09-08 15:09:44 +01:00
Riz Ashraf e4ff476b6d feat: implement dual-transport WAL architecture with permanent background leader and lightweight stubs 2026-09-08 09:07:56 +01:00