zhefox
|
b72abec2fc
|
fix(gateway): spawn oauth account refresh asynchronously
|
2026-05-25 15:09:41 +08:00 |
|
fawney19
|
8087a98c9d
|
Merge remote-tracking branch 'origin/pr/475'
# Conflicts:
# apps/aether-gateway/src/handlers/admin/provider/oauth/dispatch/refresh/execution.rs
# apps/aether-gateway/src/handlers/admin/provider/oauth/dispatch/refresh/response.rs
# apps/aether-gateway/src/handlers/admin/provider/oauth/errors.rs
# apps/aether-gateway/src/handlers/admin/provider/oauth/quota/shared.rs
# apps/aether-gateway/src/state/oauth.rs
# apps/aether-gateway/src/tests/control/admin/oauth.rs
# crates/aether-admin/src/provider/quota.rs
|
2026-05-23 21:26:22 +08:00 |
|
Entropy.Xu
|
4112a8b2ea
|
fix(provider): 修复 Windsurf PR CI 失败
|
2026-05-21 02:21:35 +08:00 |
|
Entropy.Xu
|
0226e14251
|
feat(provider): 原生接入 Windsurf provider
|
2026-05-21 01:02:02 +08:00 |
|
fawney19
|
c972bbd397
|
Fix provider pool exhaustion scheduling
|
2026-05-20 20:16:57 +08:00 |
|
fawney19
|
61bcbe826a
|
fix: tighten OAuth auto cleanup signals
|
2026-05-20 10:34:22 +08:00 |
|
beilo
|
75aa3dc0cc
|
fix: refine oauth auto-removal behavior
|
2026-05-19 13:41:18 +08:00 |
|
fawney19
|
3a5922d4ee
|
fix: use codex quota refresh for account checks
|
2026-05-16 20:16:23 +08:00 |
|
fawney19
|
74abb50bdc
|
fix(public): keep original GitHub links visible
(cherry picked from commit 7c93552697c9c35b77df35e117900ff8e9b62994)
|
2026-05-16 13:50:46 +08:00 |
|
Entropy.Xu
|
bbd3c30b0e
|
fix(public): 修复用户可见性、额度、验证与 Codex 探测
|
2026-05-16 00:51:44 +08:00 |
|
fawney19
|
5d1460e051
|
refactor: extract provider pool abstractions
|
2026-05-13 18:19:15 +08:00 |
|
fawney19
|
3c2497f019
|
Fix admin pool sorting and OAuth refresh
|
2026-05-13 09:16:52 +08:00 |
|
fawney19
|
8714d93d4b
|
Stabilize Codex OAuth import tests
|
2026-05-12 23:36:43 +08:00 |
|
fawney19
|
68256ece2d
|
Fix Kiro manual OAuth refresh test stack
|
2026-05-12 23:09:09 +08:00 |
|
fawney19
|
e7471f44b0
|
fix provider oauth endpoint reconciliation
|
2026-05-12 22:46:20 +08:00 |
|
fawney19
|
38012c62ff
|
Allow full management tokens to access token management
|
2026-05-12 19:53:31 +08:00 |
|
Entropy.Xu
|
545299fc62
|
fix: align management token oauth permissions and jsonb schema
|
2026-05-10 01:47:48 +08:00 |
|
fawney19
|
fa22384f24
|
Merge remote-tracking branch 'origin/pr/399' into aether-rust-pioneer
# Conflicts:
# crates/aether-data/src/lifecycle/bootstrap/postgres.rs
# crates/aether-data/src/lifecycle/migrate/tests.rs
|
2026-05-08 02:52:13 +08:00 |
|
fawney19
|
c52ef1993f
|
Improve provider OAuth device flow
|
2026-05-08 01:33:23 +08:00 |
|
fawney19
|
6247ac3edc
|
refactor: extract runtime state backends
|
2026-05-08 00:18:12 +08:00 |
|
Entropy.Xu
|
cc5cb3475e
|
feat: add management token permissions
|
2026-05-07 23:48:29 +08:00 |
|
fawney19
|
fd44906bb7
|
fix provider pool quota status handling
|
2026-05-07 11:28:44 +08:00 |
|
Codex
|
7eaf3e7d03
|
feat: support chatgpt web access token import
|
2026-05-06 14:45:39 +08:00 |
|
Entropy.Xu
|
4baee436ba
|
feat(image): 接入 ChatGPT Web 生图反代
|
2026-05-06 11:52:33 +08:00 |
|
fawney19
|
fb642f7d62
|
feat: improve OAuth provider configuration
|
2026-05-04 00:18:05 +08:00 |
|
fawney19
|
4fc7cecf30
|
Fix OAuth token import and table filters
|
2026-05-01 02:14:49 +08:00 |
|
fawney19
|
e751289dfb
|
Support per-format provider key auth
|
2026-04-29 15:46:50 +08:00 |
|
fawney19
|
3d20c05ef7
|
Fix OAuth refresh through tunnel proxy
|
2026-04-28 19:45:34 +08:00 |
|
fawney19
|
9194f78e56
|
OAuth refresh 隧道代理统一启用 follow-redirects
|
2026-04-28 17:47:28 +08:00 |
|
fawney19
|
70f747d406
|
Add shared OAuth flows
|
2026-04-28 15:46:21 +08:00 |
|
fawney19
|
3f1abb6906
|
Format OAuth refresh consistency changes
|
2026-04-28 09:54:35 +08:00 |
|
fawney19
|
29fc0be121
|
Tighten OAuth refresh consistency
|
2026-04-28 09:36:42 +08:00 |
|
fawney19
|
321f21ad49
|
Fix provider OAuth refresh token reuse
|
2026-04-28 02:00:35 +08:00 |
|
fawney19
|
639f26ed5d
|
fix: force http1 for tunnel oauth refresh
|
2026-04-28 01:37:40 +08:00 |
|
fawney19
|
9a67497d8c
|
fix: align oauth tunnel refresh transport
|
2026-04-28 01:10:34 +08:00 |
|
fawney19
|
83e1f99ccf
|
fix: invalidate oauth transport cache after refresh
|
2026-04-27 23:35:05 +08:00 |
|
fawney19
|
ed17147281
|
fix: align provider oauth refresh redirects
|
2026-04-27 22:08:02 +08:00 |
|
fawney19
|
a7a3c9f023
|
Fix OAuth import proxy handling
|
2026-04-27 20:05:43 +08:00 |
|
fawney19
|
ea3dc3257e
|
clean up legacy openai cli adapter names
|
2026-04-26 23:59:53 +08:00 |
|
fawney19
|
c5c56ff92f
|
feat(oauth): 允许替换已失效的活跃 OAuth 账号并同步 status_snapshot
- 活跃但 token 已过期或刷新失败的重复账号视为可替换
- 清除失效标记、刷新配额时同步更新 status_snapshot.oauth
- oauth_invalid 清除接口同时识别 invalid_at 与 invalid_reason 两种标记
- 批量导入任务状态区分 created_count / replaced_count,前端据此展示新增/替换统计
- 补充重复替换场景的集成测试,用量测试等待超时从 10s 提升到 30s 以适应并行压力
|
2026-04-20 22:59:02 +08:00 |
|
fawney19
|
ffe5d16094
|
fix(oauth): 兼容 Kiro device token 的 snake_case 字段并保留 error 响应体
- device poll 同时接受 accessToken/access_token、refreshToken/refresh_token、expiresIn/expires_in
- post_kiro_device_oidc_json 在解析失败响应时保留完整 JSON 并附加 _error 标记, 避免丢失 authorization_pending 等详细信息
- 补充 authorization_pending 时 device session 保持 pending 状态的测试
|
2026-04-20 15:00:02 +08:00 |
|
fawney19
|
13bf222b8d
|
refactor(oauth): 抽出 Kiro 刷新逻辑为共享模块并在 device-poll 复用
- 将 batch/kiro_import 中的 Kiro refresh/IDC helpers 抽到 dispatch/kiro.rs 共享
- device-poll 新增 IDC refresh 复核、JWT 缺失时通过 usage 接口回填 email、代理节点写入 key.proxy
- 补充对应集成测试覆盖 refresh 复核与 email 回填路径
|
2026-04-20 01:06:51 +08:00 |
|
fawney19
|
77aac74590
|
feat(oauth): 完善账号异常识别并在调度/展示层拦截失效 OAuth 密钥
- 新增 aether-admin provider status 模块,统一解析账号状态(禁用/工作区停用等)
- 调度器 runtime 增加 oauth_invalid 判定,跳过刷新失败或已撤销的 OAuth 密钥(REQUEST_FAILED 保留可选)
- gateway state 在 local oauth 刷新返回 4xx 时持久化失败原因并同步状态快照
- admin pool 列表/详情回填 account 状态与 scheduling 阻塞原因(account_blocked)
- 共享 catalog 的 status_snapshot payload 附加 account 字段
|
2026-04-19 20:50:31 +08:00 |
|
fawney19
|
569242d72f
|
refactor gateway orchestration and failover effects
|
2026-04-18 11:35:11 +08:00 |
|
fawney19
|
7eae1f90f6
|
Unify quota snapshots and oauth refresh handling
|
2026-04-17 18:22:41 +08:00 |
|
 Entropy.Xuandfawney19
