wobenshiwomu/dsh-ration ↗★ 0

dsh-ration

DeepSeek Harness 插件:配给(ration)—— 自己给自己防沉迷的 5 小时/周 token 限额(刻度对标 Kimi:4000万/2亿),越线就不接新活 适合需要自我限制Token消耗、防止过度使用智能体的用户。

Package
dsh-ration
Compatibility
Unverified
Harness peer range
^0.2.0-rc.1
Version
0.1.1
License
MIT
Last updated
Oct 12, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wobenshiwomu/dsh-ration

配置(profile 层可覆盖)

- id: dsh-ration
  config:
    cap5h: 40000000      # 5 小时滚动窗
    capWeek: 200000000   # 周
    enforce: true        # 越线不做
    gate5h: true
    gateWeek: true
    warnPct: 0.8
    keepDays: 35