DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Tokendashboard — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
T

@ningtian-byte/dsh-tokendashboard

Tokendashboard

面向 DeepSeek Harness 的本地优先令牌使用量和 API 调用仪表盘

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:NingTiAn-byte/DSH-TokenDashboard#71a63d170df1c8dbc4732eabba3315617e4b5598
README兼容性版本
DSH-TokenDashboard showing token totals, API calls, an activity calendar, and daily cache trends

兼容性与来源证明

Tokendashboard 以 @ningtian-byte/dsh-tokendashboard 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/19

版本

1.0.0stable
2026/10/19

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/19
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Ab Chartdsh-ab-chart带有绘制其调用的浏览器卡片的图表渲染工具,封装在一个可发布的插件包中Web App@monotykamary/dsh-web-appdsh browser-surface 捆绑包:在 dsh-base 之上的 Web 补丁层,加上运行时衔接插件(前端 dist 提供服务、web-surface 提示符、Bash 运行时变量、URL 行)

README

DSH-TokenDashboard

Your local token usage, API calls, and cache activity in one dashboard.

A lightweight plugin for DeepSeek Harness. No build step. No runtime dependencies. No additional API key.

English · 简体中文

Features · Quick start · How counting works · FAQ

DSH-TokenDashboard showing token totals, API calls, an activity calendar, and daily cache trends

Preview uses sample data. The plugin follows your DSH theme.

Why DSH-TokenDashboard?

See how much you use across sessions, which projects drive token consumption, and how often your input hits the cache. The dashboard reads existing session logs in your current DSH profile and presents the results inside the native sidebar.

Features

FeatureWhat you get
Usage at a glanceTotal tokens, API calls, uncached input, output, cache reads, and cache hit rate
Flexible summariesLast 7, 30, or 90 days, or all time, with active session counts
Activity calendar52 weeks of square, rounded cells; hover or focus for exact daily numbers
Daily cache trendsStacked input tokens: cache misses below cache hits, with a visible zero baseline
Adjustable chart rangeZoom from 7 to 30 days; compact K/M/B axis labels
Model and project breakdownsToken rankings and API call counts by model/provider and working directory
Native presentationLight/dark themes, responsive layout, English and Simplified Chinese
Refresh controlsManual refresh or automatic refresh every 30 seconds; polling pauses while the page is hidden

Quick start

1. Install from npm

Use the DSH CLI available in your installation:

dsh plugin --profile web add @ningtian-byte/dsh-tokendashboard

Alternatively, install directly from GitHub:

dsh plugin --profile web add github:NingTiAn-byte/DSH-TokenDashboard

2. Desktop or local installation

For Desktop, use the CLI bundled with the Desktop application:

dsh plugin --profile desktop add github:NingTiAn-byte/DSH-TokenDashboard

Alternatively, download Code → Download ZIP, extract it, and install the directory containing package.json through the DSH plugin manager or CLI:

dsh plugin --profile web add "/absolute/path/to/DSH-TokenDashboard"

On Windows, paths such as C:/plugins/DSH-TokenDashboard work as well. Quote paths that contain spaces. If dsh is not on PATH, use its installed executable or command file. The source CLI may reject the Desktop profile; use the Desktop-bundled CLI for that profile.

3. Open the dashboard

Restart DSH and select Usage statistics in the sidebar. Existing completed requests appear automatically; the plugin does not need to run a new model request.

Compatibility: Requires DSH with sessionPersistence, connection, slot, locale, and theme APIs. DSH plugin APIs may change between releases; check compatibility with your installed version.

Using the dashboard

  • Select a summary range at the top. Summary metrics and rankings follow this range.
  • Hover over or keyboard-focus a calendar cell or daily bar for exact usage and API call counts. Press Escape to dismiss the tooltip.
  • Drag the trend slider to show the latest 7–30 days. One month means a rolling 30-day window.
  • Calendar history and the trend window are independent of the summary range. Changing that range preserves the trend zoom.
  • Toggle automatic refresh at the bottom of the page.

How counting works

MetricDefinition
Total tokensProvider-reported totalTokens, or uncached input + output + cache reads + cache writes when unavailable
InputUncached input only; excludes cache reads and writes
OutputProvider-reported output; reasoning tokens are not added a second time
Cache hit rateCache reads ÷ (uncached input + cache reads + cache writes); — when the denominator is zero
API callsSettled assistant/message and assistant/attempt records, including settled failures and attempts without usage
Daily barsInput only: cache miss = uncached input + cache writes; cache hit = cache reads
SessionsSessions with at least one settled request in the selected summary range

An in-progress request appears after settlement. Requests without usage increase the API call count but do not add estimated tokens. Repeated settlements for the same attempt are deduplicated; retry attempts count separately, and inherited fork records are excluded.

Days follow the browser's IANA time zone. Calendar weeks start on Monday. Output contributes to total tokens and tooltip details, but is not stacked in the input-cache chart.

Data and privacy

The plugin reads local session logs through read-only handles. It does not modify logs, call model APIs, or upload usage data. Numeric summaries, model names, session IDs, and working directories are kept in memory for the dashboard; prompt and response content is not retained in that cache.

Each changed session is read in full before its numeric summary is cached by persistence revision. Very large logs can make the first load or a refresh slower. Unreadable sessions produce a visible partial-statistics warning.

This is a token accounting view, not a billing or network bandwidth meter. Provider billing may use different accounting rules.

FAQ

Why is the dashboard empty?

It only sees the session data source available to the current DSH profile. Complete a request in that profile, then refresh. Requests that are still streaming have not settled yet.

Why do token totals differ from the provider's bill?

The dashboard uses usage reported in local logs and has no access to billing adjustments or external requests. It does not estimate missing usage or calculate monetary costs.

Why doesn't the chart match the selected summary period?

The activity calendar always covers 52 weeks. The daily chart has its own 7–30 day window and displays input tokens only. The summary range applies to the headline metrics and rankings.

How do I update or uninstall it?

Replace or reinstall the plugin files, then restart DSH. Remove or disable the plugin through the DSH plugin manager to uninstall it. Session logs remain unchanged.

Project structure

token-monitor/
├── client.js          # Dashboard, chart interactions, styles, and UI dictionaries
├── index.js           # Read-only route and session summary cache
├── usage.js           # Request deduplication and token aggregation
├── cordis.patch.yml   # DSH bundle registration
├── icon.svg           # Sidebar/plugin icon
├── locale/            # Plugin metadata translations
├── docs/images/       # Light and dark README previews
├── README.md
├── README.zh-CN.md
├── LICENSE
└── package.json

The client remains a single DSH module so the plugin can be installed directly without a bundler. React and DSH services are supplied by the host.

Development and packaging

There are no dependencies to install and no compilation step. To check JavaScript syntax:

npm run check

To create an installable archive:

npm pack --ignore-scripts

The package manifest explicitly lists distributable files. Generated archives and local artifacts are ignored by Git. After editing, reinstall or reload the plugin as needed and verify it in your DSH profile.

Contributing

Issues and pull requests are welcome. For a bug report, include your DSH version, profile type, reproduction steps, and expected/actual behavior. Remove prompts, credentials, session content, and private paths before sharing logs or screenshots.

License

MIT. This is a community plugin and is not an official DeepSeek product.

Maintainers: see release and marketplace submission.