@sdsrs/code-graph 0.17.0 → 0.17.2
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.
|
@@ -23,17 +23,17 @@ function readAdoptedBy(filePath) {
|
|
|
23
23
|
return m ? m[1] : null;
|
|
24
24
|
} catch { return null; }
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'
|
|
35
|
-
'
|
|
36
|
-
|
|
26
|
+
// One-liner per MEMORY.md spec ("each entry should be one line"). All routing
|
|
27
|
+
// triggers from prior multi-line block preserved verbatim — collapsing to single
|
|
28
|
+
// line is a structural fix, not a signal change. Decision table lives in the
|
|
29
|
+
// linked plugin_code_graph_mcp.md; this line is the router. Tag syntax
|
|
30
|
+
// `[tag1, tag2]` per spec for explicit keyword matching.
|
|
31
|
+
const INDEX_LINE =
|
|
32
|
+
'- [code-graph-mcp](plugin_code_graph_mcp.md) ' +
|
|
33
|
+
'[impact, callgraph, refs, overview, semantic, ast-search, dead-code, similar, deps, trace] — ' +
|
|
34
|
+
'改 X 影响面/谁调用 X/X 被谁用/看 X 源码/Y 模块长啥样/概念查询 优先于 Grep;字面匹配走 Grep。' +
|
|
35
|
+
'核心 7(get_call_graph/module_overview/semantic_code_search/ast_search/find_references/get_ast_node/project_map)' +
|
|
36
|
+
'+ 进阶 5(impact_analysis/trace_http_chain/dependency_graph/find_similar_code/find_dead_code),决策表见全文';
|
|
37
37
|
const TEMPLATE_PATH = path.resolve(__dirname, '..', 'templates', 'plugin_code_graph_mcp.md');
|
|
38
38
|
const TARGET_NAME = 'plugin_code_graph_mcp.md';
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdsrs/code-graph",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.2",
|
|
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": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"node": ">=16"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"@sdsrs/code-graph-linux-x64": "0.17.
|
|
39
|
-
"@sdsrs/code-graph-linux-arm64": "0.17.
|
|
40
|
-
"@sdsrs/code-graph-darwin-x64": "0.17.
|
|
41
|
-
"@sdsrs/code-graph-darwin-arm64": "0.17.
|
|
42
|
-
"@sdsrs/code-graph-win32-x64": "0.17.
|
|
38
|
+
"@sdsrs/code-graph-linux-x64": "0.17.2",
|
|
39
|
+
"@sdsrs/code-graph-linux-arm64": "0.17.2",
|
|
40
|
+
"@sdsrs/code-graph-darwin-x64": "0.17.2",
|
|
41
|
+
"@sdsrs/code-graph-darwin-arm64": "0.17.2",
|
|
42
|
+
"@sdsrs/code-graph-win32-x64": "0.17.2"
|
|
43
43
|
}
|
|
44
44
|
}
|