Install / Update
Install the dsh-context plugin on DeepSeek Harness with released NPM package:
dsh plugin --profile web add dsh-context@latestUpdate the dsh-context plugin:
dsh plugin --profile web update dsh-context@latestWhat's New
Feature
- Add DeepSeek platform balance in the Context Dashboard header (#80). When the harness's DeepSeek official provider is configured, the Context Dashboard header shows a quiet capsule with the live account balance read from the platform's own
/user/balanceendpoint — no more opening platform.deepseek.com just to check the funds. The API key never leaves the host process: the host resolves the credential exactly the wayllm-deepseekserves its own requests and serves only the redacted figures to the browser.- Every failure renders nothing: a deployment without the DeepSeek provider, without a resolvable key, without the route registry, or whose platform read fails (network, non-2xx, malformed payload) answers a typed null and the capsule simply stays off — no pill, no spinner, no error state.
- The tooltip carries the granted / topped-up breakdown; the entry follows the display locale (zh → CNY, en → USD), falling back to the account's own currency when it holds none.
- Reads are TTL-cached (5 minutes for a success, 60 seconds for a failure), so reopening the dashboard never hammers the platform.
Commits
- feat: show the DeepSeek platform balance in the Context Dashboard (95f187d)
- chore: release v0.54.0 (f90d398)
v0.53.4...v0.54.0 · 2 commits