dsh-peak

输入框工具行左端的小胶囊:点一下就知道此刻 DeepSeek 按高峰价还是空闲价计费。点开是当前状态与计费方式、下次切换时间与倒计时,以及此刻为什么是这个状态:周末、具名的法定节假日、调休上班日,或者只是不在高峰时段内。判定用北京时间并显式写死 UTC 偏移,不看本机时钟;内置 2026 年中国法定节假日表(33 天节假日、6 个调休上班日),表外的年份直接说不知道,不猜。

插件介绍

输入框工具行左端的小胶囊:点一下就知道此刻 DeepSeek 按高峰价还是空闲价计费。点开是当前状态与计费方式、下次切换时间与倒计时,以及此刻为什么是这个状态:周末、具名的法定节假日、调休上班日,或者只是不在高峰时段内。判定用北京时间并显式写死 UTC 偏移,不看本机时钟;内置 2026 年中国法定节假日表(33 天节假日、6 个调休上班日),表外的年份直接说不知道,不猜。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-peak

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:tuoLuoSuan/dsh-peak

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.

版本兼容情况

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