AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
release: cut v1.0.0-rc.8
xerj-org3ad78279758c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3a6130e90..e62c8d702 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]+## [1.0.0-rc.8] - 2026-07-31++Eighth release candidate: an **autoindex robustness + code-AST release**.+Headline for users: `xerj autoindex` no longer crashes with `Too many open+files` on large source trees, and source code is now parsed into searchable+symbols instead of plain text.++### Added++- **AST code extraction.** Source files are parsed with tree-sitter — Python,+ JavaScript, TypeScript, TSX, Rust, Go, Java, C, C++, Ruby, PHP, C#, Bash —+ rather than indexed as prose. Each file carries its `language`, a structured+ `symbols` array (`{name, kind, line}`), and a searchable `defs` list, so a+ query like `class Model` retrieves the file that defines it. Grammars are+ version-decoupled via `tree-sitter-language`, so one tree-sitter 0.25 core+ serves all of them and adding a language is a grammar dep plus one row.++### Fixed++- **Autoindex `Too many open files` (os error 24) crash** on large repos. Each+ index holds segment mmaps, a WAL and a merge task, so discovering a repo that+ infers dozens of datasets (django ≈ 74 indices) exhausted file descriptors on+ a default macOS soft limit (256), failing at the second index. The server now+ raises `RLIMIT_NOFILE` to the hard limit at startup (stepping down for the+ macOS kernel cap; best-effort). Reproduced and fixed against real django and+ redis clones.+- **jemalloc `background_thread currently supports pthread only`** printed on+ every macOS launch — the `background_thread` option is now Linux-only, where+ it is supported; the decay policy is unchanged.+- **Empty console dashboards on a fresh or brain-only engine.** The AI, RAG,+ vector, agent-memory and logs dashboards fell back to mock data when their+ backing index was empty; each dashboard's nav entry is now gated on its data+ existing, so a brain-only launch opens on Second Brain and an empty engine+ shows only System.+## [1.0.0-rc.7] - 2026-07-30Seventh release candidate: the **second brain and security-hardeningdiff --git a/engine/Cargo.lock b/engine/Cargo.lockindex 02e9445f2..00df743a9 100644--- a/engine/Cargo.lock+++ b/engine/Cargo.lock@@ -6349,7 +6349,7 @@ dependencies = [[[package]]name = "xerj-ai"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","candle-core",@@ -6370,7 +6370,7 @@ dependencies = [[[package]]name = "xerj-api"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","async-trait",@@ -6400,7 +6400,7 @@ dependencies = [[[package]]name = "xerj-autoindex"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","chrono",@@ -6441,7 +6441,7 @@ dependencies = [[[package]]name = "xerj-cluster"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","async-trait",@@ -6463,7 +6463,7 @@ dependencies = [[[package]]name = "xerj-common"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","byteorder",@@ -6481,7 +6481,7 @@ dependencies = [[[package]]name = "xerj-compress"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["byteorder","bytes",@@ -6494,7 +6494,7 @@ dependencies = [[[package]]name = "xerj-console-api"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","arc-swap",@@ -6530,7 +6530,7 @@ dependencies = [[[package]]name = "xerj-engine"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","arc-swap",@@ -6569,7 +6569,7 @@ dependencies = [[[package]]name = "xerj-fts"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","bitpacking",@@ -6595,7 +6595,7 @@ dependencies = [[[package]]name = "xerj-logs"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","byteorder",@@ -6613,7 +6613,7 @@ dependencies = [[[package]]name = "xerj-mcp"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","reqwest",@@ -6623,7 +6623,7 @@ dependencies = [[[package]]name = "xerj-query"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","base64 0.22.1",@@ -6638,7 +6638,7 @@ dependencies = [[[package]]name = "xerj-server"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","axum",@@ -6684,7 +6684,7 @@ dependencies = [[[package]]name = "xerj-storage"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","arc-swap",@@ -6714,7 +6714,7 @@ dependencies = [[[package]]name = "xerj-vector"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","byteorder",@@ -6732,7 +6732,7 @@ dependencies = [[[package]]name = "xerj-wasm"-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"dependencies = ["anyhow","bytes",diff --git a/engine/Cargo.toml b/engine/Cargo.tomlindex a9d54729a..de7a81489 100644--- a/engine/Cargo.toml+++ b/engine/Cargo.toml@@ -21,7 +21,7 @@ members = [][workspace.package]-version = "1.0.0-rc.7"+version = "1.0.0-rc.8"edition = "2021"license = "Apache-2.0"authors = ["xerj Contributors"]