|
ac1a126756
|
fix(kiro,pool,model): 对齐 Kiro 管理链路并修复全局模型删除行为 (#305)
* feat(pool): 号池支持跳过额度耗尽账号
- 新增 pool_advanced.skip_exhausted_accounts 开关及高级设置 UI, 默认关闭并兼容旧配置
- 为 Codex/Kiro 增加额度耗尽判定, 接入请求侧候选跳过并新增 account_quota_exhausted skip reason
- 号池列表将额度耗尽账号标记为 blocked/额度耗尽, 并补充前后端相关测试
* fix(kiro): 对齐账号管理与 provider-query 的 Rust 行为
- 修复 Kiro 单条导入误走 import-refresh-token 的前端分流, 并为误用路径返回明确错误提示
- 为 Kiro 导入与本地请求链补齐 bearer 兼容, 同步放开账号启停等 Key 更新操作的 auth_type 校验
- 实现 Kiro provider-query 本地模型测试与 failover 执行链, 并修复结果弹窗在无 trace 时无法展示 attempts/响应体的问题
* fix(model): 删除全局模型时级联清理关联提供商模型
- 对齐 Python 版本删除逻辑, GlobalModel 删除前先在事务内清理关联的 Provider Model 记录
- 修复已绑定 Provider 的模型在 Rust SQL 仓库下会被外键约束拦住、无法正常删除的问题
- 增加管理端回归测试, 覆盖绑定 Provider Model 的 GlobalModel 删除场景
* fix(kiro,ci): 恢复 Kiro OAuth 持久化并修复 Rust CI
* Fix oauth-managed provider key semantics
---------
Co-authored-by: fawney19 <[email protected]>
|
2026-04-17 12:57:06 +08:00 |
|
AAEE86
|
10605d9fb0
|
fix(admin): 同步 OAuth 刷新后的状态快照有效期 (#300)
手动刷新 OAuth Token 后同步回写 status_snapshot.oauth
修复号池管理页面仍显示旧有效期的问题
补充刷新后快照更新的回归测试
|
2026-04-16 14:37:59 +08:00 |
|
fawney19
|
a4e7ac1df6
|
feat(proxy): 重构 Proxy 节点管理与隧道系统
- 重构 proxy_nodes 管理端,支持节点注册、心跳、隧道生命周期管理
- 增强 tunnel 嵌入式 hub 和隧道协议
- 重构 aether-proxy 配置、隧道客户端、心跳和调度机制
- 调整 admin OAuth/配额/导入等处理器的参数传递
- 扩展数据迁移模块
- 补充 proxy nodes、OAuth、配额、系统导入等测试
- 更新前端 proxy nodes 视图和 API
|
2026-04-14 22:51:02 +08:00 |
|
fawney19
|
861ae81ff0
|
feat(admin): 完善代理节点与 OAuth 授权管理
|
2026-04-14 14:09:24 +08:00 |
|
fawney19
|
3698e5a833
|
fix(test): 修复 MutexGuard 跨 await 点的 Clippy 警告
|
2026-04-12 16:22:29 +08:00 |
|