rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:elsebit/dsh-ikuncode-usage
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A standalone IKunCode account balance card for DeepSeek Harness. Displays the provider name and CNY account balance regardless of the selected model. Coexists with upstream usage plugins without modifying them. Does not display model prices or cumulative usage.
Download dsh-ikuncode-usage.tgz from Releases, then install it using the Desktop plugin manager. Do not unpack it. For standalone Web profiles:
dsh plugin --profile web add https://github.com/elsebit/dsh-ikuncode-usage/releases/latest/download/dsh-ikuncode-usage.tgz
Desktop users should use their application's plugin manager; the web profile is not necessarily the Desktop profile. Follow the host's refresh or restart instructions. Supported dependencies are declared in package.json. Do not force version exemptions.
The host reads the API key through DSH's credential service. The default reference is IKUNCODE_API_KEY. The plugin does not bundle, write, log, or return the key to the browser.
Set the plugin's credentialRef option to the credential reference name already used by your IKunCode provider, not the key itself. The Models page typically derives this reference from the provider ID: my-ikuncode becomes MY_IKUNCODE_API_KEY. An existing reference avoids storing the key twice. Alternatively, configure IKUNCODE_API_KEY in the environment that starts DSH; a GUI process may not inherit a terminal's environment.
Use a credential dedicated to IKunCode. Never select an official provider's key or an account-login/OAuth grant. The key is sent only to https://api.ikuncode.cc/api/usage/token/, with redirects disabled. Arbitrary endpoints are not supported.
Click the card to refresh. The browser refreshes once per minute while visible. Successful host reads are cached for 30 seconds. Missing or failed readings display a placeholder and a generic error, never a fabricated zero. No model inference requests are made.
Only data.user_quota.total_available is used, never token limits. Public site status is checked first. The supported display configuration is CNY, a positive quota_per_unit, and usd_exchange_rate = 1. Unsupported currency configurations fail closed rather than guessing a conversion.
Requires Node.js 24 or later:
npm test
npm pack --ignore-scripts
Tests use synthetic inputs only. Real Desktop rendering and credential configuration require an installed-host check.
The release workflow tests the project, verifies that the tag matches the package version, builds a standard npm archive, and publishes dsh-ikuncode-usage.tgz plus its SHA256 checksum. To release, update the package version, commit, and push the corresponding v* tag. GitHub Actions uses its repository-scoped temporary token; no model API keys or personal publishing tokens are required.
Updating this independent plugin does not require merging upstream usage-plugin changes. Market review is separate from publishing a Release. Publication does not imply market approval or automatic updates on users' machines.
This project follows an experiment adding IKunCode support to dougen/dsh-deepseek-usage. This standalone implementation does not redistribute that plugin or overwrite its routes, configuration, package, or UI. Not affiliated with IKunCode or DeepSeek.
MIT - elsebit
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。