@sdsrs/code-graph 0.5.46 → 0.5.48

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 CHANGED
@@ -9,9 +9,10 @@ A high-performance code knowledge graph server implementing the [Model Context P
9
9
  - **Call graph traversal** — Recursive CTE queries to trace callers/callees with cycle detection
10
10
  - **HTTP route tracing** — Map route paths to backend handler functions (Express, Flask/FastAPI, Go)
11
11
  - **Impact analysis** — Determine the blast radius of code changes by tracing all dependents
12
- - **Incremental indexing** — Merkle tree change detection with file system watcher for real-time updates
13
- - **Context compression** — Token-aware snippet extraction for LLM context windows (L0→full code, L1→summaries, L2→file groups, L3→directory overview)
14
- - **Embedding model** — Optional local embedding via Candle (feature-gated `embed-model`)
12
+ - **Incremental indexing** — Merkle tree change detection with file system watcher for real-time updates. Smart event filtering skips metadata-only changes (chmod, xattr)
13
+ - **Context compression** — Token-aware snippet extraction for LLM context windows (L0→full code, L1→summaries, L2→file groups, L3→directory overview). Compact JSON output saves 15-20% tokens
14
+ - **Embedding model** — Optional local embedding via Candle (feature-gated `embed-model`). Context reordered to prioritize structural relations over code for better embedding quality
15
+ - **Self-healing** — Automatic SQLite corruption recovery with rebuild. Startup repair for incomplete indexing (Phase 3 failures)
15
16
  - **MCP protocol** — JSON-RPC 2.0 over stdio, plug-and-play with Claude Code, Cursor, Windsurf, and other MCP clients
16
17
  - **Claude Code Plugin** — First-class plugin with slash commands (`/understand`, `/trace`, `/impact`), agents, skills, auto-indexing hooks, StatusLine integration, and self-updating
17
18
 
@@ -25,7 +26,7 @@ BLAKE3 Merkle tree tracks every file's content hash. On re-index, only changed f
25
26
 
26
27
  ### Hybrid Search, Not Just Grep
27
28
 
28
- Combines BM25 full-text ranking (FTS5) with vector semantic similarity (sqlite-vec) via **Reciprocal Rank Fusion (RRF)** — so searching "handle user login" finds the right function even if it's named `authenticate_session`. Results are auto-compressed to fit LLM context windows.
29
+ Combines BM25 full-text ranking (FTS5) with vector semantic similarity (sqlite-vec) via **Reciprocal Rank Fusion (RRF)** with raw score blending — so searching "handle user login" finds the right function even if it's named `authenticate_session`. Results are auto-compressed to fit LLM context windows.
29
30
 
30
31
  ### Scope-Aware Relation Extraction
31
32
 
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "sdsrs"
6
6
  },
7
- "version": "0.5.46",
7
+ "version": "0.5.48",
8
8
  "keywords": [
9
9
  "code-graph",
10
10
  "ast",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdsrs/code-graph",
3
- "version": "0.5.46",
3
+ "version": "0.5.48",
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.46",
37
- "@sdsrs/code-graph-linux-arm64": "0.5.46",
38
- "@sdsrs/code-graph-darwin-x64": "0.5.46",
39
- "@sdsrs/code-graph-darwin-arm64": "0.5.46",
40
- "@sdsrs/code-graph-win32-x64": "0.5.46"
36
+ "@sdsrs/code-graph-linux-x64": "0.5.48",
37
+ "@sdsrs/code-graph-linux-arm64": "0.5.48",
38
+ "@sdsrs/code-graph-darwin-x64": "0.5.48",
39
+ "@sdsrs/code-graph-darwin-arm64": "0.5.48",
40
+ "@sdsrs/code-graph-win32-x64": "0.5.48"
41
41
  }
42
42
  }