rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ancientbag/dsh-kimi-code-usage
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin that shows your Kimi Code subscription quota right in the Web UI:
Kimi 5h 28% · 7d 12%, color-coded (green → yellow → red as usage grows);api.kimi.ai/coding) or CN (api.kimi.com/coding).This targets the Kimi Code membership API (
api.kimi.ai/coding/api.kimi.com/coding), not the pay-as-you-go developer platform (api.moonshot.ai). Keys look likesk-kimi-…and are created in the Kimi Code Console.
In DeepSeek Harness: Settings → Plugins → Install bundle, or ask the agent:
Install the bundle dsh-kimi-code-usage
Directly from GitHub without npm:
Install the bundle github:ancientbag/dsh-kimi-code-usage
⚠️ If the badge with Kimi coding usage did not appear -> Try to relaunch Deepseek Harness.
Then click the badge below the composer, paste your API key, and save.
Row config in cordis.patch.yml (all optional):
| Field | Default | Meaning |
|---|---|---|
apiKey |
"" |
Kimi Code API key. Prefer the popover — it stores the key as the MOONSHOT_API_KEY credential. |
baseUrl |
https://api.kimi.ai/coding |
Use https://api.kimi.com/coding for China accounts. Also switchable in the popover. |
cacheSeconds |
60 |
Hard debounce: at most one upstream request per interval, however often the UI asks. Minimum 30. |
Key precedence: config.apiKey → credential store / launch environment / .env (MOONSHOT_API_KEY).
index.js) registers an authenticated /api/kimi.balance route via ctx.connection.fetch, proxies GET {baseUrl}/v1/usages and /v1/me, and debounces upstream calls.client.js) renders the badge into the conversation.composer.dock slot and the popover into shell.overlay, polling the local route once a minute and on every badge click.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。