dsh-cost-meter 1.8.13 → 1.8.14

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 CHANGED
@@ -8,12 +8,14 @@
8
8
 
9
9
  Per-conversation cost · daily totals · OpenCode Go subscription quota display · budget with usage percentage · official account balance · custom provider balance · balance progress bar · history · peak/off-peak pricing hours display (peak hours UTC 01:00–04:00, 06:00–10:00; weekends and Chinese public holidays are off-peak all day, with separate labels) · pre-switch popup & system-notification alerts for peak/off-peak changes (position / lead time / alert type configurable) · one-click price sync from the official docs · Codex-style token usage heat grid · multi-vendor model pricing (built-in 170+ model-ID catalog with auto-matching) · mainstream Coding Plan quota queries & display (Anthropic / Z.ai / MiniMax / Kimi / OpenRouter / SiliconFlow / CommandCode / SCNet / Volcano Ark / Qwen / Xiaomi MiMo) plan/API dual-track billing (subscription quota vs pay-as-you-go money separated, per-1% & full-window token/equivalent-cost estimates with daily/weekly/monthly curves) · · quota strip above the input box (budget / Go / coding-plan usage in one row, toggleable)
10
10
 
11
- [![version](https://img.shields.io/badge/version-1.8.13-4176E6)](https://github.com/Han-1413141/dsh-cost-meter)
11
+ [![version](https://img.shields.io/badge/version-1.8.14-4176E6)](https://github.com/Han-1413141/dsh-cost-meter)
12
12
 
13
- **v1.8.13** adds an optional amount-only conversation cost line below the composer. Enable it in **Settings → Cost → Display**; hover to see cache hit rate, token counts and model amounts. See the [release notes](docs/release-notes/v1.8.13.md).
13
+ **v1.8.14** fixes stale ledger locks after PID reuse, restoring plugin startup without changing recorded costs. Update and restart the affected host once; see the [recovery guide](docs/ledger-lock-recovery.md#english). See the [release notes](docs/release-notes/v1.8.14.md).
14
14
 
15
15
  Desktop users: follow the [Desktop installation instructions](docs/install-troubleshooting.md#desktop-安装与更新) for the application's own CLI and `desktop` Profile.
16
16
 
17
+ If startup reports **Ledger is busy** and the cost widgets are missing, see [ledger lock recovery](docs/ledger-lock-recovery.md#english).
18
+
17
19
  [![npm](https://img.shields.io/npm/v/dsh-cost-meter?label=npm)](https://www.npmjs.com/package/dsh-cost-meter)
18
20
  [![license](https://img.shields.io/badge/license-MIT-green)](LICENSE)
19
21
  [![dsh](https://img.shields.io/badge/DeepSeek%20Harness-dsh--plugin-4176E6)](https://github.com/deepseek-ai/deepseek-harness)
@@ -320,22 +322,22 @@ On Node.js 20, use `npm install -g pnpm@10` instead. See [pnpm installation and
320
322
  dsh plugin --profile web add dsh-cost-meter
321
323
  ```
322
324
 
323
- **PowerShell one-click script** (copy the whole line, paste, press Enter; pnpm is provisioned automatically, git is auto-detected — no clone needed; the install chain is **pinned to the release tag `v1.8.13`** — review the script before running):
325
+ **PowerShell one-click script** (copy the whole line, paste, press Enter; pnpm is provisioned automatically, git is auto-detected — no clone needed; the install chain is **pinned to the release tag `v1.8.14`** — review the script before running):
324
326
 
325
327
  ```powershell
326
- irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.8.13/install.ps1 | iex
328
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.8.14/install.ps1 | iex
327
329
  ```
328
330
 
329
331
  **Or a plain command line** (the machine must already have pnpm and git; also pinned to the tag):
330
332
 
331
333
  ```sh
332
- dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.8.13
334
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.8.14
333
335
  ```
334
336
 
335
337
  Without git, use the GitHub tag archive:
336
338
 
337
339
  ```sh
338
- dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.8.13.tar.gz
340
+ dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.8.14.tar.gz
339
341
  ```
340
342
 
341
343
  After installing, **restart** `dsh web` (plugin rows, the Typert manifest and the client bundle are all scanned at startup):
package/README.zh-CN.md CHANGED
@@ -8,12 +8,14 @@
8
8
 
9
9
  本会话费用 · 当日费用 · OpenCode Go 订阅额度显示 · 预算与已用百分比 · 官方账户余额 · 自定义 Provider 余额查询(可配任意 HTTP 端点) · 余额三段进度条 · 历史记录 · 峰谷计价时段显示(UTC 01:00–04:00、06:00–10:00 为峰时段;周末与中国法定假日全天按谷价,分别标注) · 峰/谷切换前弹窗与系统通知提醒(位置/提前量/提醒类型可配) · 官方价格一键同步 · 类 Codex Token 用量热图 · 多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配) · 主流 Coding Plan 额度查询与显示(Anthropic / Z.ai / MiniMax / Kimi / OpenRouter / SiliconFlow / CommandCode / SCNet / 火山方舟 / 千问 / 小米 MiMo 十一家,含 Volcano Ark AK/SK 签名与 MiMo 控制台 Cookie 查询) · Plan/API 双轨计费(订阅额度与按量金额分离统计,每 1% 额度与满窗的 token/等值金额估算及日/周/月曲线) · 输入框上方额度横条(预算/Go/Coding Plan 用量一条横排显示,可开关)
10
10
 
11
- [![version](https://img.shields.io/badge/version-1.8.13-4176E6)](https://github.com/Han-1413141/dsh-cost-meter)
11
+ [![version](https://img.shields.io/badge/version-1.8.14-4176E6)](https://github.com/Han-1413141/dsh-cost-meter)
12
12
 
13
- **v1.8.13** 增加输入区下方会话费用只显示金额的开关。在**设置 → 费用 → 显示**中启用,悬停仍可查看缓存命中率、Token 数量和模型费用。详见[更新说明](docs/release-notes/v1.8.13.md)。
13
+ **v1.8.14** 修复 PID 复用导致旧账本锁长期占用、插件启动失败的问题,保留已有计费记录。更新后重启受影响宿主一次,见[恢复说明](docs/ledger-lock-recovery.md#简体中文)。详见[更新说明](docs/release-notes/v1.8.14.md)。
14
14
 
15
15
  桌面端用户请按 [Desktop 安装说明](docs/install-troubleshooting.md#desktop-安装与更新),使用应用自带的 CLI 和 `desktop` Profile。
16
16
 
17
+ 启动报 **Ledger is busy** 且费用卡片消失时,参见[账本锁恢复说明](docs/ledger-lock-recovery.md#简体中文)。
18
+
17
19
  [![npm](https://img.shields.io/npm/v/dsh-cost-meter?label=npm)](https://www.npmjs.com/package/dsh-cost-meter)
18
20
  [![license](https://img.shields.io/badge/license-MIT-green)](LICENSE)
19
21
  [![dsh](https://img.shields.io/badge/DeepSeek%20Harness-dsh--plugin-4176E6)](https://github.com/deepseek-ai/deepseek-harness)
@@ -320,22 +322,22 @@ Node.js 20 请改用 `npm install -g pnpm@10`。版本要求见 [pnpm 官方安
320
322
  dsh plugin --profile web add dsh-cost-meter
321
323
  ```
322
324
 
323
- **PowerShell 一键脚本**(复制整行粘贴回车;自动补齐 pnpm、自动探测 git,无需克隆仓库;安装链**固定到发布 tag `v1.8.13`**,建议先下载审阅再运行):
325
+ **PowerShell 一键脚本**(复制整行粘贴回车;自动补齐 pnpm、自动探测 git,无需克隆仓库;安装链**固定到发布 tag `v1.8.14`**,建议先下载审阅再运行):
324
326
 
325
327
  ```powershell
326
- irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.8.13/install.ps1 | iex
328
+ irm https://raw.githubusercontent.com/Han-1413141/dsh-cost-meter/v1.8.14/install.ps1 | iex
327
329
  ```
328
330
 
329
331
  **或直接命令行**(机器上需已有 pnpm 与 git;同样固定到 tag):
330
332
 
331
333
  ```sh
332
- dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.8.13
334
+ dsh plugin --profile web add github:Han-1413141/dsh-cost-meter#v1.8.14
333
335
  ```
334
336
 
335
337
  没有 git 时可用 GitHub tag 打包直链:
336
338
 
337
339
  ```sh
338
- dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.8.13.tar.gz
340
+ dsh plugin --profile web add https://github.com/Han-1413141/dsh-cost-meter/archive/refs/tags/v1.8.14.tar.gz
339
341
  ```
340
342
 
341
343
  安装后**重启** `dsh web`(插件行、Typert 清单与客户端 bundle 均在启动时扫描):
@@ -0,0 +1,45 @@
1
+ # Ledger lock recovery / 账本锁恢复
2
+
3
+ ## English
4
+
5
+ Issue [#237](https://github.com/Han-1413141/dsh-cost-meter/issues/237) reports a startup failure with **Ledger is busy; preserving pending changes for retry**. The sidebar balance and quota widgets disappear because the cost-meter loader entry did not activate. An old lock can name a PID that now belongs to a different process; checking only whether that PID exists cannot identify the original owner.
6
+
7
+ ### Update and recover
8
+
9
+ 1. Update `dsh-cost-meter` in the affected Profile. Web users can run `dsh plugin --profile web add dsh-cost-meter`. Desktop users must use the application's own CLI and the `desktop` Profile; see the [Desktop guide](install-troubleshooting.md#desktop-安装与更新).
10
+ 2. Restart that DSH host. For Desktop, fully exit the application including its tray process, then reopen it. The upgraded plugin recovers a proven stale lock before loading its ledger.
11
+ 3. Confirm that the host logs contain `[dsh-cost-meter] 已加载` and that the Cost page and sidebar widgets return. Existing ledger amounts and history remain intact; this recovery does not reprice usage.
12
+
13
+ A previously failed loader entry is not necessarily retried when an unrelated configuration file changes. Restarting the affected host applies the installed fix; adding a dummy `balance.refreshMinutes` override is unnecessary. This plugin does not change DSH's loader/HMR retry policy.
14
+
15
+ ### What changes
16
+
17
+ - Owner filenames retain their original `PID-UUID` format. The owner file now records process identity: Linux uses the boot ID, PID namespace and process start ticks; Windows uses the native process creation time.
18
+ - A lock is recovered when its process has exited, or when a comparable native identity confirms PID reuse. Linux locks with identity records from another host or PID namespace are not treated as local owners.
19
+ - Earlier versions wrote empty owner files. These are recovered only when the file predates the identified process's start, with a two-second margin for timestamp precision. The current process also has an uptime-based fallback. A lock is not expired just because it is old.
20
+ - Unknown ownership, inaccessible process information and incomplete owner writes remain locked. A genuine competing writer retains its lock. Only the identified owner file and empty lock directory are removed; the ledger is preserved.
21
+
22
+ If a genuine writer still holds the lock, let its operation finish and restart the failed host entry. For persistent failures, attach the plugin and DSH versions, other installed plugins, the sanitized startup error, and lock directory filenames/timestamps. Do not include the ledger contents or credentials. Do not delete `ledger.json` to restore the widgets.
23
+
24
+ Implementation references: [Linux process start ticks](https://man7.org/linux/man-pages/man5/proc_pid_stat.5.html), [Windows process StartTime](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.starttime).
25
+
26
+ ## 简体中文
27
+
28
+ Issue [#237](https://github.com/Han-1413141/dsh-cost-meter/issues/237) 报告启动时出现 **Ledger is busy; preserving pending changes for retry**。费用插件未成功挂载,侧栏余额和额度卡片随之消失。旧锁中的 PID 可能已经被系统分配给另一个进程,仅检查 PID 是否存在不能确认原锁持有者。
29
+
30
+ ### 升级与恢复
31
+
32
+ 1. 更新受影响 Profile 中的 `dsh-cost-meter`。Web 用户可执行 `dsh plugin --profile web add dsh-cost-meter`。桌面端使用应用自带 CLI 和 `desktop` Profile,见 [Desktop 安装说明](install-troubleshooting.md#desktop-安装与更新)。
33
+ 2. 重启该 DSH 宿主。桌面端完全退出应用(包括托盘)后重新打开。新版插件会在读取账本前回收已确认失效的锁。
34
+ 3. 确认日志出现 `[dsh-cost-meter] 已加载`,费用页和侧栏卡片恢复。已有金额和历史记录保留,此过程不重新定价。
35
+
36
+ 已经失败的加载器条目不一定会因无关配置文件变化而重试。重启受影响宿主即可加载已安装修复,无需添加临时 `balance.refreshMinutes` 配置。本插件不修改 DSH 加载器的热重载重试策略。
37
+
38
+ ### 修复规则
39
+
40
+ - 锁文件名继续使用原有 `PID-UUID` 格式,文件内容增加进程身份。Linux 保存系统启动 ID、PID 命名空间和进程启动计数;Windows 保存操作系统提供的进程创建时间。
41
+ - 进程已经退出,或原生启动身份能确认 PID 被复用时,回收旧锁。对于有身份记录的 Linux 锁,不会把其他主机或 PID 命名空间中的持有者误当成本机进程。
42
+ - 兼容旧版空锁文件。只有文件早于对应进程启动时间,并留出两秒精度余量时,才认定失效;当前进程还可用运行时长推算启动时间。锁的存放时间长短不是独立回收依据。
43
+ - 身份不明、进程信息不可读取或文件未写完整时,保留锁。真实并发写入者继续持锁。恢复只删除已确认的锁持有者文件和空锁目录,保留账本。
44
+
45
+ 如果是真实写入进程占锁,等待其操作结束后重启加载失败的宿主。持续失败时,请附插件和 DSH 版本、其他已安装插件、脱敏启动错误,以及锁目录中文件的名称和时间。不要附账本内容或凭据,也不要通过删除 `ledger.json` 恢复卡片。
@@ -0,0 +1,79 @@
1
+ /** Process identity for local ledger locks; PID liveness alone cannot detect reuse. */
2
+ import { readFileSync, readlinkSync, statSync } from 'node:fs'
3
+ import { execFileSync } from 'node:child_process'
4
+ import { hostname } from 'node:os'
5
+ import { join } from 'node:path'
6
+
7
+ const host = hostname()
8
+ const ownStartMs = Date.now() - process.uptime() * 1000
9
+ const commandOptions = { encoding: 'utf8', timeout: 2000, maxBuffer: 1024, windowsHide: true, stdio: ['ignore', 'pipe', 'ignore'] }
10
+ let ownIdentity, clockTicks
11
+
12
+ function processIdentity(pid, legacy = false) {
13
+ try {
14
+ if (process.platform === 'linux') {
15
+ // comm can itself contain spaces and ')'; field 22 follows its last ')'.
16
+ const stat = readFileSync(`/proc/${pid}/stat`, 'utf8')
17
+ const start = stat.slice(stat.lastIndexOf(')') + 2).trim().split(/\s+/)[19]
18
+ if (!/^\d+$/.test(start ?? '')) return null
19
+ const boot = readFileSync('/proc/sys/kernel/random/boot_id', 'utf8').trim()
20
+ const namespace = readlinkSync(`/proc/${pid}/ns/pid`)
21
+ if (!/^[a-f0-9-]{36}$/.test(boot) || !namespace) return null
22
+ let startedAtMs = pid === process.pid ? ownStartMs : null
23
+ if (legacy && pid !== process.pid) {
24
+ clockTicks ??= Number(execFileSync('getconf', ['CLK_TCK'], commandOptions).trim())
25
+ const bootTime = readFileSync('/proc/stat', 'utf8').match(/^btime (\d+)$/m)?.[1]
26
+ if (Number.isFinite(clockTicks) && clockTicks > 0 && bootTime) startedAtMs = (Number(bootTime) + Number(start) / clockTicks) * 1000
27
+ }
28
+ return { platform: 'linux', boot, namespace, start, startedAtMs }
29
+ }
30
+ if (process.platform === 'win32') {
31
+ const powershell = join(process.env.SystemRoot ?? 'C:\\Windows', 'System32', 'WindowsPowerShell', 'v1.0', 'powershell.exe')
32
+ const start = execFileSync(powershell, ['-NoProfile', '-NonInteractive', '-Command',
33
+ `(Get-Process -Id ${pid} -ErrorAction Stop).StartTime.ToUniversalTime().Ticks`], commandOptions).trim()
34
+ if (!/^\d+$/.test(start)) return null
35
+ return { platform: 'win32', start, startedAtMs: Number(BigInt(start) / 10000n - 62135596800000n) }
36
+ }
37
+ } catch { /* Missing process, permissions or OS tools: ownership remains unknown. */ }
38
+ return null
39
+ }
40
+
41
+ function localIdentity() {
42
+ if (ownIdentity === undefined) ownIdentity = processIdentity(process.pid)
43
+ return ownIdentity
44
+ }
45
+
46
+ export function ledgerLockOwner() {
47
+ return JSON.stringify({ version: 1, host, identity: localIdentity() })
48
+ }
49
+
50
+ /** Only dead processes, changed native identities or pre-birth legacy files qualify. */
51
+ export function staleLedgerLockOwner(path, pid, identities = new Map()) {
52
+ if (!Number.isSafeInteger(pid) || pid <= 0 || pid > 2147483647) return false
53
+ const text = readFileSync(path, 'utf8')
54
+ let previous
55
+ if (text !== '') {
56
+ try { previous = JSON.parse(text) } catch { /* Incomplete owner write is not stale. */ }
57
+ if (previous?.host && previous.host !== host) return false
58
+ const local = localIdentity()
59
+ // Same-boot locks in another PID namespace cannot be probed from this one.
60
+ if (previous?.identity?.platform === 'linux' && local?.platform === 'linux'
61
+ && previous.identity.boot === local.boot && previous.identity.namespace !== local.namespace) return false
62
+ }
63
+ try { process.kill(pid, 0) } catch (error) { return error.code === 'ESRCH' }
64
+ if (pid !== process.pid && !identities.has(pid)) identities.set(pid, processIdentity(pid, text === ''))
65
+ const current = pid === process.pid ? localIdentity() : identities.get(pid)
66
+ if (text === '') {
67
+ // v1.8.13 and earlier wrote empty owner files. Allow for timestamp precision
68
+ // and startup-time estimation; ordinary old locks are never expired by age.
69
+ const start = pid === process.pid ? (current?.startedAtMs ?? ownStartMs) : current?.startedAtMs
70
+ return Number.isFinite(start) && statSync(path).mtimeMs < start - 2000
71
+ }
72
+ const identity = previous?.version === 1 && previous.identity
73
+ if (!identity || !current || identity.platform !== current.platform || typeof identity.start !== 'string' || !/^\d+$/.test(identity.start)) return false
74
+ if (current.platform === 'linux') {
75
+ if (typeof identity.boot !== 'string' || typeof identity.namespace !== 'string') return false
76
+ return identity.boot !== current.boot || identity.start !== current.start
77
+ }
78
+ return identity.start !== current.start
79
+ }
@@ -5,6 +5,7 @@ import { randomUUID } from 'node:crypto'
5
5
  import { repairDailySessionTotals } from './ledger-totals.js'
6
6
  import { isDeepStrictEqual as equal } from 'node:util'
7
7
  import { appendHourBucket, pruneHourBuckets, PLAN_SAMPLE_CAP, PLAN_SAMPLE_MAX_AGE_MS } from './plan-billing.js'
8
+ import { ledgerLockOwner, staleLedgerLockOwner } from './ledger-lock-owner.js'
8
9
 
9
10
  const fields = ['input', 'output', 'cacheRead', 'cacheWrite', 'reasoning', 'calls', 'cost', 'apiCost']
10
11
  const safe = key => !['__proto__', 'constructor', 'prototype'].includes(key)
@@ -12,16 +13,22 @@ const object = value => value !== null && typeof value === 'object' && !Array.is
12
13
  const clone = value => value === undefined ? undefined : structuredClone(value)
13
14
  const pause = new Int32Array(new SharedArrayBuffer(4))
14
15
 
15
- /** mkdir is exclusive on Windows and POSIX. A live owner is never evicted by age. */
16
+ /** mkdir is exclusive on Windows and POSIX. A matching live owner is never expired. */
16
17
  export function withLedgerLock(path, action, timeoutMs = 5000) {
17
18
  mkdirSync(dirname(path), { recursive: true })
18
19
  const lock = `${path}.lock`
19
20
  const owner = `${process.pid}-${randomUUID()}`
21
+ const record = ledgerLockOwner()
22
+ const identities = new Map()
20
23
  const deadline = Date.now() + timeoutMs
21
24
  for (;;) {
22
25
  try {
23
26
  mkdirSync(lock)
24
- try { writeFileSync(join(lock, owner), '') } catch (error) { rmdirSync(lock); throw error }
27
+ try { writeFileSync(join(lock, owner), record, { flag: 'wx' }) } catch (error) {
28
+ try { unlinkSync(join(lock, owner)) } catch {}
29
+ rmdirSync(lock)
30
+ throw error
31
+ }
25
32
  break
26
33
  } catch (error) {
27
34
  // Windows can briefly report EPERM while another process finishes removing
@@ -31,11 +38,11 @@ export function withLedgerLock(path, action, timeoutMs = 5000) {
31
38
  const names = readdirSync(lock)
32
39
  const previous = names.length === 1 && names[0].match(/^(\d+)-[a-f0-9-]+$/)
33
40
  if (previous) {
34
- let dead = false
35
- try { process.kill(Number(previous[1]), 0) } catch (probe) { dead = probe.code === 'ESRCH' }
36
41
  // Only the contender that removes this unique owner file may remove the
37
42
  // directory. Other contenders cannot accidentally unlink a new lock.
38
- if (dead) { unlinkSync(join(lock, names[0])); rmdirSync(lock); continue }
43
+ if (staleLedgerLockOwner(join(lock, names[0]), Number(previous[1]), identities)) {
44
+ unlinkSync(join(lock, names[0])); rmdirSync(lock); continue
45
+ }
39
46
  } else if (names.length === 0 && Date.now() - statSync(lock).mtimeMs > 30_000) {
40
47
  rmdirSync(lock) // Also recovers a process killed between mkdir and owner creation.
41
48
  continue
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cost-meter",
3
- "version": "1.8.13",
3
+ "version": "1.8.14",
4
4
  "description": "DeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 170+ 模型 ID 价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(11 家,含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询)、自定义 Provider 余额查询(可配任意 HTTP 端点)与余额进度条、峰谷计价时段显示与切换前弹窗/系统通知提醒(位置/提前量/类型可配),界面中英双语。Session cost tracking plugin for DeepSeek Harness: per-conversation cost, daily totals, history and official price sync, with multi-vendor model pricing (built-in 170+ model-ID catalog with auto-matching), Coding Plan quota queries & display for 11 vendors (incl. Xiaomi MiMo Token Plan via console cookie, local credits metering for the SCNet Token Plan and Volcano Ark Coding Plan via AK/SK signature), plan/API dual-track billing with per-1% & full-window Token Plan usage estimates, custom provider balance lookup (configurable HTTP endpoint) and balance progress bar, plus peak/off-peak pricing display with pre-switch popup & system-notification alerts (position / lead time / type configurable), in a bilingual (Chinese/English) UI.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -96,6 +96,7 @@
96
96
  "cordis.patch.yml",
97
97
  "docs/provider-pricing.json",
98
98
  "docs/billing-statistics.md",
99
+ "docs/ledger-lock-recovery.md",
99
100
  "docs/external-usage.md",
100
101
  "docs/qwen-cli-quota.md",
101
102
  "docs/session-sidebar-recovery.md",