Skip to content

v1.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Sep 13:48
· 3 commits to main since this release

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-bom or com.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 to android, 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. Running library-insight explain Grid --deep automatically discovers and outputs all referenced receiver scopes (GridScope, GridConfigurationScope) and track specs in 1 single turn, eliminating multi-turn AI exploration loops.
  • Smart explain Symbol Resolution: Enhanced explain to 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?").
  • li Native Short Command Alias: Added native binary executable generation for li alongside library-insight across macOS, Linux, and Windows (li.bat), allowing users and AI agents to execute commands using either library-insight or li.
  • 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 to install.sh for building from source and installing local workspace skills directly.