Riz Ashraf
39528411f4
fix(graph): improve LLM tool UX for GetSubgraphTool and ReadGraphTool
2026-10-10 12:50:07 +01:00
Riz Ashraf
eed9a9165c
feat(graph): add ergonomic UpdateEntitiesTool for renaming and type changes
2026-10-10 12:27:29 +01:00
Riz Ashraf
cfcd42f41e
fix(graph): implement fuzzy substring matching for DeleteObservationsTool to improve LLM UX
2026-10-10 12:18:00 +01:00
Riz Ashraf
7c9e901c12
style: Apply cargo fix for unused variables
2026-10-10 11:12:03 +01:00
Riz Ashraf
9f00d8298f
fix(mcp): Add namespace fields to EntityInput and RelationInput DTOs to fix test regression
2026-10-10 11:08:25 +01:00
Riz Ashraf
8ff43487bc
fix: correct tests following strict removal of legacy json aliases
2026-10-10 08:24:42 +01:00
Riz Ashraf
0c2fc96ff8
chore: housekeeping
2026-10-09 09:33:54 +01:00
Riz Ashraf
3765e6b05d
chore: fix clippy warnings and run rustfmt
2026-10-09 00:39:50 +01:00
Riz Ashraf
fecd8bf33f
fix(tests): replace serde_json::from_str with serde_yaml::from_str for tool output assertions
2026-10-09 00:30:05 +01:00
Riz Ashraf
cb0c55775a
feat(mcp): switch to YAML serialization for tool outputs
...
- Replaced serde_json with serde_yaml in all handler endpoints.
- This drastically reduces token consumption for large list/graph responses by removing JSON braces and quotes.
2026-10-08 23:46:32 +01:00
Riz Ashraf
410b0c42ca
feat(ollama): enforce JSON logits & add nvim_buffer edit action
...
- Added format parameter to Ollama generate for JSON logit enforcement.
- Implemented safe edit action in nvim_buffer MCP tool to replace raw Lua.
2026-10-08 23:41:57 +01:00
Riz Ashraf
9d9e959744
chore: fix formatting and clippy lints
2026-10-08 23:01:38 +01:00
Riz Ashraf
40cab6142b
feat(adr): implement ADR-0109, ADR-0110, and ADR-0111
...
- ADR-0109: Incremental Background AST Indexing & Differential Graph Updates via Tree-Sitter
- ADR-0110: Real-Time SSE Live Activity & Log Stream (/api/events/stream)
- ADR-0111: Automated Stale Symbol Pruning & Graph Tombstoning (sweep_graph_health auto_prune_stale_files)
2026-10-07 20:17:19 +01:00
Riz Ashraf
3b146f91c2
refactor: consolidate hypotheses, agent_signals, and process_logs into action-based smart tools
2026-10-07 12:00:20 +01:00
Riz Ashraf
79209da711
refactor: eradicate deprecated tools (sticky_notes, pinned_files, context_workspaces, pr_checklist, preferences) and dead code
2026-10-07 11:12:42 +01:00
Riz Ashraf
e4a0fe72df
feat(embedding,vision): candle embeddings with offline fallback, on-demand clipboard vision capture, and concurrency audit
2026-10-07 06:36:09 +01:00
Riz Ashraf
5bd8b1587a
refactor: apply 5-pass audit optimizations across mcp-memory codebase
2026-10-06 06:05:38 +01:00
Riz Ashraf
924b6d09fa
refactor: address 5-pass audit findings for antipatterns, bottlenecks, memory efficiency, and LLM handlers
2026-10-05 21:44:10 +01:00
Riz Ashraf
533adfd41b
refactor: consolidate nvim crates, extract server library, and update workspace dependencies
2026-10-04 01:42:59 +01:00
Riz Ashraf
a083719cf1
feat(server): refactor handlers, router, state management, and memory tools
2026-10-02 07:27:37 +01:00
Riz Ashraf
462f65f66d
refactor: Implement unified search abstraction, MemoryState refactoring, error handling, and unit test expansion
2026-10-01 08:37:52 +01:00
Riz Ashraf
0e866f2465
Refactor: Migrate unwrap calls to AppError in MCP handlers
2026-09-30 21:02:50 +01:00
Riz Ashraf
febd48c65d
fix(mcp): prevent internal handler serialization errors from being silently discarded or defaulting to empty strings
2026-09-27 22:30:32 +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
01d3c22c57
Fix error swallowing by propagating JSON serialization errors to LLM
2026-09-27 09:44:04 +01:00
Riz Ashraf
4bae4e9c08
Test coverage and headless nvim bug fixes
2026-09-27 08:10:09 +01:00
Riz Ashraf
b1fc381107
fix(test): update test payloads to use snake_case after camelCase removal
2026-09-26 18:05:37 +01:00
Riz Ashraf
a24ef598a2
feat(handlers): enrich semantic error messages with prescriptive tool hints to prevent LLM hallucination traps
2026-09-26 08:47:52 +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
d96b4cf822
fix(mcp): convert silently swallowed OK string errors into explicit JSON-RPC errors for task transitions and bulk entity operations
2026-09-26 08:32:04 +01:00
Riz Ashraf
f81723a539
fix(mcp): return explicit JSON-RPC errors instead of misleading Ok strings for missing entities and silent graph modification drops
2026-09-26 08:24:56 +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
be85b58be4
fix: agent usability improvements - unified schema casing, fixed silent handler failures, and made namespaces strictly optional
2026-09-26 08:07:28 +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
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