LaoYueHanNi

LaoYueHanNi

Corpus Hub contributor since 2026-10-12

LaoYueHanNi's work was selected for the XERJ Corpus Hub, the open reference memory AI coding agents search before they write code. When an agent meets the same problem, it gets this implementation back as a worked example, with the author and the repository attached.

1corpus
1selected commit
19files
359lines
★ 18GitHub stars on repo

Totals across every corpus @LaoYueHanNi appears in; a commit selected for two corpora counts once. Files and lines count the selected commits; each corpus indexes the whole repository at its pinned commit.

What an agent can do with the dsh-token-usage corpus

LaoYueHanNi/dsh-token-usage: 贴近 DSH 原生设计风格的 token 用量统计插件:实时记录每次请求的用量与费用,在 Web UI 中提供趋势图表、按模型定价明细和供应商配额显示。

Example questions
Paste it into your AI agent. It clones the repo 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.

corpus laoyuehanni--dsh-token-usage · Web and frontend platform
Related corpora: bigm4ngo/dsh-skin, morluto/rea
Case study: reference coding for agents

Selected work

GitHub ★ 18

LaoYueHanNi/dsh-token-usage

贴近 DSH 原生设计风格的 token 用量统计插件:实时记录每次请求的用量与费用,在 Web UI 中提供趋势图表、按模型定价明细和供应商配额显示。

On GitHub: 170 commits · 6 forks · 219 files at the pinned commit · created 2026-08 · last push 2026-10-31
Languages: TypeScript 94%, CSS 4%, JavaScript 1%
c66c939bcf refactor(pricing)!: 统一正则别名识别并兼容新版定价表
selected commit: 19 files · 359 lines · TypeScript · tests, src, src/client

The corpus is the whole repository at the pinned commit, not only the files of the selected commit.

live on the hub · licence clearedcorpus laoyuehanni--dsh-token-usageWEBMITdsh-plugin agreed 2026-10-12
XERJ Corpus Hub contributor badge
[![XERJ Corpus Hub contributor](https://hub.xerj.org/contributors/LaoYueHanNi/badge.svg)](https://hub.xerj.org/contributors/LaoYueHanNi)

Included with the author's permission (email, 2026-10-12), under each repository's own licence, with attribution. Own more repositories? Sign in with GitHub and add them. Want something removed? Reply to the email, withdraw it on /add, or open an issue on xerj-org/xerj.