Introduction¶
DeepSeek Harness (DSH) is an intelligent agent development and debugging tool based on a plugin architecture. When developers use third-party top-up services like arckep.ru to recharge for API calls, they typically need to switch to an external webpage to check their balance and consumption details. The dsh-arckep plugin integrates this information into the DSH Web UI, displaying account status in real-time via badges and panels, allowing you to stay within the development environment.
Core Features¶
- Badge Display: Shows the balance (format e.g.,
1 234,50 ₽) in the DSH session header and at the bottom of the sidebar. The badge displays a warning color when the balance falls below a threshold (default 100 ₽) or when the predicted balance is insufficient for 3 days. Clicking the badge opens the details panel. - Details Panel: Displays the current balance (supports enterprise wallet notes), consumption statistics for today/7 days/30 days, the top 5 models by consumption, remaining available days, and the last update time.
- Settings: Manage API Keys in Settings -> Arckep. Supports setting the polling interval (default 300 seconds), warning thresholds, filtering consumption to specific keys only, sidebar display toggle, and interface language (follows DSH language).
- Theme Support: Interface colors follow the DSH theme, supporting both dark and light modes.
Installation and Activation¶
Install the plugin using the official CLI. Once installed, simply start the DSH Web UI to enable it.
dsh plugin --profile web add dsh-arckep
dsh web
Configure API Key¶
- Create a Key in the arckep.ru dashboard under Settings -> API. The permission scope must include
balance:read. - Paste the Key into DSH’s Settings -> Arckep and save. After saving, the field will be cleared, showing only “Key is set”.
- The Key can also be set via the environment variable
ARCKEP_API_KEY. The environment variable takes precedence over the settings page.
Privacy and Security¶
- When the plugin runs, requests to arckep.ru (
GET /api/v1/balanceandGET /api/v1/usage) are initiated by the DSH server-side. The browser only communicates with DSH. - It does not contain any telemetry, analytics, or third-party requests.
- The Key is transmitted only via the
Authorization: Bearerheader when requesting arckep.ru, and is not stored in configuration files or logs. - The Key is stored in DSH’s local credential storage (file mode 600), readable only by the current user.
Notes¶
- Requires DSH version 0.2.0-rc.2 or higher, and the Web UI must be enabled.
- This is an unofficial community plugin maintained by developer gmen1057.
- Requires an arckep.ru account and a valid API Key.
- In DSH Desktop mode, due to limitations on configuration check commands, you need to rely on the sidebar badge in the UI to confirm status.
Summary¶
This plugin integrates balance monitoring directly into the DSH development environment, reducing the frequency of switching windows. See SkillHub for the plugin directory and GitHub for the source code.