中文EN

@steven-wu/dsh-cost-meter

usage装不上npmMIT 條件偏離

dsh plugin: live USD cost badge (whole-session + per-turn) from provider token usage and a configurable pricing table.

🔌 需要联网
未声明
✅ 沙箱测试
装不上
🏷️ 已发布版本
3 个

這個插件適合誰

  • 經常開長會話、需要會話管理的人
  • ⚠️ 這個插件在沙箱裡測下來跑不起來,現在裝不了
下载量 / Downloads
0
测试时间 / Tested
2026-11-07
DSH 版本 / Version
0.2.2-rc.1

安装

dsh plugin --profile web add @steven-wu/dsh-cost-meter

沙箱测试结果

條件偏離 —— 本結果在 DSHIO/T 21 v0.9 條件下產生(內存 1g、CPU 1.5、T4 超時 60s,未記鏡像 digest)。偏離條款:5.1.3(内存 768MB)、5.1.3(CPU 1 核)、5.1.6(T4 超时 90s)、5.1.2(镜像 digest)。按 DSHIO/T 21 §8.2,該判定不得與標準條件結果比較,不得用作認證依據。
阶段结果
T0 静态检查—
T1 安装✗
T2 列装—
T3 挂载—
T4 启动—
第一条错误
dsh: initialized profile web at /home/node/.dsh/profiles/web

四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。

版本

npm 上共发布:3,最后更新 2026-08-17

链接

GitHub · Homepage · npm

常見問題

怎麼安裝 @steven-wu/dsh-cost-meter?
在 DSH 裡執行 dsh plugin --profile web add @steven-wu/dsh-cost-meter。如果你用的是 DSH Desktop,也可以在插件頁面直接貼套件名。
裝不上怎麼辦?
我們在沙箱裡測出來的結果是「install_failed」。第一條錯誤見上方測試結果區。建議先升級到最新版本,或到 GitHub 倉庫提 issue。
怎麼卸載?
執行 dsh plugin --profile web remove @steven-wu/dsh-cost-meter。

同类插件

同類插件對比

插件下載沙箱判定體積
dsh-context340.3K✅ 通過6.64 MB
dsh-cost-meter122.2K✅ 通過10.38 MB
@kenz1117/dsh-ui-usage-billing13.7K✅ 通過1.06 MB
@dougen/dsh-deepseek-usage12.6K✅ 通過1.46 MB
dsh-fast-mode11.6K✅ 通過1.37 MB
dsh-subusage11.4K✅ 通過480.79 MB
dsh-aiignore10.1K✅ 通過0.46 MB
dsh-profile-stats8.4K✅ 通過0.18 MB