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.

polish(scripts): second-brain transcript.sh stops sending -- as a query pair (#1550)

xerj-orgf17855b97180
diff --git a/demo/usecases/second-brain/transcript.sh b/demo/usecases/second-brain/transcript.sh
index 5fd1bbff5..5f4379acd 100755
--- a/demo/usecases/second-brain/transcript.sh
+++ b/demo/usecases/second-brain/transcript.sh
@@ -35,6 +35,7 @@ ck() { local desc="$1"; shift; if "$@" >/dev/null 2>&1; then ok "$desc"; else
req() {
local method="$1" path="$2" body="${3:-}"
shift; shift; [ $# -gt 0 ] && shift
+ [ "${1:-}" = "--" ] && shift # the separator is not a query pair
local args=(-s -o "$WORK/resp.json" -w '%{http_code}' -X "$method" "${AUTH[@]}")
if [ -n "$body" ]; then
args+=(-H 'Content-Type: application/json' -d "$body")