dsh-usage-info
Session-header context occupancy, token cost, and account balance readout for the DeepSeek Harness Web Client.
Install
$ dsh plugin --profile web add @achasoft/dsh-usage-infoPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Displays a context window occupancy ring and estimated breakdown (system prompt, tools, conversation) in the session header and panel
- Calculates real-time session token costs with exact decimal arithmetic across uncached input, cache write, cache read, and output buckets
- Queries and displays provider account balances and granted/topped-up amounts with host-side caching
- Keeps API credentials strictly on the host while providing host RPC methods for UI queries
- Provides a plugin settings card to toggle sections, configure refresh intervals, low balance thresholds, currencies, and token rates
Useful For
- Monitoring context window utilization in real time to prevent sudden context overflow
- Tracking session-level LLM costs during active conversational or agentic workflows
- Checking remaining API account balances and receiving low-balance warnings directly in the harness UI
Who It Fits
- DeepSeek Harness Web Client users who want visibility into token usage and real-time session billing
- Developers needing balance threshold alerts and context window monitoring
Documented Limitations
- The bundled DeepSeek balance provider ships disabled by default and requires explicit configuration in cordis.patch.yml
- Only the first currency balance is displayed directly in the header readout (full breakdown shown in panel)
- The host cache TTL window (cacheTtlMs) cannot be edited directly from the UI settings card and requires patch/settings file updates
- Gateways that do not support the /user/balance endpoint (returning 404) will halt polling
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 1 runtime, 21 development, 4 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- navid-kianfar/dsh-usage-info
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 52fb93f · 2026-09-15
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 0GitHub stars
- Forks
- 0
- Open issues
- 1
- Last commit
- 2026-09-15
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Session lifecycle manager for DeepSeek Harness with search, restore, idle cleanup, and diagnosis.
View plugin →Persistent multi-model agent teams with dynamic DAG orchestration, run monitoring, and token insights for DeepSeek Harness.
View plugin →Full office suite integration for DeepSeek Harness supporting spreadsheets, docs, slides, bases, and canvases.
View plugin →Vision routing and pixel-level tools for text-only DeepSeek Harness agents with built-in free fallback.
View plugin →