feat(wl): runtime auth

This commit is contained in:
fufsob committed 2026-09-25 04:57:30 +00:00
1 parent f3e9140f62
commit ba5f960b2e
10 files changed
+222 -34

No files matched your search

+2 -1
View File
@@ -56,9 +56,10 @@ What userControl\.group may do; empty allows every scope\.
- “autoProxy”: read what autoProxy learned, and ` proxy auto learn|forget|relearn|clear `\.
- “zapret”: edit zapret2’s learned hosts, and ` zapret cutoff probe `\.
- “stats”: ` inbounds stats `\.
- “whitelistBypass”: the whitelist-bypass creators and joiners: ` wl on|off|toggle|restart `, their calls (` wl link `), and their logins and links (` wl auth|join|new `)\.
*Type:*
list of (one of “services”, “perApp”, “routing”, “outbounds”, “secrets”, “autoProxy”, “zapret”, “stats”)
list of (one of “services”, “perApp”, “routing”, “outbounds”, “secrets”, “autoProxy”, “zapret”, “stats”, “whitelistBypass”)
*Default:*
+20 -5
View File
@@ -83,11 +83,18 @@ attribute set of (submodule)
Runtime path to the platform’s cookies, as the upstream desktop Creator exports them\.
Copied into the state directory on first start only: DION and Bitrix rotate their
refresh token into that copy, and a stale one would kill the session\. Delete
` <stateDir>/whitelist-bypass/<name>.cookies.json ` to take a new export\.
refresh token into that copy, and a stale one would kill the session\.
` proxy-ctl wl auth <name> ` replaces that copy at runtime, with a new export or, for
DION and Bitrix, an email and password\. Null leaves the creator off until then\.
*Type:*
string
null or string
*Default:*
```nix
null
```
*Example:*
@@ -100,7 +107,7 @@ string
Runtime path to the call to rejoin\. Null rejoins the last call written to
` <stateDir>/whitelist-bypass/<name>.link `, and creates one on first start: the link
stays the same across restarts, so the joiner needs it only once\.
stays the same across restarts, so the joiner needs it only once\. ` proxy-ctl wl new <name> ` drops it for a new call, when the platform has closed the old one\.
*Type:*
null or string
@@ -195,9 +202,17 @@ attribute set of (submodule)
Runtime path to the call link the creator printed (or wrote to its state directory):
a WB Stream room id, a Telemost link, a DION event slug or a Bitrix conference link\.
` proxy-ctl wl join <name> <link> ` sets one at runtime, which wins over this\. Null
leaves the joiner off until then\.
*Type:*
string
null or string
*Default:*
```nix
null
```
*Example:*