dsh-turn-cost

DSH 插件:在每轮 AI 回复后面显示这一轮花了多少钱(¥)和上下文占用百分比,点百分比即可压缩上下文。按官方峰谷价计费。

Overview

Showing the original project description.

DSH 插件:在每轮 AI 回复后面显示这一轮花了多少钱(¥)和上下文占用百分比,点百分比即可压缩上下文。按官方峰谷价计费。

Installation

Install from GitHub

dsh plugin --profile web add github:xinshang777/dsh-turn-cost

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands