This major feature release introduces BOM (Bill of Materials) Auto-Resolution, Target Platform Filtering (--platform), Deep Recursive DSL & Scope Resolution, Smart Symbol Facade & Typo Lookup, and native li short CLI command alias support across all platforms.
Major Feature Highlights
- BOM (Bill of Materials) Auto-Resolution: Added automatic Maven POM XML parsing and
<dependencyManagement>expansion for BOM coordinates (e.g.,androidx.compose:compose-bomorcom.google.firebase:firebase-bom). Scanning a BOM coordinate automatically resolves, downloads, and merges all constituent managed library artifacts into a unified API index using a Parallel Coroutine Scanning Pool (Semaphore(16)), Individual Member Disk Caching, and Parallel Chunked Index Merging. - On-Demand Include Filtering (
-i, --include): Added-i, --include <pattern>option (e.g.,-i "compose-ui*") to selectively target specific BOM member artifacts and speed up scanning. - Target Platform Filtering (
-p, --platform): Added target platform filtering (android,jvm,ios,desktop,all) to BOM and KMP scans. Defaults toandroid, automatically filtering out non-Android KMP variants (iOS, JS, Wasm, Mac, Linux, Windows), stubs, and lints. This reduces BOM scan time and network download sizes by >80%. - Deep Recursive Explain (
-d,--deep): Added single-turn recursive DSL receiver scope, parameter type, and return type expansion. Runninglibrary-insight explain Grid --deepautomatically discovers and outputs all referenced receiver scopes (GridScope,GridConfigurationScope) and track specs in 1 single turn, eliminating multi-turn AI exploration loops. - Smart
explainSymbol Resolution: Enhancedexplainto automatically map top-level Kotlin functions to their facade classes (e.g.,explain Grid->GridKt), resolve member method/property queries directly to their declaring classes, and provide Levenshtein fuzzy typo suggestions ("Did you mean one of these?"). liNative Short Command Alias: Added native binary executable generation forlialongsidelibrary-insightacross macOS, Linux, and Windows (li.bat), allowing users and AI agents to execute commands using eitherlibrary-insightorli.- Exact Symbol Priority Guidance: Added AI Agent rule prioritizing exact symbol lookups (
explain <ExactSymbol> --deep) before exploring alternative library components. - Direct Project File Editing Guidance: Added AI Agent guidelines instructing agents to directly modify target source files in the user's project when generating code from scanned APIs instead of outputting unapplied chat code blocks.
- Local Source Skill Installer (
install.sh --local): Added--local(-l) flag support toinstall.shfor building from source and installing local workspace skills directly.