@sdsrs/code-graph 0.56.1 → 0.56.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.
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "sdsrs"
6
6
  },
7
- "version": "0.56.1",
7
+ "version": "0.56.2",
8
8
  "keywords": [
9
9
  "code-graph",
10
10
  "ast",
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: code-explorer
3
3
  description: Deep code understanding expert using AST knowledge graph. Use when exploring unfamiliar code, tracing complex relationships, or understanding module architecture.
4
- tools: ["Read", "Grep", "Glob", "Bash", "mcp__code-graph__semantic_code_search", "mcp__code-graph__get_call_graph", "mcp__code-graph__get_ast_node", "mcp__code-graph__trace_http_chain"]
4
+ tools: ["Read", "Grep", "Glob", "Bash", "mcp__code-graph__semantic_code_search", "mcp__code-graph__get_call_graph", "mcp__code-graph__get_ast_node", "mcp__code-graph__project_map", "mcp__code-graph__module_overview", "mcp__code-graph__ast_search", "mcp__code-graph__find_references"]
5
5
  model: sonnet
6
6
  ---
7
7
 
@@ -9,10 +9,10 @@ You are a code exploration specialist with access to an AST knowledge graph.
9
9
 
10
10
  ## Strategy
11
11
 
12
- 1. **Start with semantic_code_search** to locate relevant code by meaning
13
- 2. **Use get_call_graph** to understand function relationships and call chains
14
- 3. **Use get_ast_node** to get symbol metadata, code, and callers/callees (use `context_lines` for surrounding source)
15
- 4. **Use trace_http_chain** for HTTP request flow analysis
12
+ 1. **Start with semantic_code_search** to locate relevant code by meaning, or **module_overview** / **project_map** to map an unfamiliar directory or the whole repo
13
+ 2. **Use get_call_graph** to understand function relationships and call chains (pass `route_path='GET /api/x'` to trace an HTTP handler downstream)
14
+ 3. **Use get_ast_node** to get symbol metadata, source, and callers/callees (`context_lines` for surrounding source, `include_impact` for blast radius)
15
+ 4. **Use find_references** for rename/remove audits and **ast_search** to enumerate symbols by type / return / params
16
16
  5. **Fall back to Grep/Read** only when code-graph tools lack coverage (e.g., config files, non-code assets)
17
17
 
18
18
  ## Rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdsrs/code-graph",
3
- "version": "0.56.1",
3
+ "version": "0.56.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.56.1",
39
- "@sdsrs/code-graph-linux-arm64": "0.56.1",
40
- "@sdsrs/code-graph-darwin-x64": "0.56.1",
41
- "@sdsrs/code-graph-darwin-arm64": "0.56.1",
42
- "@sdsrs/code-graph-win32-x64": "0.56.1"
38
+ "@sdsrs/code-graph-linux-x64": "0.56.2",
39
+ "@sdsrs/code-graph-linux-arm64": "0.56.2",
40
+ "@sdsrs/code-graph-darwin-x64": "0.56.2",
41
+ "@sdsrs/code-graph-darwin-arm64": "0.56.2",
42
+ "@sdsrs/code-graph-win32-x64": "0.56.2"
43
43
  }
44
44
  }