@sdsrs/code-graph 0.5.19 → 0.5.21
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.
- package/README.md +4 -6
- package/claude-plugin/scripts/lifecycle.js +3 -3
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -205,19 +205,15 @@ npm uninstall -g @sdsrs/code-graph
|
|
|
205
205
|
|
|
206
206
|
| Tool | Description |
|
|
207
207
|
|------|-------------|
|
|
208
|
+
| `project_map` | Full project architecture: modules, dependencies, entry points, hot functions |
|
|
208
209
|
| `semantic_code_search` | Hybrid BM25 + vector + graph search for AST nodes |
|
|
209
210
|
| `get_call_graph` | Trace upstream/downstream call chains for a function |
|
|
210
|
-
| `find_http_route` | Map route path to backend handler function |
|
|
211
211
|
| `trace_http_chain` | Full request flow: route → handler → downstream call chain |
|
|
212
212
|
| `impact_analysis` | Analyze the blast radius of changing a symbol |
|
|
213
213
|
| `module_overview` | High-level overview of a module's structure and exports |
|
|
214
214
|
| `dependency_graph` | Visualize dependency relationships between modules |
|
|
215
215
|
| `find_similar_code` | Find code snippets similar to a given pattern |
|
|
216
|
-
| `get_ast_node` | Extract a specific code symbol
|
|
217
|
-
| `read_snippet` | Read original code snippet by node ID with context |
|
|
218
|
-
| `start_watch` / `stop_watch` | Start/stop file system watcher for incremental indexing |
|
|
219
|
-
| `get_index_status` | Query index status and health |
|
|
220
|
-
| `rebuild_index` | Force full index rebuild |
|
|
216
|
+
| `get_ast_node` | Extract a specific code symbol with signature, body, and relations |
|
|
221
217
|
|
|
222
218
|
## Plugin Slash Commands
|
|
223
219
|
|
|
@@ -228,6 +224,8 @@ Available when installed as a Claude Code plugin:
|
|
|
228
224
|
| `/understand <module>` | Deep dive into a module or file's architecture and relationships |
|
|
229
225
|
| `/trace <route>` | Trace a full HTTP request flow from route to data layer |
|
|
230
226
|
| `/impact <symbol>` | Analyze the impact scope of changing a symbol before modifying it |
|
|
227
|
+
| `/status` | Show code-graph index status and embedding progress |
|
|
228
|
+
| `/rebuild` | Force a full code-graph index rebuild |
|
|
231
229
|
|
|
232
230
|
## Supported Languages
|
|
233
231
|
|
|
@@ -257,10 +257,10 @@ function uninstall() {
|
|
|
257
257
|
// 5. Remove cache directory
|
|
258
258
|
try { fs.rmSync(CACHE_DIR, { recursive: true, force: true }); } catch { /* ok */ }
|
|
259
259
|
|
|
260
|
-
// 6. Remove plugin files from cache (all known paths)
|
|
260
|
+
// 6. Remove plugin files from cache (all known paths, including parent dirs)
|
|
261
261
|
const pluginCacheDirs = [
|
|
262
|
-
path.join(os.homedir(), '.claude', 'plugins', 'cache', MARKETPLACE_NAME
|
|
263
|
-
path.join(os.homedir(), '.claude', 'plugins', 'cache', 'sdsrss-code-graph'
|
|
262
|
+
path.join(os.homedir(), '.claude', 'plugins', 'cache', MARKETPLACE_NAME),
|
|
263
|
+
path.join(os.homedir(), '.claude', 'plugins', 'cache', 'sdsrss-code-graph'),
|
|
264
264
|
path.join(os.homedir(), '.claude', 'plugins', 'cache', 'sdsrss', 'code-graph'),
|
|
265
265
|
];
|
|
266
266
|
for (const dir of pluginCacheDirs) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdsrs/code-graph",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.21",
|
|
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": {
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"node": ">=16"
|
|
34
34
|
},
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@sdsrs/code-graph-linux-x64": "0.5.
|
|
37
|
-
"@sdsrs/code-graph-linux-arm64": "0.5.
|
|
38
|
-
"@sdsrs/code-graph-darwin-x64": "0.5.
|
|
39
|
-
"@sdsrs/code-graph-darwin-arm64": "0.5.
|
|
40
|
-
"@sdsrs/code-graph-win32-x64": "0.5.
|
|
36
|
+
"@sdsrs/code-graph-linux-x64": "0.5.21",
|
|
37
|
+
"@sdsrs/code-graph-linux-arm64": "0.5.21",
|
|
38
|
+
"@sdsrs/code-graph-darwin-x64": "0.5.21",
|
|
39
|
+
"@sdsrs/code-graph-darwin-arm64": "0.5.21",
|
|
40
|
+
"@sdsrs/code-graph-win32-x64": "0.5.21"
|
|
41
41
|
}
|
|
42
42
|
}
|