Clarify active Windows client architecture

This commit is contained in:
2026-07-07 21:19:41 +03:00
parent a0f41baa36
commit 59f2264a2e
55 changed files with 19554 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
| --- | --- | --- | --- |
| `gateway` | LXC/VPS как gateway для роутера и всей сети | Docker `network_mode: host` + TProxy | делаем первым |
| `desktop-proxy` | Mac/Linux локальный HTTP/SOCKS proxy с fallback | Docker bridged ports | позже переносим из старой реализации |
| `windows-gaming` | Windows для игр/Discord/Vesktop | native `sing-box.exe` + ProxiFyre | позже приводим в порядок |
| `windows-gaming` | Windows для игр/Discord/Vesktop | standalone Tauri 2 app + ProxiFyre adapter + optional native `sing-box.exe` | активное направление: `docs/goals/windows-modular-client/PLAN.md` |
## Gateway mode
@@ -84,15 +84,32 @@
## Windows gaming mode
Цель: сохранить сценарий для Discord/Vesktop/игр.
Цель: отдельное Windows desktop-приложение для Discord/Vesktop/игр, где Control App, Proxyfier Layer и Local sing-box являются независимыми компонентами.
Current checkpoint:
- MVP slice exists under `apps/windows-client`.
- Frontend build passes with `npm run build`.
- Rust/Tauri native verification requires installing Rust/rustup and Visual Studio Build Tools with MSVC/Windows SDK.
- Local sing-box is optional; external SOCKS5 targets remain the first verified path.
Требования:
- Native `sing-box.exe`.
- Scheduled task или Windows service.
- ProxiFyre + WinPacketFilter для приложений, которые не умеют proxy.
- Управление из PowerShell helper.
- Позже можно сделать Electron/Tauri UI поверх privileged helper.
- Standalone Tauri 2 + React/TypeScript + Rust app under `apps/windows-client`.
- Profiles for process/folder/exe app routing.
- External SOCKS5/HTTP targets first; local `sing-box` is optional.
- Proxyfier adapter boundary with ProxiFyre as the first engine.
- Explicit installers for Control App, Proxyfier Layer, and Local sing-box.
- Privileged helper/install operations return structured JSON.
Source docs:
- Product/tech brief: `docs/windows-client-product-tech-brief.md`.
- Execution plan: `docs/goals/windows-modular-client/PLAN.md`.
Superseded:
- The old Node `APP_MODE=windows` plan in `docs/superpowers/plans/2026-05-21-windows-client.md` is historical context, not the active implementation path.
## Рабочий порядок
@@ -102,4 +119,4 @@
4. Реализовать Vite + React UI для subscription -> server select -> apply.
5. Добавить gateway docs/install script.
6. Потом переносить desktop-proxy.
7. Потом приводить Windows mode к новой архитектуре.
7. Потом реализовать standalone Windows Tauri client по `docs/goals/windows-modular-client/PLAN.md`.