refactor: overhaul of options and features

Includes, but not limited to:
- zapret2 support
- declarative inbounds
- proxy-ctl revamp
- automatic proxy learning
This commit is contained in:
FUFSoB committed 2026-09-13 22:37:45 +05:00
1 parent b892384527
commit fdb2b08790
144 files changed
+13198 -14066

No files matched your search

+8 -3
View File
@@ -36,6 +36,7 @@ let
perAppRoutingTun
perAppRoutingTproxy
perAppZapretCfg
zapretEngine
userControlCfg
selectionMode
builtinTags
@@ -43,13 +44,13 @@ let
subscriptionTags
invalidRoutingTargets
collapseNamedOutbounds
hasSubscriptions
sshProxyCfg
sshProxyOutboundEnabled
sshProxyUnitEnabled
proxyInboundsCfg
proxyInboundsEnabled
proxyInboundsNeedLocalProxy
proxyInboundsGuardPrivate
proxyInboundViaOutbounds
userControlEnabled
;
@@ -96,7 +97,6 @@ let
userControlCfg
selectionMode
collapseNamedOutbounds
hasSubscriptions
constants
;
inherit
@@ -120,6 +120,7 @@ let
inherit
proxyInboundsCfg
proxyInboundsNeedLocalProxy
proxyInboundsGuardPrivate
proxyInboundViaOutbounds
userControlEnabled
builders
@@ -161,12 +162,16 @@ let
perAppRoutingTun
perAppRoutingTproxy
perAppZapretCfg
zapretEngine
constants
selectionMode
userControlCfg
;
inherit (scripts) subscriptionTagsFile subscriptionCacheDir;
inherit (scripts) routeModeStateFile;
inherit proxyInboundsEnabled;
inherit (scripts) proxyInboundsLinksFile;
inherit (scripts) proxyInboundsLinksFile proxyInboundsSubscriptionsFile;
proxyInboundsSubscriptionsBaseUrl = proxyInboundsCfg.subscriptions.baseUrl;
inherit amneziaWgProfileNamesFile;
inherit (perAppRouting)
perAppRoutingProfilesFile