Public mirror for @nebutra/code-index from Nebutra/Nebutra-Sailor.
This repository is generated from the Nebutra Sailor monorepo. Package releases are cut from the monorepo and mirrored here for discovery, standalone cloning, and contribution intake.
- Canonical source:
packages/ai/code-indexinNebutra/Nebutra-Sailor - Package registry: npm and GitHub Packages
- Contributions: open issues or PRs here; maintainers port accepted changes back into the monorepo source package
Status: WIP — port contracts and deterministic indexing core are present, but production adapters are intentionally injected by consumers.
@nebutra/code-index owns the provider-agnostic codebase semantic-index
grammar: content-hash chunking, incremental scan, embedding-profile drift
recreate, and cosine retrieval behind Embedder, VectorStore, and
CodeParser ports.
Current gaps:
- Concrete embedder and vector-store adapters are injected, not bundled.
- Structural chunking uses an injected parser port; no native tree-sitter dependency is shipped here.
- Production deployment still needs tenant-scoped storage, provider credentials, and operational re-indexing policy supplied by the host app.
Use @nebutra/agents for model/embedding provider execution and keep this
package focused on indexing contracts and deterministic orchestration.