Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

Merge remote-tracking branch 'origin/main' into fix/search-unknown-flag

Term56ce0838a7464d
diff --cc CHANGELOG.md
index 158232abb,883132225..8967bdc17
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -112,13 -154,11 +154,18 @@@ continues in #2427 and #1122, which sta
### Fixed
+- `xerj search` names an unknown flag on one line and exits 2 instead of
+ following "unexpected argument" with the whole usage text (#2458). An
+ agent that guessed `--index` and `--max-hits` read the help dump as the
+ answer and gave up on the CLI. Those guesses, and `--size`, `--limit`,
+ `--top`, `--top-k`, `-n` and `-i`, now point at `--prefix <P>` or
+ `-k <N>`.
+
+ - `xerj corpus add` accepts a local Windows path such as
+ `F:\Projects\Foo` (#2472). The repo name was the text after the last `/`,
+ so a `\`-separated path stayed whole and was refused as an unsafe repo
+ name; it now names the repo `Foo`, as `F:/Projects/Foo` already did.
+
- `xerj code` shows the part of a long definition that matched the query,
not its first `--full` characters (#2464). The matching text could sit
thousands of characters below the signature, so a hit named the right