sd1g1/dsh-subscription-usage0

@local/dsh-subscription-usage

DeepSeek Harness Web 的订阅 Provider 用量徽标

AI 分析

用于在 DSH 模型选择器旁直观显示订阅 Provider 的剩余用量。适合使用 OpenAI Codex 或 OpenCode Zen Go 并需要监控额度的用户。需配置对应凭据。

包名
@local/dsh-subscription-usage
版本
0.1.0
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sd1g1/dsh-subscription-usage

DSH Subscription Usage

DeepSeek Harness Web 插件:在模型选择器左侧显示订阅 Provider 的剩余用量。

安装

dsh plugin --profile web add github:sd1g1/dsh-subscription-usage

支持范围

  • openai-codex:读取 ChatGPT Codex /backend-api/wham/usage
  • opencode-go:读取 OpenCode Zen Go /zen/go/v1/usage

Provider 未配置凭据或查询失败时,徽标自动隐藏,不影响使用。

凭据

Provider默认 DSH credential ref
OpenAI CodexOPENAI_CODEX_ACCESS_TOKEN
OpenCode Zen GoOPENCODE_API_KEY