feat: stats page, and the client becomes Chamber Go
- 全部功能 gains 统计 (Stats): ranges Today/7/30/90 days/all time, a project scope (reusing the shared project sheet, plus "All projects"), session/prompt/token/cost/active-days/streak tiles, a daily activity chart (weekly past 92 days), token composition, efficiency tiles, model ranking by tokens/cost/steps and on-request tool-call stats; data comes from /api/experimental/session/stats and the day buckets use the device's IANA zone (a small platform channel; desktop falls back to UTC) - the model bars draw a full-width track with a left-aligned fill, so a small token share reads as a sliver instead of an empty bar - AI token strings read 词元 (not 令牌) in Chinese - the client's display name is Chamber Go (launcher, iOS, Linux window, About), package unchanged; pairing/login labels and the user-agent follow, so a newly paired device shows "Chamber Go" on the web client's "Connect to this server" list - bump to 0.5.6
This commit is contained in:
1 parent
a70e9290ef
commit
b65498d73e
19 files changed
+1637
-25
No files matched your search
+52
-1
@@ -481,7 +481,7 @@ const Map<String, String> chineseStrings = {
|
||||
'Title': '标题',
|
||||
'Today': '今天',
|
||||
'Todos': '待办',
|
||||
'Tokens used': '已用 tokens',
|
||||
'Tokens used': '已用词元',
|
||||
'Tool': '工具',
|
||||
'Tools for servers and agents are collected here.': '服务器与智能体的工具都收在这里。',
|
||||
'Transfer interrupted': '传输被中断',
|
||||
@@ -548,4 +548,55 @@ const Map<String, String> chineseStrings = {
|
||||
'“{0}” and its subagent sessions will be deleted permanently.': '“{0}”及其子会话将被删除,且无法恢复。',
|
||||
'“{0}” will be removed from the list, and its device token will be deleted.': '“{0}”将从列表移除,设备令牌也会删除。',
|
||||
'📎 {0} attachments': '📎 {0} 个附件',
|
||||
|
||||
// stats
|
||||
'Stats': '统计',
|
||||
'Prompts, tokens, cost and model activity': '提示词、词元、费用与模型活动',
|
||||
'All projects': '所有项目',
|
||||
'7 days': '7 天',
|
||||
'30 days': '30 天',
|
||||
'90 days': '90 天',
|
||||
'All time': '全部时间',
|
||||
"Couldn't load stats": '无法加载统计',
|
||||
'Try again': '重试',
|
||||
'No activity in this period': '这段时间没有活动',
|
||||
'Sessions you run will show up here.': '你运行的会话会显示在这里。',
|
||||
'No model usage in this period.': '这段时间没有模型使用。',
|
||||
'Prompts': '提示词',
|
||||
'Tokens': '词元',
|
||||
'Cost': '费用',
|
||||
'Active days': '活跃天数',
|
||||
'Longest streak (days)': '最长连续天数',
|
||||
'Weekly activity': '每周活动',
|
||||
'Daily activity': '每日活动',
|
||||
'Model steps per week': '每周的模型步数',
|
||||
'Model steps per day': '每天的模型步数',
|
||||
'Token composition': '词元构成',
|
||||
'Efficiency': '效率',
|
||||
'Cache hit rate': '缓存命中率',
|
||||
'Cost / session': '每个会话费用',
|
||||
'Cost per 1M tokens': '每百万词元费用',
|
||||
'Tokens / session': '每个会话词元',
|
||||
'Steps / session': '每个会话步数',
|
||||
'Reasoning share': '推理占比',
|
||||
'Input': '输入',
|
||||
'Output + reasoning': '输出 + 推理',
|
||||
'Cache reads': '缓存读取',
|
||||
'Cache writes': '缓存写入',
|
||||
'Models': '模型',
|
||||
'Steps': '步数',
|
||||
'Tool calls': '工具调用',
|
||||
'Counting them reads every message in the period.': '统计工具调用需要读取这段时间的每条消息。',
|
||||
'Calls': '调用次数',
|
||||
'Success rate': '成功率',
|
||||
'Failed': '失败',
|
||||
'Unfinished': '未完成',
|
||||
'Updated {0}': '更新于 {0}',
|
||||
'Subagents: {0}': '子代理:{0}',
|
||||
'In {0} · Out {1} · Cache {2}': '输入 {0} · 输出 {1} · 缓存 {2}',
|
||||
'{0} · steps: {1}': '{0} · 步数 {1}',
|
||||
'{0} steps': '{0} 步',
|
||||
'calls: {0} · median: {1}': '调用 {0} · 中位耗时 {1}',
|
||||
'calls: {0}': '调用 {0}',
|
||||
'OpenChamber mobile client': 'OpenChamber 移动客户端',
|
||||
};
|
||||
Reference in new issue
Block a user