fawney19
|
61bcbe826a
|
fix: tighten OAuth auto cleanup signals
|
2026-05-20 10:34:22 +08:00 |
|
mayrain
|
936e1ae37b
|
feat(grok): add admin oauth and quota support
|
2026-05-16 21:15:38 +08:00 |
|
fawney19
|
3a5922d4ee
|
fix: use codex quota refresh for account checks
|
2026-05-16 20:16:23 +08:00 |
|
fawney19
|
893ac18d60
|
Merge PR #469: 修复用户可见性、额度、验证与 Codex 探测
|
2026-05-16 14:28:19 +08:00 |
|
fawney19
|
f72ab383c9
|
Refine OAuth auto cleanup conditions
(cherry picked from commit 78826eae47ab18ace6931dd190a41070416b5e10)
|
2026-05-16 11:33:45 +08:00 |
|
Entropy.Xu
|
bbd3c30b0e
|
fix(public): 修复用户可见性、额度、验证与 Codex 探测
|
2026-05-16 00:51:44 +08:00 |
|
fawney19
|
8e0f8003a9
|
fix: simplify account self-check config
|
2026-05-15 02:21:11 +08:00 |
|
fawney19
|
91955ad1e0
|
Merge remote-tracking branch 'origin/pr/451' into aether-rust-pioneer
|
2026-05-14 02:10:37 +08:00 |
|
Kayphoon
|
2958041dc7
|
feat(gateway): add reversible chat pii redaction
|
2026-05-13 18:25:13 +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
|
e7471f44b0
|
fix provider oauth endpoint reconciliation
|
2026-05-12 22:46:20 +08:00 |
|
fawney19
|
d1a47c068e
|
feat: update gateway pool and usage flows
|
2026-05-12 21:05:11 +08:00 |
|
fawney19
|
209322b499
|
feat(gateway): unify background task runtime and storage
|
2026-05-09 21:19:29 +08:00 |
|
fawney19
|
c52ef1993f
|
Improve provider OAuth device flow
|
2026-05-08 01:33:23 +08:00 |
|
fawney19
|
fd44906bb7
|
fix provider pool quota status handling
|
2026-05-07 11:28:44 +08:00 |
|
fawney19
|
10e679bb2f
|
Add provider key cycle stats reset handling
|
2026-05-07 03:23:20 +08:00 |
|
fawney19
|
6c0ac2e8da
|
chore: omit deprecated python quota changes
|
2026-05-07 01:39:48 +08:00 |
|
Codex
|
41f75a3f19
|
feat: show chatgpt web image quota
|
2026-05-06 22:58:47 +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
|
f959f02d40
|
Implement transport profile routing
|
2026-05-05 22:21:23 +08:00 |
|
fawney19
|
c130d0e2c9
|
refactor ai serving modules and crates
|
2026-05-02 13:23:54 +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
|
07a319259b
|
Normalize canonical API formats
|
2026-04-29 10:20:41 +08:00 |
|
fawney19
|
3d20c05ef7
|
Fix OAuth refresh through tunnel proxy
|
2026-04-28 19:45:34 +08:00 |
|
fawney19
|
70f747d406
|
Add shared OAuth flows
|
2026-04-28 15:46:21 +08:00 |
|
fawney19
|
29fc0be121
|
Tighten OAuth refresh consistency
|
2026-04-28 09:36:42 +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
|
4ec591fbf2
|
centralize openai responses alias handling
|
2026-04-26 23:59:53 +08:00 |
|
fawney19
|
5b914aa78c
|
migrate ai format conversion to responses adapters
|
2026-04-26 23:59:53 +08:00 |
|
AAEE86
|
a9d10163af
|
fix(oauth): 修复 OAuth 刷新后 Token 有效期不更新问题 (#324)
- 持久化刷新后的 `expires_at` 到 Provider Key SQL 更新链路
- 手动刷新接口优先返回本次刷新得到的过期时间
- 按当前 Key 字段重建 OAuth 状态快照,避免旧快照覆盖
- 前端刷新后防止旧列表数据回退覆盖新有效期
|
2026-04-24 09:35:25 +08:00 |
|
Entropy.Xu
|
31e871fe1b
|
fix(kiro): 修复流响应识别与号池配额刷新 Token 续期问题 (#322)
* fix(kiro): 兼容 application/json 头下的 eventstream 流响应
- stream_pump: 对带 kiro:generateAssistantResponse envelope 的上游响应按流处理,不再仅依赖 text/event-stream 头判断\n- tests: 补充 application/json 头下仍识别为 Kiro stream 的回归测试
* fix(kiro): 修复号池配额刷新误判封禁
|
2026-04-24 09:34:34 +08:00 |
|
 fawney19andEntropy.Xu
|
fa328e18a1
|
feat: provider api_formats 可空继承、OpenAI 图片 edit/variation 与用量配额多项补强
- 鉴权: provider_api_keys.api_formats 改为可空,OAuth 托管 key 自动继承 provider endpoints 激活格式,相关 handler/测试同步更新
- 图片 planner: OpenAI 图片路由新增 edit/variation 操作并完善参数校验、响应合并与流式处理
- 用量: user me usage 返回区分 client_requested_stream/upstream_is_stream,前端 usage 列表筛选与展示增强
- 统计: stats_daily_model 新增 cache_creation_ephemeral_5m/1h tokens 字段与回填链路
- 配额/observability: quota repository 新增内存与 SQL 扩展,admin observability usage 字段扩充
- 其它: OAuth 导入/轮询收敛、provider 汇总与 pool admin 读写链路小修、新增 system_config 缓存与 provider template handler
Closes #318
Co-authored-by: Entropy.Xu <[email protected]>
|
2026-04-23 14:42:51 +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
|
7eae1f90f6
|
Unify quota snapshots and oauth refresh handling
|
2026-04-17 18:22:41 +08:00 |
|
 AAEE86andfawney19
|
e5d3722adf
|
fix(admin): force manual oauth refresh to bypass local cache (#308)
Co-authored-by: fawney19 <[email protected]>
|
2026-04-17 14:12:15 +08:00 |
|
fawney19
|
654a41c3b0
|
Revert "fix(admin): force manual oauth refresh to bypass local cache"
This reverts commit 85a630cfa9.
|
2026-04-17 13:36:51 +08:00 |
|
fawney19
|
85a630cfa9
|
fix(admin): force manual oauth refresh to bypass local cache
|
2026-04-17 13:23:51 +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 |
|
fawney19
|
faaaec28e1
|
fix(clippy): 修复冗余 into_iter、sort_by 及 match 嵌套 if 等 lint 警告
|
2026-04-17 01:43:45 +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
|
9703840a36
|
feat(proxy): 实现代理节点批量升级回滚、隧道重定向跟随及远程配置管理
核心功能:
- 新增代理节点批量升级回滚工作流,支持分批升级、健康探针、跳过/重试/取消等操作
- proxy 隧道流处理器支持 HTTP 重定向跟随(最多 10 跳),区分 307/308 可重播与不可重播请求体
- proxy 协议新增 follow_redirects / http1_only 字段,网关侧同步支持
- 新增代理节点远端配置变更接口(名称、允许端口、调度状态、升级目标等)
- 新增代理节点注册/反注册/心跳的 Admin API,及节点过期清理维护任务
- gateway 隧道 owner-relay 支持流式代理大请求体,新增 5 MiB 默认限制
- 新增 ProxyNodeRegistrationMutation / ProxyNodeRemoteConfigMutation 数据类型
- proxy 配置新增重定向重播预算、心跳间隔等参数,TUI 安装向导同步更新
- 前端 ProxyNodes 页面新增批量升级操作面板及滚动进度展示
|
2026-04-12 16:02:38 +08:00 |
|
fawney19
|
5014e2f5fd
|
refactor: 抽离 AI pipeline 与调度共享能力逻辑
|
2026-04-10 01:46:14 +08:00 |
|
fawney19
|
4fc95adfb9
|
refactor: 大规模模块拆分与重组,新增 aether-admin crate
- 新建独立 aether-admin crate 承载 admin 相关共享契约与纯辅助函数
- 拆分 ai_pipeline 下 kiro/private_envelope/conversion/planner 等大文件为子模块目录
- 重组 admin handlers 各业务域(billing/oauth/provider/system/users 等)为目录结构,移除 shared.rs/builders.rs 等反模式
- 移除 ai_pipeline runtime adapters 旧实现(claude/openai/gemini/kiro/vertex/antigravity 等),改由 provider transport 统一承载
- 移除 control_facade/execution_facade/auth_snapshot_facade 等冗余 facade 层
- 拆分 query/billing 与 query/monitoring 模块、state/runtime/payments 与 security 模块
- 扩展架构测试覆盖 admin_billing/admin_model/admin_users 等新模块
- 删除 docs/architecture/refactor-execution-plan.md 已完成的执行计划文档
|
2026-04-09 00:10:38 +08:00 |
|
fawney19
|
4fb9882b54
|
refactor: 拆分 admin handler 大文件为模块目录,消除 shared.rs 反模式
- endpoint_keys/pool/architecture 等大文件拆分为独立模块目录
- 删除 crud/query/strategy/system 中的 shared.rs,内容归位到各自模块
- endpoints_admin/models/oauth/write 等模块拆出 payloads/responses/support 子文件
- system/core 下多个 *_routes.rs 合并到 system_routes.rs
- 更新 refactor-execution-plan 文档进度
|
2026-04-07 12:15:19 +08:00 |
|