dsh-bottom-info-bar 1.27.1 → 1.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/README.zh-CN.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,8 @@ Plugin information is further grouped by billing mode — read only the block th
|
|
|
63
63
|
|
|
64
64
|
API keys go in DSH under **Settings → Models**; subscriptions (Codex, OpenCode, Xiaomi Token Plan, Command Code, MiniMax, Zhipu GLM, Kimi For Coding) read the local sign-in or the model key already configured in DSH (MiniMax's needs to be a Subscription Key). Unused plans never show up, and nothing needs to be typed on the plugin page. The one exception is Alibaba Token Plan (China and international sites): the inference plan key cannot read quota, so set an Alibaba Cloud AccessKey (`ALIBABA_CLOUD_ACCESS_KEY_ID` / `ALIBABA_CLOUD_ACCESS_KEY_SECRET`, a RAM user is enough) under **Quota credentials** in the plugin settings (collapsed by default), or in DSH's credentials / same-named environment variables. Anything off the list gets a not-supported hint instead of borrowed numbers.
|
|
65
65
|
|
|
66
|
+
One caveat for Codex: its numeric windows are read through an internal usage endpoint used by OpenAI's own Codex client. That endpoint is not publicly documented, and OpenAI may change or close it at any time. If you would rather not rely on it, do not sign in to Codex CLI (or delete `~/.codex/auth.json`) and Codex will show plan information only.
|
|
67
|
+
|
|
66
68
|
## Spend and updates
|
|
67
69
|
|
|
68
70
|
The ledger requires a DSH runtime with Node.js 22.13 or newer. It keeps records and historical session indexes in a local disk database, reads bounded batches, and streams exports. Existing ledger files are migrated once and retained for recovery; see [Ledger storage and recovery](docs/LEDGER.md).
|
package/README.zh-CN.md
CHANGED
|
@@ -63,6 +63,8 @@ https://github.com/songoao25/dsh-bottom-info-bar
|
|
|
63
63
|
|
|
64
64
|
API 密钥填在 DSH 的**设置 → 模型**;订阅类(Codex、OpenCode、小米 Token Plan、Command Code、MiniMax、智谱、Kimi For Coding)读本机登录或 DSH 里配的推理 Key 直接查额度(MiniMax 那把需是 Subscription Key),不在用的套餐不会出现在信息栏,也不用再在插件页填任何东西。只有阿里 Token Plan(中国站/国际站)例外:推理套餐 Key 读不到额度,要另配阿里云 AccessKey——`ALIBABA_CLOUD_ACCESS_KEY_ID` / `ALIBABA_CLOUD_ACCESS_KEY_SECRET`(RAM 用户即可),在**插件设置页的「额度凭据」**里填(默认折叠),也可以填在 DSH 凭据或同名环境变量里。列表里没有的服务商只会显示未适配提示,绝不借用别家的数据。
|
|
65
65
|
|
|
66
|
+
Codex 要多说一句:它的数字窗口是通过 Codex 官方客户端使用的内部用量接口读取的,该接口没有公开文档,OpenAI 未来可能调整或关闭。介意的用户可以不登录 Codex CLI(或删除 `~/.codex/auth.json`),届时 Codex 只显示套餐信息。
|
|
67
|
+
|
|
66
68
|
## 花费与更新
|
|
67
69
|
|
|
68
70
|
账本需要 DSH 内部运行环境为 Node.js 22.13 或更新版本。账目和历史会话保存在本机磁盘,按需分批读取,导出直接下载。升级会迁移旧账,但保留旧文件供恢复核对;详见 [账本存储与恢复](docs/LEDGER.md)。
|