Crayonnan/DeepSeek-harness-Extension0

dsh-quota-bar

DeepSeek Harness plugin: session-header quota bar — OpenCode Go usage windows or DeepSeek API balance, plus session cache-hit rate

AI Analysis

核心用途是在会话顶部直观展示 API 余额、用量和缓存命中率。适合需要监控 Token 消耗和资费成本的 DSH 用户。

Package
dsh-quota-bar
Version
0.1.3
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

Configuration

- id: quota-bar
  name: dsh-quota-bar
  config:
    opencodeUsageUrl: https://opencode.ai/zen/go/v1/usage  # default
    deepseekBaseUrl: https://api.deepseek.com              # default
    timeoutMs: 15000                                       # default
    sessionsRoot:                           # optional; default $DSH_HOME/sessions
    modelCosts:                                            # optional; overrides catalog pricing (USD / 1M tokens)
      kimi-k3: { input: 3, output: 15, cacheRead: 0.3, cacheWrite: 0 }

Pricing priority: built-in table < pi-ai catalog ( .json) < modelCosts.