新增Tokens消耗统计可视化看板,对标CodeX Desktop平台
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 719
- Avg merge
- 4h 30m
- Merged PRs (30d)
- 83
Description
功能需求:
希望MonkeyCode平台官方新增Tokens消耗统计看板功能,参考CodeX Desktop平台的Tokens统计展示逻辑,实现可视化、明细化的Tokens使用数据展示。
需求背景:
当前MonkeyCode仅能查看基础的积分/额度余额,缺乏完整的Tokens消耗明细、趋势、分类统计,高频使用场景下无法清晰掌握:
每日/每周/每月总Tokens消耗、输入/输出Tokens拆分数据。
缓存Tokens使用占比、缓存命中率。
不同模型/不同功能模块的Tokens消耗分布。
消耗峰值时段、用量趋势变化。
CodeX Desktop平台的Tokens统计看板已实现上述能力,可直观对账用量、规划使用额度,提升用户使用透明度与成本管控体验。
期望实现效果:
独立可视化看板页面,支持按时间筛选(日/周/月/自定义)。
明细展示:总消耗、输入Tokens、输出Tokens、缓存读取Tokens、净消耗。
数据可视化:折线图展示用量趋势、饼图展示消耗分布。
支持导出统计数据,便于对账留存。
实时/准实时更新数据,同步会话使用记录。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified. Start by locating the existing quota and session-usage data flows, then use the CodeX Desktop token statistics as the reference for the proposed metrics and views. Done means a scoped dashboard design covers time filters, token breakdowns, trends, distributions, export, and update behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- analytics, data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100