dsh-recent-usage-metrics

在「性能与用量」设置里增加极客档:输入区状态行实时显示最新一次请求的首字延迟、生成速度、输出 Token、总用时与折算速度,并可展开抽屉查看最近 10 次请求及一行平均值。输出 Token 取自上游返回的 usage,仅当 usage 缺失时才使用按内容类型标定的字符估算。

插件介绍

在「性能与用量」设置里增加极客档:输入区状态行实时显示最新一次请求的首字延迟、生成速度、输出 Token、总用时与折算速度,并可展开抽屉查看最近 10 次请求及一行平均值。输出 Token 取自上游返回的 usage,仅当 usage 缺失时才使用按内容类型标定的字符估算。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:hansomgar/dsh-recent-usage-metrics

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.

版本兼容情况

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