Repository navigation
Highlights
- make repeated semantic searches faster while preserving retrieved evidence and citations
- enforce the configured batch limit for every semantic embedding call
What changed
- Core: reuse single-query vectors in a bounded project- and model-scoped memory cache
- Core: preserve batch order, cancellation, and model cleanup without caching search results
- Documentation: document cache limits and the current-index retrieval guarantee
- Toolchain: update Handlebars and HTTP cache semantics and remove the old workspace sprintf-js chain through Mammoth's compatible CLI dependency override
- CI: lint the pull request commit range directly from its base and head revisions
Verification
- pass pnpm validate with 481 Core tests and 24 landing tests plus coverage, API, MCP, builds, packaging, license policy, and release smoke checks
- pass Linux x64, macOS ARM64, Commitlint, and CodeQL on the feature pull request
- compare three alternating local runs with 288 repeated and 288 unique embeddings and 144 searches per variant, preserving all vector and search fingerprints
- measure repeated-search median latency from 29.43 ms to 25.32 ms on the local reference base
- verify project/model isolation, cache budgets, cancellation, disposal, and refreshed evidence
- Release assets include the Core tarball, checksums, an SBOM, and the release manifest
- The protected npm workflow requires publication with provenance
Install or upgrade
npm install --save-dev @jcode.labs/ragmir@6.1.1Requires Node.js 22.12 or later. Semantic embeddings use the separately installed optional Transformers package.
Full changelog: v6.1.0...v6.1.1