@sdsrs/code-graph 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,7 +30,7 @@ type: reference
|
|
|
30
30
|
|------|------|----------------|
|
|
31
31
|
| "谁调用 X?" / "X 调了啥?" | `get_call_graph` / `callgraph X` | 替代 `grep "X("` |
|
|
32
32
|
| "Y 模块长啥样?" | `module_overview` / `overview Y/` | 替代逐文件 Read |
|
|
33
|
-
| "找做 Z 的代码"(概念) | `semantic_code_search
|
|
33
|
+
| "找做 Z 的代码"(概念) | MCP `semantic_code_search`(RRF 混合);CLI `search`(纯 FTS5) | 不知道精确名;要向量召回走 MCP |
|
|
34
34
|
| "返回 T 类型的函数" | `ast_search --returns T` | 结构化筛选 |
|
|
35
35
|
| "X 在哪被引用?" | `find_references` / `refs X` | 含 callers/importers |
|
|
36
36
|
| "看 X 的源码 / 签名" | `get_ast_node` / `show X` | `include_impact=true` 含影响面(替代 impact_analysis) |
|
|
@@ -76,7 +76,7 @@ type: reference
|
|
|
76
76
|
|
|
77
77
|
```
|
|
78
78
|
code-graph-mcp grep "pattern" [path] # ripgrep + AST 上下文
|
|
79
|
-
code-graph-mcp search "concept" # FTS5
|
|
79
|
+
code-graph-mcp search "concept" # 纯 FTS5(要混合检索走 MCP semantic_code_search)
|
|
80
80
|
code-graph-mcp ast-search "q" --type fn # 结构化筛选
|
|
81
81
|
code-graph-mcp map # 项目架构
|
|
82
82
|
code-graph-mcp overview src/mcp/ # 模块总览
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdsrs/code-graph",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "MCP server that indexes codebases into an AST knowledge graph with semantic search, call graph traversal, and HTTP route tracing",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"node": ">=16"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"@sdsrs/code-graph-linux-x64": "0.
|
|
38
|
-
"@sdsrs/code-graph-linux-arm64": "0.
|
|
39
|
-
"@sdsrs/code-graph-darwin-x64": "0.
|
|
40
|
-
"@sdsrs/code-graph-darwin-arm64": "0.
|
|
41
|
-
"@sdsrs/code-graph-win32-x64": "0.
|
|
37
|
+
"@sdsrs/code-graph-linux-x64": "0.13.0",
|
|
38
|
+
"@sdsrs/code-graph-linux-arm64": "0.13.0",
|
|
39
|
+
"@sdsrs/code-graph-darwin-x64": "0.13.0",
|
|
40
|
+
"@sdsrs/code-graph-darwin-arm64": "0.13.0",
|
|
41
|
+
"@sdsrs/code-graph-win32-x64": "0.13.0"
|
|
42
42
|
}
|
|
43
43
|
}
|