Overview
dsh-peak-guard
DeepSeek peak-hour guard for DSH: block new prompts during peak pricing (or warn only), with live status and a per-session cost estimate.
README / EN
Package documentation
Registry summary
DeepSeek peak-hour guard for DSH: block new prompts during peak pricing (or warn only), with live status and a per-session cost estimate.
dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.
Read the full README on GitHubLIMITATIONS
Known limitations
- 硬拦截发生在**消息已经发出之后**(DSH 没有「提交前」钩子),所以被拦时输入框里的字不会自动回来;原文在 `last-blocked.json` 里。 - 只有新一轮会被拦。一个 8:50 开始、9:40 才跑完的长任务,9:00 之后的部分照样按高峰计费。 - **花费是估算**:按 `tokenUsage` 投影里的 cacheRead/uncachedInput/output 乘价目,缓存写入、重试、图片等细节未计;切换模型不会自动换价目表,要手动改「计价模型」。 - **「今日累计」和「余额」还没做**:这两项需要宿主把数据送到浏览器(自定义 RPC 或 HTTP 路由),目前插件只有设置命名空间这一条通道。
