121212165/dsh-plugin-spend-forecast ↗★ 0
dsh-plugin-spend-forecast
dsh plugin: forecast spend from the cost-ledger sidecars — daily rate, month-end projection, days until budget exhaustion. 适合需要预测API开销的用户,必须先安装并配置cost-ledger。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:121212165/dsh-plugin-spend-forecastドキュメント
README 全文を読む ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
enabled | true | |
dataDir | ~/.dsh/cost-ledger | cost-ledger 台账目录(ledger-YYYY-MM.jsonl),本插件只读 |
budgetMajor | 20 | 月度预算(货币整数单位,如 $20);0/负数视为未设预算 |
windowDays | 7 | 日均速率的回看窗口 |