Commit Graph

51 Commits

Author SHA1 Message Date
fawney19
87e44479cc Add proxy tunnel diagnostics and default logging 2026-05-15 19:43:59 +08:00
RWDai
870bb19798 Update proxy installer branch references 2026-05-15 01:21:08 +08:00
RWDai
07ea745f56 Document proxy one-click installation 2026-05-14 19:35:41 +08:00
RWDai
2db85b1c53 Add proxy one-click installer scripts 2026-05-14 19:34:33 +08:00
fawney19
a7e71624e3 ci: align release channels and speed rust checks 2026-05-14 14:09:27 +08:00
fawney19
339808d55b 更新aether-proxy版本号 2026-05-12 22:46:49 +08:00
fawney19
63149fe281 Add tunnel overload protection 2026-05-12 18:36:41 +08:00
fawney19
5509f70ad4 Bump proxy version to 0.3.9 2026-05-12 18:36:41 +08:00
github-actions[bot]
110cb147d1 chore(proxy): update download links for proxy-v0.3.9 2026-05-12 09:04:17 +00:00
fawney19
4e563e3385 Adjust proxy tunnel sizing defaults 2026-05-12 15:30:55 +08:00
github-actions[bot]
40470d8ca5 chore(proxy): update download links for proxy-v0.3.8 2026-05-10 19:10:49 +00:00
fawney19
94c0076778 chore(proxy): bump version to 0.3.8 2026-05-11 03:03:04 +08:00
fawney19
b813498e40 feat(proxy): surface node resource diagnostics 2026-05-11 02:59:18 +08:00
github-actions[bot]
7f101431c5 chore(proxy): update download links for proxy-v0.3.7 2026-05-10 03:27:15 +00:00
fawney19
e8259a76f0 chore(proxy): bump version to 0.3.7 2026-05-10 11:19:26 +08:00
fawney19
a703acd1fe feat(proxy): record tunnel stability metrics 2026-05-08 22:03:17 +08:00
fawney19
6247ac3edc refactor: extract runtime state backends 2026-05-08 00:18:12 +08:00
fawney19
f3d9523502 Expose upstream proxy in proxy setup TUI 2026-05-07 16:20:20 +08:00
github-actions[bot]
7fdbd0c808 chore(proxy): update download links for proxy-v0.3.6 2026-05-07 07:26:05 +00:00
fawney19
af8f9e9057 chore(proxy): bump version to 0.3.6 2026-05-07 15:18:43 +08:00
fawney19
9bbdf889d4 feat(proxy): support upstream egress proxy 2026-05-07 15:01:18 +08:00
github-actions[bot]
a345bb8c0d chore(proxy): update download links for proxy-v0.3.5 2026-05-07 04:01:32 +00:00
fawney19
fd44906bb7 fix provider pool quota status handling 2026-05-07 11:28:44 +08:00
github-actions[bot]
0386e0426b chore(proxy): update download links for proxy-v0.3.4 2026-05-06 19:35:24 +00:00
fawney19
68216bf868 Clean up transport fingerprint configuration
Remove legacy tls_profile handling, keep header fingerprint under transport profiles, and drop the duplicate auth_modules migration.
2026-05-06 13:54:33 +08:00
fawney19
f959f02d40 Implement transport profile routing 2026-05-05 22:21:23 +08:00
github-actions[bot]
655e369f21 chore(proxy): update download links for proxy-v0.3.3 2026-04-28 12:04:24 +00:00
fawney19
a9b809a32c chore(proxy): bump version to 0.3.3 2026-04-28 19:57:29 +08:00
fawney19
3d20c05ef7 Fix OAuth refresh through tunnel proxy 2026-04-28 19:45:34 +08:00
github-actions[bot]
c31261789c chore(proxy): update download links for proxy-v0.3.2 2026-04-18 17:30:37 +00:00
fawney19
f8545c5141 chore: bump aether-proxy version to 0.3.2 2026-04-19 01:04:55 +08:00
fawney19
f2a3836877 Improve tunnel proxy diagnostics and request body spooling 2026-04-18 21:13:37 +08:00
fawney19
faaaec28e1 fix(clippy): 修复冗余 into_iter、sort_by 及 match 嵌套 if 等 lint 警告 2026-04-17 01:43:45 +08:00
fawney19
6730e821b2 fix(clippy): 修复 collapsible_match 和 unnecessary_sort_by 警告 2026-04-17 01:12:43 +08:00
github-actions[bot]
6e5af5ef70 chore(proxy): update download links for proxy-v0.3.1 2026-04-16 12:41:35 +00:00
fawney19
d312c397e1 chore: bump aether-proxy version to 0.3.1 2026-04-16 20:34:02 +08:00
fawney19
0dce667019 feat(tunnel/usage): proxy writer 双优先级队列、hub 连接压力感知选择、usage 请求记录级别控制及 trace 页面 proxy timing 增强 2026-04-16 20:14:50 +08:00
fawney19
ffe34120c1 tune(tunnel): 放宽 ping 间隔和超时参数, 增大出站队列容量
- gateway ping 间隔 500ms -> 15s, 出站队列 128 -> 512
- proxy ping 间隔 1s -> 10s, 连接超时 1.5s -> 3s, stale 超时 5s -> 30s
2026-04-16 11:05:44 +08:00
fawney19
47a11ee0b5 feat(tunnel): 添加流帧分发超时机制和结构化请求日志
- dispatcher: 为 stream handler 的帧接收添加超时保护, 防止单个
  handler 阻塞 WebSocket 读循环; 超时后发送 StreamError 并清理流
