29 Commits
Author SHA1 Message Date
monster 925aa027e9 feat(stats): 按员工汇总模型用量并向分组主管开放统计 2026-11-24 16:24:46 +08:00
monster 821d2a8a05 feat: 按管辖员工范围开放分组主管后台查询并调整侧栏入口 2026-11-24 00:25:45 +08:00
monster 7d812c11a5 feat(admin): 展示成员近七天消息分布与深度使用排行 2026-11-18 21:42:34 +08:00
monster f8bb241e41 完善模型使用分布并调整积分明细精度 2026-11-10 22:56:57 +08:00
monster d11af3da3e 新增会话分析页面与统计接口并统一后台术语 2026-11-10 20:46:10 +08:00
monster ad169c9b94 新增成员使用分析并移除总览重复用户统计 2026-11-06 21:27:43 +08:00
monster ddcfab46e2 实现自定义头像与本人密码修改
自定义头像优先于 OAuth 同步头像,并在修改密码时安全轮换当前会话、撤销其他登录和待兑换授权。
2026-11-02 20:21:55 +08:00
monster b33f747991 优化 AI 行为资源统计查询
取消全历史会话物化,按会话和快照去重后展开资源,并提前应用资源筛选。
先确定当前页资源,再计算会话数和调用指标,仅为缺少后台名称的资源回查上报名称。
在同一查询中复用轮次计算数据新鲜度,保留原有筛选范围、统计口径和游标顺序。
去除轮次分支重复的模型和结果回查,兼容异常新鲜度时间。

验证:sqlc 生成、统计包编译、差异空白检查通过。按用户要求未运行测试,未测量实际耗时。
2026-10-31 00:34:19 +08:00
monster e8b959c13b 统一后台用户筛选、列表链接状态与账户详情交互
- 将后台表格筛选和分页同步到 URL,支持刷新、分享及前进后退恢复
- 复用用户候选组件,按用户 ID 精确筛选任务、对话和操作记录,并兼容旧文字链接
- 精简用户候选展示,使用 ScrollArea、单行姓名和浅色悬停背景
- 合并账户详情字段,固定标题和操作区,增加客户端及任务跳转入口
- 补充接口文档、查询辅助逻辑和回归脚本

按用户要求,本次提交未运行测试。
2026-10-30 23:34:26 +08:00
monster 2a58f72f6d 实现对话轮次月分区并优化历史列表分页
新增迁移 34 和轮次维护任务,支持全局唯一登记、分批回填、计数校准、增量镜像及校验切换和回滚。历史列表改用 has_next,任务对话数读取缓存;指定任务分页按时间索引读取,并保证切换期间的快照一致性。补齐数据库、并发、执行计划、浏览器回归测试与运行文档。
2026-10-29 13:44:06 +08:00
monster c0e03d700e 使用事务内小时汇总优化模型总览统计并修复批量更新锁顺序 2026-10-20 18:11:31 +08:00
Yoko c11a13be8f 统一数据总览与统计上报的时间和用量口径 (#1423) 2026-10-20 15:14:09 +08:00
monster db809be8c8 修复 AI 行为用户列头像展示并与操作记录对齐 2026-10-19 17:54:04 +08:00
monster dda0c33da9 统一反馈扣费与历史列表的用户头像展示 2026-10-16 16:44:45 +08:00
monster 8d1ce8163d 数据总览耗时改为剔除最慢百分之五后的平均值 2026-10-16 12:21:49 +08:00
monster 71dad52d22 feat(admin): filter AI behavior statistics by resource category
Add a translated category filter with all-category reset and observed custom kinds. Apply category filtering before cursor pagination across snapshots, tools, skill events and connector calls, preserving combined user/resource/date searches. Cover category scope, freshness and cursor isolation with PostgreSQL integration tests.
2026-10-15 15:43:57 +08:00
monster ec198f2f20 feat(admin): resolve resource names and collapse date filters
Resolve configured resource names with scoped reported-name and raw-ID fallbacks, keeping builtin tool IDs unchanged. Show names with raw IDs on hover and retain automatic ID-based searches. Collapse the date range under the existing More-filter menu by default. Add PostgreSQL coverage for catalog names, deleted resources, user/version isolation, filtered reports and stable pagination.
2026-10-15 12:46:44 +08:00
monster 63ee75dd00 feat(admin): add per-user resource usage statistics and search
Group resource metrics by session owner and return user names and emails. Add user name, email and ID search with account details styled like activity logs. Clicking a resource ID now applies the current filters immediately and resets pagination. Cover grouping, literal user searches, cursor isolation and resource-only tool facts with PostgreSQL integration tests.
2026-10-15 12:23:45 +08:00
monster b1c610ea45 feat(admin): streamline statistics navigation and resource usage
Remove obsolete session overview and task statistics pages with their dedicated APIs. Translate resource and tool categories, simplify resource filters, and align the table layout and pagination with activity logs. Rename the sidebar entry to resource usage, place clients above it, and stabilize the session detail request window.
2026-10-14 23:49:52 +08:00
monster 19f1295fb0 feat(admin): add filtered client distribution statistics
Add a client overview API with deduplicated session distributions and connect the three charts to submitted filters independently of pagination. Refine card sizing and legends, compact credit and token tooltips, round credits upward, and separate tooltip labels from values.
2026-10-14 22:55:13 +08:00
monster 65f678843c feat(admin): implement conversation history and simplify session navigation
Connect conversation history to reported turns with filters, pagination, result and token columns, and user details. Remove redundant session lists and APIs, and fix name hover underlines in touch-enabled previews.
2026-10-14 21:23:19 +08:00
monster 30d77c94da feat(admin): enhance data overview trends and loading states 2026-10-14 21:23:19 +08:00
monster 7447e14dde 接入 MonkeyAI 数据总览统计并移除旧模型统计 2026-10-14 00:16:33 +08:00
Yoko b47c430c02 修复轮次正文和标题上报并补齐管理端展示 (#1397) 2026-10-13 12:01:07 +08:00
monster 3aab1fdbcc 完善账户详情入口与计费管理导航 2026-10-10 20:52:05 +08:00
monster 67796caf82 功能:完善实时统计指标与侧栏布局 2026-10-10 15:20:28 +08:00
Yoko 1b4d0efc0d 功能:支持会话上报标题及标题来源 (#1384) 2026-10-09 17:19:02 +08:00
Yoko d4292a2489 功能:实现会话上报一期后端与管理后台 (#1380)
* 文档:补充会话上报一期后端方案

* 文档:补充会话上报管理后台方案

* 功能:实现会话上报一期后端与管理页面

* 功能:开放管理员审计清除并限制占位会话

* 功能:会话上报开关生效并增加数据库限速
2026-10-08 16:12:20 +08:00
yokowu 1a558a4514 接入 sqlc 并替换后端内嵌 SQL 2026-09-08 15:37:19 +08:00