lelens0/dsh-token-ledger0

dsh-token-ledger

Token 账本:自动读取 DSH 供应商配置,监测多个 LLM 网关的余额与用量,简洁面板展示

AI Analysis

核心用途是集中监控多个大模型网关的余额和 Token 消耗。适合配置了多服务商、需要精细化管理 API 成本的用户。

Package
dsh-token-ledger
Version
0.3.0
License
MIT
Last updated
Aug 30, 2026

Install

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

账号凭据配置(可选)

需账号登录的网关(HC / SupXH / Vyce)需要配置账号密码才能查询余额。 创建 ~/.dsh/token-ledger.json(独立于 settings.yaml,避免 cordis settings 未注册 namespace 的问题):

{
  "hcnsec": { "username": "你的用户名", "password": "你的密码" },
  "vyce":   { "email": "你的邮箱", "password": "你的密码" },
  "supxh":  { "username": "你的用户名", "password": "你的密码" }
}

支持字段:username / email(三选一填写即可)+ password。凭据仅本地读取,不暴露给浏览器端。