JavenLu233/dsh-cost-monitor--packages-cost-monitor ↗★ 2
@javenlu233/dsh-cost-monitor
Cost-display aggregate bundle: installs the session-cost host projection and the ui-turn-cost client readout in one `dsh plugin` add.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JavenLu233/dsh-cost-monitor#d47f0dd6a2df36396965ed9bfab2c077631b68cc&path:packages/cost-monitor说明文档
阅读完整 README ↗安装(使用者)
装好 Node.js 后执行:
npx @deepseek-ai/dsh plugin --profile web add @javenlu233/dsh-cost-monitor@0.1.2 # 此处的版本号随每次正式发布更新
npx @deepseek-ai/dsh web
这里写死版本,是因为 DSH web profile 对 npm 新包有 24 小时冷却:不写版本或写
@latest时,刚发布的0.1.2会被跳过,实际装上的可能是更早的0.1.0。钉死后装的就是这一版。
浏览器打开后,插件有时不会立刻出现:等几秒再强制刷新(Windows / Linux:Ctrl+Shift+R,macOS:Cmd+Shift+R)。底部应出现「累计费用」,每条助手消息有「费用」按钮。若刷新后仍没有,关掉 dsh web 再启动一次,然后再强制刷新。
本机已有 dsh 命令时,把 npx @deepseek-ai/dsh 换成 dsh 即可。需要 DSH 0.1.0-rc.6 及以上。
卸载:
npx @deepseek-ai/dsh plugin --profile web remove @javenlu233/dsh-cost-monitor