GHJIVHIDD/dsh-plugin-usage

GHJIVHIDD★ 1JavaScript最后同步: 2026-08-16

在 GitHub 打开

DeepSeek Harness 的用量(Usage)部署级插件:会话视图环新增「用量」页签,实时跟踪输入/输出/缓存命中 tokens 与费用(DeepSeek 官方峰谷价 + OpenCode Go 套餐价),动态渐变蓝状态条、自定义价格表、CSV/JSON 导出。原生UI界面

README 摘要

dsh-plugin-usage Deployment-level 用量 / Usage plugin for DeepSeek Harness (DSH). A real-time token & cost dashboard tab for the current session, placed next to Chat / Trajectory in the conversation view ring. It records input / output / cache-hit tokens and prices every model call with both the DeepSeek official peak/off-peak rate card and the OpenCode Go plan rate card , refreshes every second, shows animated gradient-blue status bars, supports a fully editable custom price table (persisted across restarts) and CSV/JSON export . 中文文档见 README.zh.md(Chinese documentation is in README.zh.md)。 ✨ Features - New "用量" tab in the conversation view ring — sits right after Trajectory ( order: 11 ), native DSH UI style (theme tokens, compact toolbar, card sections). - Real-time live tracking — wraps every llm/stream model call: a "generating" row appears the moment a call starts, output/reasoning tokens are estimated per chunk and updated every second, then replaced by the adapter's exact usage; the committed assistant/message finalizes the record (15s match window, no duplicates). - Per-session accounting — input (cache miss), output (incl. reasoning), cache hit, cache write; totals and per-…

在 GitHub 查看完整 README →
工具/开发dshdsh-bundledsh-plugindsh-plugin-desktopdsh-plugin-marketdsh-plugin-verifydsh-pluginsdsh-skill

分类