fawney19
5319c06f0e
migrate: remove model mappings and add aliases support
2025-12-15 14:29:47 +08:00
fawney19
0ef6e04593
Merge branch 'dev'
v0.1.1
2025-12-14 20:02:01 +08:00
fawney19
beae7a2616
feat(api): add unified Models API endpoint
...
- Add models_service.py with model query logic and caching
- Add models.py unified endpoint supporting Claude/OpenAI/Gemini formats
- Auto-detect API format based on request headers
- Support /v1/models and /v1beta/models (Gemini) paths
- Update route registration and comments
2025-12-14 20:01:19 +08:00
fawney19
b3fbe00657
feat: add version management with setuptools-scm
...
- Configure hatch-vcs for automatic version generation from git tags
- Update pyproject.toml to use dynamic versioning
- Add src/_version.py for runtime version access
- Update src/__init__.py to import version from _version
- Add __APP_VERSION__ to frontend vite config
- Add version script to frontend package.json
- Update CI workflows to trigger on version tags instead of branches
v0.1.0
2025-12-14 00:16:03 +08:00
fawney19
2f9d943647
fix(system): fix timezone handling in dashboard and stats services
...
- Use app timezone instead of UTC for date calculations in dashboard routes
- Ensure consistency between stats_daily.date and timezone-aware comparisons
- Fix date calculations in cleanup scheduler to handle DST correctly
- Update log message in stats aggregator to use business date
2025-12-14 00:16:03 +08:00
fawney19
7d0003e61e
refactor(backend): optimize usage service and database helpers
2025-12-14 00:16:03 +08:00
fawney19
d564842c4d
refactor(frontend): optimize view pages (admin, shared, user)
2025-12-14 00:16:03 +08:00
fawney19
9ca845f9d0
refactor(frontend): optimize feature components (models, providers, usage)
2025-12-14 00:16:02 +08:00
fawney19
cb990b9018
refactor(frontend): optimize layout (remove MobileNav, enhance MainLayout)
2025-12-14 00:16:02 +08:00
fawney19
f53d3d180d
refactor(frontend): optimize UI components (ScatterChart, ActivityHeatmap, table-card)
2025-12-14 00:16:02 +08:00
fawney19
c55058758b
refactor(frontend): 补充优化剩余组件
...
- 优化 TooltipContent 组件
- 改进 ModelsTab 和 UserModelDetailDrawer 组件
2025-12-14 00:16:02 +08:00
fawney19
9fa093c96c
refactor(frontend): 优化配置和类型定义
...
- 更新 ESLint 配置
- 优化 Vue 类型声明文件
2025-12-14 00:16:02 +08:00
fawney19
380fd1c4d4
refactor(frontend): 优化工具和 API 模块
...
- 改进 sanitize 工具函数
- 优化 mocks 数据和处理器
- 优化 auth API 模块
2025-12-14 00:16:02 +08:00
fawney19
fda0bfa8de
refactor(frontend): 优化用户视图页面
...
- 改进 Announcements, ModelCatalog, MyApiKeys 页面及其组件
2025-12-14 00:16:02 +08:00
fawney19
466b8a62a7
refactor(frontend): 优化共享视图页面
...
- 改进 Dashboard 和 Usage 页面
2025-12-14 00:16:02 +08:00
fawney19
5ec1af0907
refactor(frontend): 优化管理后台视图
...
- 改进 AliasManagement, ApiKeys, AuditLogs, CacheMonitoring, ModelManagement, SystemSettings, Users 页面
2025-12-14 00:16:02 +08:00
fawney19
79089debe4
refactor(frontend): 优化可组合函数
...
- 改进 useClipboard, useFormDialog, useTTLAnalysis composables
2025-12-14 00:16:02 +08:00
fawney19
113441780e
refactor(frontend): 优化 Users 功能模块
...
- 改进 UserFormDialog 组件
2025-12-14 00:16:02 +08:00
fawney19
a75b983419
refactor(frontend): 优化 Usage 功能模块可组合函数
...
- 改进 useUsageData 和 useUsageFilters composables
2025-12-14 00:16:02 +08:00
fawney19
63e1a0d823
refactor(frontend): 优化 Usage 功能模块组件
...
- 改进 HorizontalRequestTimeline, IntervalTimelineCard, RequestDetailDrawer 等组件
- 优化表格展示组件
2025-12-14 00:16:02 +08:00
fawney19
737ab3b530
refactor(frontend): 优化 Providers 功能模块
...
- 改进 ProviderFormDialog, KeyFormDialog, EndpointFormDialog 等组件
- 优化 ModelsTab 组件
2025-12-14 00:16:02 +08:00
fawney19
730209acc6
refactor(frontend): 优化 Models 功能模块
...
- 改进 ModelDetailDrawer 和 AliasDialog 组件
2025-12-14 00:16:02 +08:00
fawney19
3f82b6d7c6
refactor(frontend): 优化 API Keys 功能模块
...
- 改进 StandaloneKeyFormDialog 组件
2025-12-14 00:16:02 +08:00
fawney19
504ef471c4
refactor(frontend): 优化统计组件
...
- 改进 ActivityHeatmap 组件
2025-12-14 00:16:02 +08:00
fawney19
48196d94ea
refactor(frontend): 优化图表组件
...
- 改进 BarChart, LineChart, ScatterChart 组件
- 优化响应式布局和类型定义
2025-12-14 00:16:02 +08:00
fawney19
a49834d87d
refactor(frontend): 优化布局组件
...
- 改进 CardSection 和 Section 组件
- 优化布局结构和样式
2025-12-14 00:16:02 +08:00
fawney19
ffc798c41d
refactor(frontend): 优化公共组件
...
- 改进 EmptyState 和 LoadingState 组件
- 优化 CodeHighlight 样式和功能
2025-12-14 00:16:02 +08:00
fawney19
c2eaa9181a
refactor(frontend): 优化 UI 基础组件
...
- 添加默认 class 属性支持
- 改进组件类型定义
- 优化属性配置
2025-12-14 00:16:02 +08:00
fawney19
ca60202636
fix: 修复链路追踪密钥显示和默认选中逻辑
...
1. 修复密钥脱敏显示问题:先解密再脱敏,避免显示加密后的 base64 数据
2. 优化详情默认选中逻辑:优先显示最后一个有效结果(成功/失败),而非未执行/跳过
2025-12-14 00:16:02 +08:00
fawney19
21eedbe331
feat: add version management with setuptools-scm
...
- Configure hatch-vcs for automatic version generation from git tags
- Update pyproject.toml to use dynamic versioning
- Add src/_version.py for runtime version access
- Update src/__init__.py to import version from _version
- Add __APP_VERSION__ to frontend vite config
- Add version script to frontend package.json
- Update CI workflows to trigger on version tags instead of branches
2025-12-14 00:12:37 +08:00
fawney19
393d4d13ff
fix(system): fix timezone handling in dashboard and stats services
...
- Use app timezone instead of UTC for date calculations in dashboard routes
- Ensure consistency between stats_daily.date and timezone-aware comparisons
- Fix date calculations in cleanup scheduler to handle DST correctly
- Update log message in stats aggregator to use business date
2025-12-13 23:50:59 +08:00
fawney19
77613795ed
refactor(backend): optimize usage service and database helpers
2025-12-13 22:27:00 +08:00
fawney19
f54127cba5
refactor(frontend): optimize view pages (admin, shared, user)
2025-12-13 22:26:47 +08:00
fawney19
54370cb3f9
refactor(frontend): optimize feature components (models, providers, usage)
2025-12-13 22:26:36 +08:00
fawney19
07b81351d9
refactor(frontend): optimize layout (remove MobileNav, enhance MainLayout)
2025-12-13 22:26:23 +08:00
fawney19
5d829a100a
refactor(frontend): optimize UI components (ScatterChart, ActivityHeatmap, table-card)
2025-12-13 22:26:09 +08:00
fawney19
006cd2c3e5
refactor(frontend): 补充优化剩余组件
...
- 优化 TooltipContent 组件
- 改进 ModelsTab 和 UserModelDetailDrawer 组件
2025-12-12 20:22:27 +08:00
fawney19
90ca5065ee
refactor(frontend): 优化配置和类型定义
...
- 更新 ESLint 配置
- 优化 Vue 类型声明文件
2025-12-12 20:22:22 +08:00
fawney19
66307f8f49
refactor(frontend): 优化工具和 API 模块
...
- 改进 sanitize 工具函数
- 优化 mocks 数据和处理器
- 优化 auth API 模块
2025-12-12 20:22:22 +08:00
fawney19
fc0ca3944e
refactor(frontend): 优化用户视图页面
...
- 改进 Announcements, ModelCatalog, MyApiKeys 页面及其组件
2025-12-12 20:22:15 +08:00
fawney19
25a049d607
refactor(frontend): 优化共享视图页面
...
- 改进 Dashboard 和 Usage 页面
2025-12-12 20:22:15 +08:00
fawney19
15b4f665d1
refactor(frontend): 优化管理后台视图
...
- 改进 AliasManagement, ApiKeys, AuditLogs, CacheMonitoring, ModelManagement, SystemSettings, Users 页面
2025-12-12 20:22:15 +08:00
fawney19
36a84e19b4
refactor(frontend): 优化可组合函数
...
- 改进 useClipboard, useFormDialog, useTTLAnalysis composables
2025-12-12 20:22:09 +08:00
fawney19
1f7db361ad
refactor(frontend): 优化 Users 功能模块
...
- 改进 UserFormDialog 组件
2025-12-12 20:22:09 +08:00
fawney19
766a3280d6
refactor(frontend): 优化 Usage 功能模块可组合函数
...
- 改进 useUsageData 和 useUsageFilters composables
2025-12-12 20:22:08 +08:00
fawney19
4cbe0c38f7
refactor(frontend): 优化 Usage 功能模块组件
...
- 改进 HorizontalRequestTimeline, IntervalTimelineCard, RequestDetailDrawer 等组件
- 优化表格展示组件
2025-12-12 20:22:03 +08:00
fawney19
18ce6637b6
refactor(frontend): 优化 Providers 功能模块
...
- 改进 ProviderFormDialog, KeyFormDialog, EndpointFormDialog 等组件
- 优化 ModelsTab 组件
2025-12-12 20:22:03 +08:00
fawney19
0e1de65eb3
refactor(frontend): 优化 Models 功能模块
...
- 改进 ModelDetailDrawer 和 AliasDialog 组件
2025-12-12 20:22:03 +08:00
fawney19
b64d507c6e
refactor(frontend): 优化 API Keys 功能模块
...
- 改进 StandaloneKeyFormDialog 组件
2025-12-12 20:21:56 +08:00
fawney19
6e63116cc9
refactor(frontend): 优化统计组件
...
- 改进 ActivityHeatmap 组件
2025-12-12 20:21:56 +08:00