What XERJ indexed
Snapshot
The whole repository at commit af66b22dd5 (2026-10-23). main is 21 commits ahead.
Selected work

“Prefix-cache lifecycle, ai_api auto, and correctness fixes from review”. 44 files, 4,596 lines in test, src/client, src/functions.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-23. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- Where does SWAN-AISQL handle “Prefix-cache lifecycle, ai_api auto, and correctness fixes from review”?
- What does src/client do in SWAN-AISQL?
Inside the indexed corpus
- 1,263 files, 154.3 MB in total, about 125.1 KB per file.
- The selected commit changed 44 of those files (3.5%).
- Languages by size: C++ 55.2%, Python 40.8%, Jupyter Notebook 2.3%, Shell 1.4%, CMake 0.3%.
- On GitHub since 2026-09-25, last push 2026-10-31, 78 commits on main.
- The pin is 21 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for ZhaoFuheng/SWAN-AISQL on 2026-10-31, and the LICENSE file at commit af66b22dd5 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Fuheng Zhao (@ZhaoFuheng) has 1 selected repository on the hub.
Using XERJ with SWAN-AISQL
- Search a SQL dump without restoring it The hub files it under Databases and storage engines.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones ZhaoFuheng/SWAN-AISQL at the pinned commit and indexes it on your machine.
Search the GitHub repository ZhaoFuheng/SWAN-AISQL with XERJ (https://hub.xerj.org/corpus/zhaofuheng--swan-aisql). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/ZhaoFuheng/SWAN-AISQL SWAN-AISQL && git -C SWAN-AISQL checkout af66b22dd5c202fc57b49a22c4368fb209d784dc 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./SWAN-AISQL --url http://127.0.0.1:9200 --prefix swan-aisql --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Fuheng ZhaoDatabases and storage engines corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.