Commit 70c74ef
committed
Refactor CodeGraph MCP: Streamline executor initialization, enhance autoagents module organization, and improve SurrealDB schema
- Simplified the `CodeGraphExecutor::new` method for cleaner initialization.
- Reorganized module imports in `autoagents/mod.rs` for better readability.
- Updated `tier_plugin.rs` to include necessary imports for prompt selection.
- Refactored `graph_tools.rs` to improve error handling and code clarity in tool execution.
- Introduced a synchronous wrapper for `GraphToolExecutor` in `tool_executor_adapter.rs`.
- Enhanced `ProjectIndexer` to utilize a new `SurrealWriterHandle` for batch processing of nodes, edges, and embeddings.
- Updated SurrealDB schema to unify DeepWiki and CodeGraph, adding new fields and indexes for enhanced functionality.
- Improved error handling and logging throughout the indexing process.1 parent 91e5b50 commit 70c74ef
File tree
20 files changed
+1268
-1163
lines changed- crates
- codegraph-graph
- migrations
- functions
- src
- bin
- codegraph-mcp/src
- autoagents
- tools
- schema
20 files changed
+1268
-1163
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
This file was deleted.
0 commit comments