@vohongtho.infotech/code-intel 0.6.0 → 0.8.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 +6 -3
- package/dist/cli/main.js +2804 -1003
- package/dist/cli/main.js.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1162 -182
- package/dist/index.js.map +1 -1
- package/dist/web/assets/{es-CnPQcqTr.js → es-J7AmFCht.js} +1 -1
- package/dist/web/assets/index-DSIgTcZc.css +2 -0
- package/dist/web/assets/{index-j-iO6isa.js → index-upRm-kxQ.js} +4 -4
- package/dist/web/index.html +2 -2
- package/package.json +12 -1
- package/dist/web/assets/index-rprt8Su_.css +0 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Code Intelligence Platform
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@vohongtho.infotech/code-intel)
|
|
4
4
|
|
|
5
5
|
A static code analysis platform that builds a **Knowledge Graph** from your source code and makes it explorable through a Web UI, HTTP API, CLI, and MCP server.
|
|
6
6
|
|
|
@@ -23,8 +23,11 @@ A static code analysis platform that builds a **Knowledge Graph** from your sour
|
|
|
23
23
|
- **Code Health** — `code-intel health` reports dead code, circular dependencies (Tarjan SCC), god nodes, orphan files, and a 0–100 health score
|
|
24
24
|
- **HTTP API** — REST endpoints for graph, search, inspect, blast radius, flows, query, source, health
|
|
25
25
|
- **MCP Server** — Model Context Protocol integration for LLM tooling with 6 new reasoning tools (`explain_relationship`, `pr_impact`, `similar_symbols`, `health_report`, `suggest_tests`, `cluster_summary`), pagination, and tool-chaining hints
|
|
26
|
-
- **Security
|
|
27
|
-
- **
|
|
26
|
+
- **Security & Quality Scanning** — `code-intel secrets` (hardcoded API keys, DB URLs, RSA keys), `code-intel scan` (SQL Injection CWE-89, XSS CWE-79, SSRF CWE-918, Path Traversal CWE-22, Command Injection CWE-78), `--format sarif` for CI integration
|
|
27
|
+
- **Complexity Metrics** — `code-intel complexity --top N` ranks functions by cyclomatic + cognitive complexity; `complexity_hotspots` MCP tool
|
|
28
|
+
- **Test Coverage Gaps** — `code-intel coverage` lists untested exported symbols sorted by blast radius; `--threshold <pct>` fails CI if below target
|
|
29
|
+
- **Deprecated API Detection** — `code-intel deprecated` finds usages of `@deprecated` JSDoc, `@Deprecated` (Java), `#[deprecated]` (Rust), and built-in Node.js deprecated APIs
|
|
30
|
+
- **AI Context Files** — auto-generates `AGENTS.md`, `CLAUDE.md`, `.github/copilot-instructions.md`, `.cursor/rules/code-intel.mdc`, and `.kiro/steering/code-intel.md` after every analysis — supporting Amp, Claude Code, Codex, Copilot, Cursor, Aider, Gemini, Kiro, Trae, Hermes, Factory, OpenCode, Pi, Antigravity, OpenClaw, and more
|
|
28
31
|
- **Multi-language** — TypeScript, JavaScript, Python, Java, Go, C, C++, C#, Rust, PHP, Ruby, Swift, Kotlin, Dart (14 languages via tree-sitter AST)
|
|
29
32
|
- **Incremental Analysis** — `--incremental` re-parses only changed files; 10k-file repo / 3 changes: 288ms
|
|
30
33
|
- **Parallel Analysis** — `--parallel` runs parse + resolve phases on worker threads for large repos
|