refactor(tunnel): rename aether-proxy to aether-tunnel

This commit is contained in:
fawney19
2026-05-20 01:02:01 +08:00
parent f4d0d5904a
commit 94760dbc14
57 changed files with 939 additions and 889 deletions

View File

@@ -10,7 +10,7 @@ export interface ProxyConfig {
url?: string
username?: string
password?: string
node_id?: string // 代理节点 IDaether-proxy 注册的节点,与 url 互斥)
node_id?: string // 代理节点 IDaether-tunnel 注册的节点,与 url 互斥)
enabled?: boolean // 是否启用代理false 时保留配置但不使用)
}

View File

@@ -26,10 +26,10 @@ export interface ProxyNode {
proxy_url?: string
proxy_username?: string
proxy_password?: string
// 硬件信息aether-proxy 节点)
// 硬件信息aether-tunnel 节点)
hardware_info: Record<string, unknown> | null
estimated_max_concurrency: number | null
// 远程配置aether-proxy 节点)
// 远程配置aether-tunnel 节点)
remote_config: ProxyNodeRemoteConfig | null
config_version: number
registered_by: string | null

View File

@@ -524,7 +524,7 @@
<Dialog
:model-value="showAddDialog"
:title="editingNode ? '编辑代理节点' : '添加代理节点'"
:description="editingNode ? '修改手动代理节点的配置' : '推荐使用一键脚本部署 aether-proxy,也可手动添加已有 HTTP/SOCKS 代理'"
:description="editingNode ? '修改手动代理节点的配置' : '推荐使用一键脚本部署 aether-tunnel,也可手动添加已有 HTTP/SOCKS 代理'"
:icon="editingNode ? SquarePen : Plus"
size="lg"
@update:model-value="handleDialogClose"
@@ -733,11 +733,11 @@
</template>
</Dialog>
<!-- 远程配置对话框 (aether-proxy 节点) -->
<!-- 远程配置对话框 (aether-tunnel 节点) -->
<Dialog
:model-value="showConfigDialog"
title="远程配置"
description="修改后将在下次心跳时自动下发到 aether-proxy 节点"
description="修改后将在下次心跳时自动下发到 aether-tunnel 节点"
:icon="Settings"
size="md"
@update:model-value="handleConfigDialogClose"
@@ -1053,7 +1053,7 @@ const proxyInstallHint = computed(() => {
return `这条命令将在 ${Math.floor(proxyInstallSession.value.expires_in_seconds / 60)} 分钟内有效,成功使用后立即失效。`
})
// 远程配置对话框 (aether-proxy 节点)
// 远程配置对话框 (aether-tunnel 节点)
const showConfigDialog = ref(false)
const savingConfig = ref(false)
const configNode = ref<ProxyNode | null>(null)

View File

@@ -684,7 +684,7 @@ function tunnelErrorAction(category: string) {
case 'ws_write_error': return '检查 gateway 是否重启、负载均衡/NAT/防火墙是否重置长连接,并确认 proxy 是否已自动重连。'
case 'ws_ping_error': return '检查中间代理是否清理空闲 WebSocket或对端是否提前关闭连接。'
case 'ws_read_error': return '对照同一时间的 gateway 日志和网络监控,确认是否存在链路中断。'
case 'tunnel_connect_error': return '检查 Aether 地址、DNS、TLS、管理 token以及 AETHER_PROXY_AETHER_PROXY_URL 配置。'
case 'tunnel_connect_error': return '检查 Aether 地址、DNS、TLS、管理 token以及 AETHER_TUNNEL_AETHER_OUTBOUND_PROXY_URL 配置。'
case 'frame_decode_error': return '检查 proxy/gateway 版本兼容性,确认中间层没有改写 WebSocket 二进制帧。'
case 'stream_dispatch_timeout': return '检查 proxy CPU/内存、并发上限和上游 provider 慢请求。'
case 'heartbeat_ack_empty':

View File

@@ -397,7 +397,7 @@ function copyStep(stepId: string, code: string) {
<h3>1. Aether-Proxy</h3>
<p>Rust实现, 超小资源占有, 适合性能低的VPS直接使用。</p>
<a
href="https://github.com/fawney19/Aether/tree/main/aether-proxy"
href="https://github.com/fawney19/Aether/tree/main/aether-tunnel"
target="_blank"
rel="noopener noreferrer"
class="text-[#cc785c] dark:text-[#d4a27f] hover:underline mt-2 inline-block"

View File

@@ -101,7 +101,7 @@ make dev
1. **Aether-Proxy**
Rust实现, 超小资源占有, 适合性能低的vps直接使用。
[https://github.com/fawney19/Aether/tree/main/aether-proxy](https://github.com/fawney19/Aether/tree/main/aether-proxy)
[https://github.com/fawney19/Aether/tree/main/aether-tunnel](https://github.com/fawney19/Aether/tree/main/aether-tunnel)
2. **代理节点**
在模块管理中, 开启代理模块后可以添加和使用代理功能, 包括手动添加和Aether-Proxy自动连接。