Wesley Liddick
b441506199
Merge branch 'main' into main
2025-12-06 22:44:44 -05:00
Wesley Liddick
eb2341fb16
Merge pull request #771 from DaydreamCoding/patch-2 [skip ci]
...
Update model filtering to use blacklist approach
2025-12-06 22:43:52 -05:00
Wesley Liddick
e89e2964e7
Merge pull request #773 from DaydreamCoding/feature/concurrency [skip ci]
...
feat(concurrencyManagement): implement concurrency status management …
2025-12-06 22:43:29 -05:00
github-actions[bot]
d0b397b45a
chore: sync VERSION file with release v1.1.221 [skip ci]
2025-12-06 11:46:10 +00:00
litongtongxue@gmail.com
195e42e0a5
chore(docker): optimize build cache and install flow
2025-12-06 03:45:43 -08:00
github-actions[bot]
ebecee4c6f
chore: sync VERSION file with release v1.1.224 [skip ci]
v1.1.224
2025-12-06 11:00:48 +00:00
Wesley Liddick
0607322cc7
Merge pull request #765 from SunSeekerX/feature_key_model_filter
...
feat(api-keys): 添加模型筛选功能
2025-12-06 06:00:32 -05:00
SunSeekerX
0828746281
fix: 修复 ESLint 错误 - if 语句花括号和箭头函数简写
2025-12-06 18:30:44 +08:00
SunSeekerX
e1df90684a
fix: 合并冲突 - 保留多选支持并添加暗黑模式样式
2025-12-06 18:28:03 +08:00
DaydreamCoding
f74f77ef65
feat(concurrencyManagement): implement concurrency status management API and enhance concurrency handling in middleware
2025-12-06 17:23:42 +08:00
QTom
b63c3217bc
Update model filtering to use blacklist approach
...
Change model filtering logic to blacklist restricted models.
2025-12-06 14:20:06 +08:00
github-actions[bot]
d81a16b98d
chore: sync VERSION file with release v1.1.223 [skip ci]
v1.1.223
2025-12-06 03:01:17 +00:00
shaw
30727be92f
chore: trigger release [force release]
2025-12-06 11:00:59 +08:00
shaw
b8a6cc627a
Merge branch 'lusipad/main'
2025-12-06 10:56:57 +08:00
Wesley Liddick
01c63bf5df
Merge pull request #760 from IanShaw027/upstream-pr-account-full [skip ci]
...
feat: 增强账户管理功能
2025-12-05 21:45:37 -05:00
Wesley Liddick
4317962955
Merge pull request #758 from IanShaw027/upstream-pr-temp-unavailable [skip ci]
...
feat: 添加上游不稳定错误检测与账户临时不可用机制
2025-12-05 21:44:39 -05:00
Wesley Liddick
b66fd7f655
Merge pull request #766 from atoz03/feature/account-detail-timeline [skip ci]
...
feat(account): enhance detail timeline & remove redundant entries
2025-12-05 21:43:14 -05:00
Wesley Liddick
ac280ef563
Merge pull request #767 from DaydreamCoding/patch-1 [skip ci]
...
Refactor model restriction checks to use blacklist
2025-12-05 21:39:56 -05:00
github-actions[bot]
c70070d912
chore: sync VERSION file with release v1.1.227 [skip ci]
2025-12-05 20:54:53 +00:00
lusipad
849d8e047b
docs: translate isProAccount function comments to English
...
- Change function description from Chinese to English
- Translate inline comments (API priority, local config)
- Keep function logic unchanged
This completes the full English comment translation for all modified files.
2025-12-06 04:54:41 +08:00
github-actions[bot]
065aa6d35e
chore: sync VERSION file with release v1.1.226 [skip ci]
2025-12-05 20:45:07 +00:00
lusipad
10a1d61427
docs: translate remaining Chinese comments in claudeAccountService.js
...
- Filter Opus models based on account type and model version
- Free account: does not support any Opus model
- Pro account: only supports Opus 4.5+
- Max account: supports all Opus versions
- Account without subscription info defaults to supported
All logic unchanged, only comment translation.
2025-12-06 04:44:52 +08:00
github-actions[bot]
cfdcc97cc7
chore: sync VERSION file with release v1.1.225 [skip ci]
2025-12-05 20:43:32 +00:00
lusipad
ea053c6a16
docs: convert Chinese comments to English
...
- Change VERSION判断逻辑 to VERSION LOGIC
- Change ACCOUNT TYPE判断逻辑 to ACCOUNT TYPE LOGIC
- Translate remaining Chinese phrases to English
- Keep all logic unchanged, only translation
2025-12-06 04:43:11 +08:00
github-actions[bot]
84a8fdeaba
chore: sync VERSION file with release v1.1.224 [skip ci]
2025-12-05 20:26:31 +00:00
lusipad
c1c941aa4c
fix(opus): fix PR#762 review issues and add maintenance comments
...
- Fix regex to support 2-digit minor versions (e.g., opus-4-10)
- Prevent matching 8-digit dates as minor version numbers
- Unify English comments for consistency across codebase
- Extract isProAccount() helper to eliminate code duplication
- Add detailed version logic comments for future maintenance
Changes:
- VERSION LOGIC: Opus 4.5+ returns true (Pro eligible), <4.5 returns false (Max only)
- ACCOUNT RESTRICTIONS: Free=no Opus, Pro=Opus 4.5+, Max=all Opus versions
- REGEX FIX: (\d{1,2}) limits minor version to 1-2 digits, avoiding date confusion
Test: All 21 tests pass
Format: Prettier validated
2025-12-06 04:26:11 +08:00
atoz03
f78e376dea
fix:该文件的代码格式不符合 Prettier 规范
2025-12-05 22:29:45 +08:00
github-actions[bot]
530d38e4a4
chore: sync VERSION file with release v1.1.223 [skip ci]
2025-12-05 14:16:07 +00:00
lusipad
0bf7bfae04
Merge branch 'Wei-Shaw:main' into main
2025-12-05 22:15:54 +08:00
atoz03
fbb660138c
fix:调整去重策略
...
- 调整去重策略(src/routes/admin/usageStats.js):账户筛选改为按 accountId 聚合记录所有出现的 accountType,构建 options 时依次按历史类型解析账号,失败再全量回退,无法解析也保留为筛选项并带 rawTypes,避免渠道改名/删除导致选项被“去
重”丢失。
- 解析兜底(src/routes/admin/usageStats.js):resolveAccountInfo 在传入未知类型或过滤后为空时回退尝试全部服务,减轻渠道改名解析不到的问题。
2025-12-05 19:19:52 +08:00
QTom
9c970fda3b
Refactor model restriction checks to use blacklist
2025-12-05 17:06:21 +08:00
atoz03
bfa3f528a2
fix:优化了dropdown的弹窗
...
- ActionDropdown.vue:位置计算调整,优先向右展开并增加 8px 间距,减少遮挡左侧内容;下拉全局互斥仍保留。
- 账户页面:列表下拉/卡片已无“请求时间线”入口,只保留详情弹窗顶部按钮。
2025-12-05 15:11:12 +08:00
atoz03
9b0d0bee96
fix: 账户时间线入口与路由修复
...
- 移除账户列表下拉/卡片的时间线入口,仅保留详情弹窗顶部按钮
- ActionDropdown 全局互斥,避免多菜单堆叠
- 账户筛选去重,避免“未知渠道”重复泄露
2025-12-05 14:57:34 +08:00
atoz03
ff30bfab82
feat: 账户时间线详情页与接口完善
...
- 后端新增 /admin/accounts/:accountId/usage-records 接口,支持按账户聚合多 Key 记录并分页筛选、汇总统计
- 修复 API Key 时间线账户筛选跳过已删除账号,补充账户/Key 辅助解析
- 前端新增 AccountUsageRecordsView、路由及账户列表“时间线”入口,支持模型/API Key 筛选与 CSV 导出
- 补装 prettier-plugin-tailwindcss 并完成相关文件格式化
2025-12-05 14:23:25 +08:00
SunSeekerX
93497cc13c
fix: 修复 ESLint vue/attributes-order 属性顺序问题
2025-12-05 13:49:19 +08:00
SunSeekerX
2429bad2b7
feat(api-keys): 添加模型筛选功能
2025-12-05 13:44:09 +08:00
IanShaw027
a03753030c
fix: CustomDropdown组件支持层级结构显示
...
- 添加动态padding支持indent属性(每级缩进16px)
- 添加isGroup属性支持,分组项显示为粗体带背景
- 修复暗黑模式下选中图标颜色
- 支持二级平台分类的视觉层级展示
2025-12-05 12:47:20 +08:00
github-actions[bot]
94aca4dc22
chore: sync VERSION file with release v1.1.222 [skip ci]
v1.1.222
2025-12-05 01:06:39 +00:00
shaw
6bfef2525a
Merge PR #753 : feat: 新增 API Key
...
请求时间线接口与管理端详情页面
2025-12-05 09:03:53 +08:00
github-actions[bot]
5a636a36f6
chore: sync VERSION file with release v1.1.221 [skip ci]
v1.1.221
2025-12-05 00:38:43 +00:00
shaw
b61e1062bf
fix: 修复create_proxyagent调用方式
2025-12-05 08:37:43 +08:00
lusipad
6ab91c0c75
chore: revert version
2025-12-05 08:25:42 +08:00
github-actions[bot]
675e7b9111
chore: sync VERSION file with release v1.1.221 [skip ci]
2025-12-05 00:15:42 +00:00
lusipad
f82db11e7d
Merge pull request #1 from lusipad/feature/opus-45-pro-support
...
feat(account): 支持 Pro 账号使用 Opus 4.5+ 模型
2025-12-05 08:15:32 +08:00
lusipad
06b18b7186
refactor: extract isProAccount helper for Pro account detection
...
Extract duplicate Pro account detection logic into a reusable helper
function that handles both API-returned (hasClaudePro) and locally
configured (accountType) data sources.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-05 08:12:51 +08:00
lusipad
12cb841a64
refactor: address Copilot review feedback
...
- Import isOpus45OrNewer from modelHelper instead of duplicating code
- Remove invalid 'claude_free' check (only 'free' is used in practice)
2025-12-05 07:56:53 +08:00
lusipad
dc868522cf
fix: apply ESLint curly rule and remove useless escape chars
2025-12-05 07:49:55 +08:00
lusipad
b1dc27b5d7
style: format test-official-models.js with Prettier
2025-12-05 07:43:15 +08:00
lusipad
b94bd2b822
feat(account): 支持 Pro 账号使用 Opus 4.5+ 模型
...
Opus 4.5 已对 Claude Pro 用户开放,调整账户模型限制逻辑:
- Pro 账号:支持 Opus 4.5+,不支持历史版本 (3.x/4.0/4.1)
- Free 账号:不支持任何 Opus 模型
- Max 账号:支持所有 Opus 版本
修改内容:
- 新增 isOpus45OrNewer() 函数用于精确识别模型版本
- 更新 claudeAccountService.js 中的账户选择逻辑
- 更新 unifiedClaudeScheduler.js 中的模型支持检查
- 新增测试脚本验证官方模型名称识别
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-12-05 07:38:55 +08:00
IanShaw027
827c0f6207
feat: 添加两级平台筛选功能(支持平台分组)
...
- 添加 platformHierarchy 定义平台层级结构(Claude全部、OpenAI全部、Gemini全部、Droid)
- 添加 platformGroupMap 映射平台组到具体平台
- 添加 platformRequestHandlers 动态处理平台请求
- 将 platformOptions 从 ref 改为 computed 支持缩进显示
- 优化 loadAccounts 使用动态平台加载替代大型 switch 语句
- 新增 getPlatformsForFilter 辅助函数
功能说明:
- 支持选择"Claude(全部)"同时筛选 claude + claude-console + bedrock + ccr
- 支持选择"OpenAI(全部)"同时筛选 openai + openai-responses + azure_openai
- 支持选择"Gemini(全部)"同时筛选 gemini + gemini-api
- 保持向后兼容,仍支持单独选择具体平台
2025-12-05 03:31:13 +08:00