v1.2.0
This major update introduces deep Kotlin DSL analysis, bytecode call graph visualization, automated example generation, package health metrics, and compile-time ABI linkage checks to prevent runtime errors.
🧩 Kotlin DSL & Fluent API Report (dsl-report)
Expose the structure of DSL-heavy libraries. Scans and groups:
- Type aliases — extracted from package metadata.
- DSL scopes — classes carrying
@DslMarkerannotations. - Extension functions — mapped to their receiver types.
- Lambda builders — functions taking lambda-with-receiver blocks.
- Inline reified entry points.
Also registered as the dsl_report tool on the MCP server!
library-insight dsl-report🌳 Method Call Graph Generator (callgraph)
Recursively traces method call instructions to render a visual tree of internal invocations inside the bytecode. Excellent for understanding execution flows and auditing internals.
library-insight callgraph HtmlBuilder.div📝 Automatic Examples Generator (examples)
Generates typical instantiation patterns (constructors, builders, factories, singletons) from bytecode signatures, and extracts code blocks from Dokka/README markdown files.
library-insight examples HtmlBuilder🩺 Package Health & Complexity (health)
Analyzes structural complexity indices, public API distributions (classes, methods, properties), and deprecation ratios to grade the library.
library-insight health🚨 Classpath ABI Linkage Detector (dependency-check)
Checks compiled transitive dependencies for method and field signatures missing from the classpath. Proactively flags runtime risks such as NoSuchMethodError, NoSuchFieldError, or LinkageError.
library-insight dependency-check⚙️ MCP Server Enhancements
dsl_reportTool: AI assistants can query DSL structures natively.- Dynamic Database (
--db): Run multiple indices by passing custom database file paths. - Smart Local Scans: Parses local JAR filenames (
retrofit-2.11.0.jar-> version2.11.0) and auto-detects sister-sourcesarchives in the same directory.
New Contributors
- @michalharakal made their first contribution in #4
Full Changelog: v1.1.0...v1.2.0