dsh-token-usage
贴近 DSH 原生设计风格的 token 用量统计插件:实时记录每次请求的用量与费用,在 Web UI 中提供趋势图表、按模型定价明细和供应商配额显示。
What XERJ indexed
Snapshot
The whole repository at commit c66c939bcf (2026-10-11). main is 44 commits ahead.
Selected work

“统一正则别名识别并兼容新版定价表”. 19 files, 359 lines in tests, src, src/client.
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-12. 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
dsh-plugin
Example questions
- How does dsh-token-usage implement dsh-plugin?
- Where does dsh-token-usage handle “统一正则别名识别并兼容新版定价表”?
- What does src/client do in dsh-token-usage?
Inside the indexed corpus
- 219 files, 4.0 MB in total, about 18.7 KB per file.
- The selected commit changed 19 of those files (8.7%).
- Languages by size: TypeScript 93.9%, CSS 4.5%, JavaScript 1.2%, PowerShell 0.3%.
- On GitHub since 2026-08-14, last push 2026-10-31, 170 commits on main.
- The pin is 44 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for LaoYueHanNi/dsh-token-usage on 2026-10-31, and the LICENSE file at commit c66c939bcf was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
LaoYueHanNi (@LaoYueHanNi) has 1 selected repository on the hub.
Using XERJ with dsh-token-usage
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones LaoYueHanNi/dsh-token-usage at the pinned commit and indexes it on your machine.
Search the GitHub repository LaoYueHanNi/dsh-token-usage with XERJ (https://hub.xerj.org/corpus/laoyuehanni--dsh-token-usage). 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/LaoYueHanNi/dsh-token-usage dsh-token-usage && git -C dsh-token-usage checkout c66c939bcf38c824cd55acb357d9ac8d289abf7e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./dsh-token-usage --url http://127.0.0.1:9200 --prefix dsh-token-usage --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
LaoYueHanNiWeb and frontend platform corporaMichaelShii/dsh-plugin-teamflowomdsh-dev/dsh-genuiMulibaixi/dsh-translation-plugin
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.