121212165/dsh-plugin-quota ↗★ 0

dsh-plugin-quota

实时用量仪表:会话级 token/轮次/估算花费实时追踪,注入系统提示 + /qm 面板 + quota_meter 卡片;也是家族通用插件开发测试模板(events/commands/tools/section/presentation 全覆盖)。 适合需要实时监控单次对话成本、防止超支的用户。

パッケージ
dsh-plugin-quota
互換性
未検証
Cordis ピア範囲
>=4.0.0
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/02

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:121212165/dsh-plugin-quota

ドキュメント

README 全文を読む ↗

配置

budgetTokens: 0      # 单会话 token 预算,0 = 不显示进度条
inject: true         # 实时仪表注入系统提示
prices:              # 按模型 id 子串匹配,命中才估花费
  - match: space-bunny
    currency: USD
    perMillion: { input: 1, output: 2, cacheRead: 0.1 }