dsh-frame

看清一场对话到底烧了多少:模型请求次数、system prompt 与工具表各占多少、累计 token、估算花费、离上下文自动压缩还有多远。只读本地会话日志,不调模型,不往 system prompt 加一个字。token 与花费均按字符数估算,不是 provider 用量。

插件介绍

看清一场对话到底烧了多少:模型请求次数、system prompt 与工具表各占多少、累计 token、估算花费、离上下文自动压缩还有多远。只读本地会话日志,不调模型,不往 system prompt 加一个字。token 与花费均按字符数估算,不是 provider 用量。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:7gzgn/dsh-frame

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.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令