songjongdevsecops/dsh-pico-detector ↗★ 0

dsh-pico-detector

DeepSeek Harness plugin: live DeepSeek API peak/off-peak (half-price) tariff state for the agent, the chat and a sidebar chip, plus what the API cost in the chosen window. 适合需要实时监控DeepSeek资费状态、统计窗口内API消耗的用户。

패키지
dsh-pico-detector
호환성
미검증
버전
1.2.2
라이선스
MIT
최근 업데이트
2026. 10. 18.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:songjongdevsecops/dsh-pico-detector

Configuration

Everything falls back to a sane default: a wrong config never breaks the detector. Override by id in your profile patch (~/.dsh/profiles/web/cordis.patch.yml). A patch replaces the whole config of the line, so restate every key you want to keep:

- id: pico-detector
  config:
    policy:
      timezone: 'Asia/Shanghai'
      peakWindows: [['09:00', '12:00'], ['14:00', '18:00']]
      weekendOffpeak: true
    displayTimezone: 'Europe/Lisbon'        # omit to use your machine's zone
    approachMinutes: 30
    spend:
      interval: 'today'                     # today | 24h | 7d | 30d | month
      currency: 'BRL'                       # any ISO-4217 code