Skip to content

v0.3.0

Latest

Choose a tag to compare

@zhousiyao03-cyber zhousiyao03-cyber released this 31 May 03:06

First non-alpha release of repolayer — a cross-repo code-index CLI for AI agents.

Highlights

Pluggable embedding backend

Semantic search is no longer tied to the built-in model. Pick your backend in repolayer.yml:

  • potion-local (default) — built-in 256-dim model2vec embedder. Offline, no API key.
  • ollama — local ollama serve sidecar for a code-aware multilingual model, zero auth.
  • http — any OpenAI-compatible /v1/embeddings endpoint. Auto-batches, retries on 5xx/429/timeout, client-side rate limiting.

DeepSeek summary lane

Optional LLM-generated per-module Chinese summaries, written to a dedicated summary_vec lane. Hybrid search pulls dense neighbours from both code and summary lanes and merges via RRF — so natural-language queries can hit files whose code doesn't carry the query vocabulary.

Two new languages → 12 source languages

  • Swift — via ast-grep (classes, structs, enums, protocols, functions, methods, properties).
  • Objective-C — via bare tree-sitter (tree-sitter-objc): @interface / @implementation / @protocol, instance/class methods with multi-part selectors, properties.

Project hardening

  • GitHub Actions CI (build + test on Ubuntu/macOS, fmt + clippy gate).
  • CONTRIBUTING.md, issue/PR templates.
  • Two bug fixes in the deps layer: a bincode cache-invalidation bug (DepEdge skip_serializing_if defeated per-file incremental indexing) and a strip_quotes panic on lone-quote tokens.

Install

git clone https://github.com/zhousiyao03-cyber/repolayer
cd repolayer
cargo install --path .

Built on top of aeroxy/ast-outline.