Skip to content

Commit d4d9780

Browse files
ryoppippioksure
andcommitted
feat(dsh): add DeepSeek Harness usage adapter
Read final assistant messages from plain and zstd session histories, including legacy and versioned logs with concatenated compressed frames. Deduplicate messages by session, preserve cache token categories, and resolve provider model names through existing pricing. Wire focused and unified reports, configuration, help, docs, and the Nix build layer. Cover parsing and report output with regression fixtures and snapshots. Co-authored-by: oksure <[email protected]>
1 parent 154e13b commit d4d9780

50 files changed

Lines changed: 2983 additions & 24 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/ccusage/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ ccusage reads local usage data from coding agent CLIs and turns it into daily, w
5555
| OpenCode | `ccusage opencode daily` |
5656
| Amp | `ccusage amp daily` |
5757
| Droid | `ccusage droid daily` |
58+
| DSH | `ccusage dsh daily` |
5859
| Codebuff | `ccusage codebuff daily` |
5960
| Hermes Agent | `ccusage hermes daily` |
6061
| pi-agent | `ccusage pi daily` |
@@ -113,6 +114,7 @@ bunx ccusage codex daily --speed fast
113114
bunx ccusage opencode weekly
114115
bunx ccusage amp session
115116
bunx ccusage droid daily
117+
bunx ccusage dsh weekly
116118
bunx ccusage codebuff daily
117119
bunx ccusage hermes daily
118120
bunx ccusage goose daily
@@ -157,7 +159,7 @@ bunx ccusage monthly --compact # Compact monthly report
157159
- 📊 **Daily Report**: View token usage and costs aggregated by date
158160
- 📅 **Monthly Report**: View token usage and costs aggregated by month
159161
- 💬 **Session Report**: View usage grouped by conversation sessions
160-
- 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, Antigravity, Grok Build CLI, and ZCode usage from one CLI
162+
- 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, DSH, Codebuff, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, Antigravity, Grok Build CLI, and ZCode usage from one CLI
161163
- ⏰ **5-Hour Blocks Report**: Track usage within Claude's billing windows with active block monitoring
162164
- 🚀 **Statusline Integration**: Compact usage display for Claude Code status bar hooks (Beta)
163165
- 🤖 **Model Tracking**: See which models are used across supported sources

0 commit comments

Comments
 (0)