- stream_handler: 在所有请求完成和错误路径添加结构化日志, 记录
  method/host/path/status/duration 等关键信息
- 将常规隧道连接/断开日志从 info 降级为 debug, 减少日志噪音
2026-04-16 10:32:05 +08:00
fawney19
77d413d777 tune(tunnel): 调整 tunnel 超时与连接池参数,增加冗余连接下限
- Gateway: 增大 idle timeout 至 2s、ping interval 至 500ms
- Proxy: 统一 reconnect/ping/stale 超时为常量,降低 reconnect_max 至 250ms
- 自动连接池引入 redundant floor(2),保证低负载时也有冗余连接
2026-04-15 16:27:42 +08:00
fawney19
fbb8249c0d fix(gateway): 改进流式传输稳定性
- stream_pump 读取错误时记录完整错误链并输出 warn 日志
- hub body 转发从 try_send 改为 async send,支持背压避免丢帧
- tunnel_stale_timeout 默认值从 900ms 提升到 10s,减少误判过期
2026-04-15 14:26:57 +08:00
fawney19
adde9ff237 chore(proxy): bump version to 0.3.0 2026-04-15 08:46:19 +08:00
github-actions[bot]
8bb637962f chore(proxy): update download links for proxy-v0.3.0 2026-04-14 19:11:01 +00:00
fawney19
05fbbac493 feat(proxy): 支持配置 private 目标地址放行 2026-04-15 00:31:36 +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
RWDai
37bb120d20 feat(aether-proxy): 支持 Alpine 主机服务安装与 musl 发布 (#291)
* feat(aether-proxy): 支持 Alpine 主机服务安装与 musl 发布

* fix(aether-proxy): address alpine support review findings
2026-04-13 17:20:22 +08:00
fawney19
f84febbf89 fix(proxy): 修复 Clippy dead_code 与 too_many_arguments 警告 2026-04-12 16:19:23 +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
010ab127e2 feat: 扩展 cache creation token 细分统计与 effective_input_tokens 计费逻辑
- 新增 cache_creation_ephemeral_5m/1h_input_tokens 字段,区分不同 TTL 的缓存写入 token
- 引入 effective_input_tokens(扣除 cache read 后的有效输入 token),暴露给 usage 接口
- billing 规则生成器支持 5m/1h ephemeral cache 独立定价与分级计费
- usage_mapper 增加 Claude/Anthropic 格式映射,修复 OpenAI responses 格式字段兼容性
- 迁移逻辑增强:支持 checksum 容错、applied/pending 数量日志、逐步执行信息输出
- executor 抽离 LocalExecutionRequestOutcome 类型,统一 sync/stream 路径返回语义
- provider-transport auth 层新增 complete passthrough headers 构建逻辑
- 前端 usage 类型全面补充 effective_input_tokens、cache_creation_tokens、total_input_context 字段
2026-04-10 17:44:55 +08:00
fawney19
763ff03a7b refactor: 拆分 gateway 单体为独立 crate,新增 systemd 部署方案
将 gateway 内部的 model-fetch、provider-transport、scheduler-core、
usage-runtime、video-tasks-core 模块提取为独立 crate;重构 gateway
内部模块结构(state/router/cache/data/query 等);移除大量遗留模块
文件;新增 systemd 二进制部署骨架及相关文档;更新前端 usage 相关
API 和组件。
2026-04-05 20:23:16 +08:00