@vohongtho.infotech/code-intel 0.3.1 → 0.4.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.
package/README.md CHANGED
@@ -10,13 +10,15 @@ A static code analysis platform that builds a **Knowledge Graph** from your sour
10
10
 
11
11
  - **Knowledge Graph** — parses 14+ languages into nodes (functions, classes, files, etc.) and edges (calls, imports, extends, etc.)
12
12
  - **Force-directed Graph Explorer** — interactive Sigma.js visualization with color-coded node types, hover highlighting, and filters
13
- - **Semantic Vector Search** — embeddings via `all-MiniLM-L6-v2` stored in LadybugDB vector index for natural-language code search
14
- - **BM25 Text Search** — keyword-based search with reciprocal rank fusion
13
+ - **AI-Generated Symbol Summaries** — optional `--summarize` flag generates 1-2 sentence summaries per symbol via OpenAI, Anthropic, or Ollama; cached by code hash
14
+ - **Hybrid Search (BM25 + Vector RRF)** — Reciprocal Rank Fusion of keyword + semantic search; `searchMode: 'bm25' | 'vector' | 'hybrid'` in response
15
+ - **Semantic Vector Search** — embeddings via `all-MiniLM-L6-v2`; enriched with summaries when available
15
16
  - **Code AI Chat** — grounded assistant that cites source files in every answer
16
- - **LadybugDB Persistence** — graph and vector index stored as embedded graph database
17
- - **HTTP API** — REST endpoints for graph, search, inspect, blast radius, flows
17
+ - **File Watcher & Auto-Reindex** — `code-intel watch` detects file saves and patches the live graph within ~1 second; WebSocket push notifies connected clients
18
+ - **Code Health** — `code-intel health` reports dead code, circular dependencies (Tarjan SCC), god nodes, orphan files, and a 0–100 health score
19
+ - **HTTP API** — REST endpoints for graph, search, inspect, blast radius, flows, health
18
20
  - **MCP Server** — Model Context Protocol integration for LLM tooling
19
- - **CLI** — analyze, serve, search, inspect, impact commands with animated progress bars and spinners
21
+ - **CLI** — analyze, serve, watch, search, inspect, impact, health commands with animated progress bars and spinners
20
22
  - **Multi-language** — TypeScript, JavaScript, Python, Java, Go, C, C++, C#, Rust, PHP, Ruby, Swift, Kotlin, Dart (14 languages via tree-sitter AST)
21
23
  - **Incremental Analysis** — `--incremental` re-parses only changed files; 10k-file repo / 3 changes: 288ms
22
24
  - **Parallel Analysis** — `--parallel` runs parse + resolve phases on worker threads for large repos
@@ -32,6 +34,11 @@ A static code analysis platform that builds a **Knowledge Graph** from your sour
32
34
  npm install -g @vohongtho.infotech/code-intel
33
35
  ```
34
36
 
37
+ > **Note:** You may see `npm warn ERESOLVE overriding peer dependency` warnings about `tree-sitter`. These are **harmless** — they relate to the native Node.js bindings which are not used. The CLI uses `web-tree-sitter` (WASM) exclusively. If you prefer a warning-free install, use:
38
+ > ```bash
39
+ > npm install -g @vohongtho.infotech/code-intel --legacy-peer-deps
40
+ > ```
41
+
35
42
  The `code-intel` binary is placed in your `$PATH` automatically (via the `bin` field in `package.json`).
36
43
 
37
44
  Verify: