yangyongzhen/dsh-session-report ↗★ 0
dsh-session-report
Token usage / cache-hit / duration report cards for DeepSeek Harness sessions, with optional cost estimation.
AI Analysis
自动统计并生成会话的 Token 消耗、缓存命中率和时间报表,支持配置单价估算成本。适合需要监控和优化 AI 使用成本与效率的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yangyongzhen/dsh-session-reportREADME
Read the full README ↗配置
- id: report
config:
enabled: true
outDir: ~/reports # 报表目录,默认 $DSH_HOME/reports
debounceMs: 1000 # turn/end 后的静默等待
costPerMInput: 1.2 # 可选:每百万输入 token 价格(元),配置后估算成本
costPerMOutput: 4.0 # 可选:每百万输出 token 价格(元)
价格单位任意(元/美元/分),按"每百万 token"填写;不配置则不显示成本。