hccccc01333/dsh-analytics0

dsh-analytics

Agent FinOps / token analytics for DeepSeek Harness: usage collection, time-aware cost engine, cache analysis, and session drill-down

AI 分析

提供基于 SQLite 的 Token 消耗与成本分析。适合需要精细化监控大模型 API 账单、分析缓存命中率及进行 FinOps 管理的用户。

パッケージ
dsh-analytics
バージョン
0.4.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:hccccc01333/dsh-analytics

ドキュメント

README 全文を読む ↗

Configuration

The plugin row's config (see cordis.yml for the shape):

KeyTypeDefaultDescription
dbPathstring— (required)SQLite database file; missing directories are created.
currencystringPreferred currency sorted first in summaries (rows carry their own currency).
peakHours[startHour, endHour][][[1,4],[6,10]]UTC half-open peak windows; all other hours are off-peak.
pricingPricingRow[]shipped DeepSeek V4 tablePricing rows that replace the shipped defaults.
pricingFilestring (absolute)JSON file of PricingRow[]; mutually exclusive with pricing.
budget.dailynumberDaily spending limit in budget.currency (UTC day).
budget.monthlynumberMonthly limit; the overview also projects month-end spend.
budget.currencystringcurrency or USDCurrency the limits are measured in.
toolsbooleantrueRegister the analytics_query agent tool.
webbooleantrueRegister the /api/analytics/* JSON routes when ctx.webServer exists.