Commit Graph
8 Commits
Author SHA1 Message Date
Riz Ashraf 01d3c22c57 Fix error swallowing by propagating JSON serialization errors to LLM 2026-09-27 09:44:04 +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 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 4ecda68c1e Fix UI auto-scroll, make namespace optional, alias filePath, and downgrade ws logs 2026-09-25 21:38:21 +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