dsh-billing-tui
Peak/off-peak billing plugin for DeepSeek Harness (dsh) — real-time token costing, ASCII whale receipts, TUI status line & /billing command
DeepSeek Harness (dsh) 的峰谷计费插件 —— 实时 token 成本计算、ASCII 鲸鱼小票、TUI 状态栏和 /billing 命令。
How to install
dsh plugin add dsh-billing-tui About
dsh-billing-tui DeepSeek Harness (DSH) 峰谷计费插件 —— 实时监听会话 token 用量、按 DeepSeek 官方峰谷定价计算费用、生成鲸鱼 ASCII 账单小票,并在 TUI 状态行实时显示费用。 专为 [dsh][] (DeepSeek Harness) 及其 TUI 终端界面设计,同时兼容 Web UI。安装后即可在对话流里用 /billing 打印一张完整的收银台风格账单。 [dsh]: https://github.com/deepseek-ai/dsh --- 效果 在 TUI 对话流里运行 /billing,会持久打印一张完整的鲸鱼 ASCII 账单小票(点引导线两端对齐、对终端空格折叠免疫): --- 特性 **峰谷分时计费**:严格对齐 DeepSeek 官方计价页,高峰时段收全价、空闲时段打五折,切换时段自动按对应单价结算。 **/billing 命令**:在 TUI 对话流中持久打印鲸鱼 ASCII 账单小票(含每个模型的 费用小计 与整体 费用汇总),而不是一闪而过的 toast。 **TUI 状态行**:状态栏实时显示当前会话累计费用 + 高峰/空闲状态。 **Agent 工具**:暴露 show_billing(查费用)与 check_pricing_period(查当前峰谷时段)两个工具,Agent 可自行调用…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- 115
- Last push
- 2026-08-19
- Created
- 2026-08-19
Basic safety check
- Findings
- None
- Sources
- curated:0xsline/awesome-deepseek-harness
- Topics
- ascii-art, billing, cli, cordis, deepseek, deepseek-harness, dsh, dsh-plugin, plugin, terminal, tui, typescript
Related plugins
langfuse
langfuse/langfuse
🪢 Open source AI engineering platform: LLM evals, observability, metrics, prompt management, playground, datasets. Integrates with OpenTelemetry, LangChain, OpenAI SDK, LiteLLM, and more. 🍊YC W23
claude-code-templates
davila7/claude-code-templates
CLI tool for configuring and monitoring Claude Code
loki-mode
asklokesh/claudeskill-loki-mode
Multi-agent autonomous SDLC framework. Spec to deployed app. PRD, GitHub issue, OpenAPI/JSON/YAML, or one-line brief. 5 AI providers, 8 quality gates.
cc-safety-net
kenryu42/claude-code-safety-net
An AI coding agent guardrail — a CLI hook that blocks destructive git and filesystem commands and secret file access before they execute. Supports Amp Code, Antigravity CLI, Claude Code, Codex, Copilot CLI, Cursor, Gemini CLI, Hermes Agent, Kimi Code, OpenClaw, OpenCode, and Pi.