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
fix(ci): load installer function fixtures through file URLs (#2332)
Qiu527cc307413d
diff --git a/.github/scripts/functions-get-test.mjs b/.github/scripts/functions-get-test.mjsindex 702e258e6..b5ad0dc38 100644--- a/.github/scripts/functions-get-test.mjs+++ b/.github/scripts/functions-get-test.mjs@@ -14,7 +14,7 @@import { readFileSync, writeFileSync, mkdtempSync } from 'node:fs';import { tmpdir } from 'node:os';import { join, dirname, resolve } from 'node:path';-import { fileURLToPath } from 'node:url';+import { fileURLToPath, pathToFileURL } from 'node:url';const REPO = resolve(dirname(fileURLToPath(import.meta.url)), '..', '..');const SRC = join(REPO, 'functions', 'get.js');@@ -28,7 +28,7 @@ const PS1_BODY = readFileSync(join(REPO, 'landing', 'get.ps1'), 'utf8');const src = readFileSync(SRC, 'utf8');const tmp = join(mkdtempSync(join(tmpdir(), 'xerj-fn-')), 'get.mjs');writeFileSync(tmp, src);-const fn = await import(tmp);+const fn = await import(pathToFileURL(tmp).href);let failures = 0;const ok = (cond, name, extra = '') => {