davidgereb/dsh-plugin-cost-lens
davidgereb★ 0JavaScript最后同步: 2026-08-15
Cost overview, peak/off-peak hours indicator, balance on dashboard, off-peak scheduling for DeepSeek Harness.
README 摘要
dsh-plugin-cost-lens Cost Lens — DeepSeek API rates and per-session costs for dsh web. - Sidebar rate pill (above Settings): current rate state ( Peak hours / Off-peak hours ; until the peak/off-peak schedule starts it shows Peak hours with the flat prices), an Ends in: hh:mm countdown to the next change, and a click-to-expand detail with Input: $x.xxx/M · Output: $x.xxx/M . The peak/off-peak windows are shown in the browser's local timezone . A small spinner shows while rates refresh; a warning dot + tooltip appear when the last update failed ("working with data from last update date"). - Chat stats strip (under the prompt box): ≈ $0.35 · 1.2M in · 80k out for the active session. - Session rows + hover cards (sidebar): a small cost next to the time field and a cost line in the hover card. - Schedule to off-peak : long-press the send button to open a small menu and queue the draft for the next off-peak window start; scheduled prompts show above the composer (a distinct tint) with a cancel button. The host half keeps the queue and fires each prompt via the session's agent ( agent.followup ) — it works while the dsh web server is running, with no browser open. - Workspace cost totals…
在 GitHub 查看完整 README →