Seed client auth from token file and pin the data dir
This commit is contained in:
+5
-1
@@ -27,10 +27,14 @@ TOKEN_FILE=/path/to/token DEBUG=1 pnpm poc:qr
|
||||
|
||||
Connects to `wss://remote-auth-gateway.discord.gg/?v=2`, renders the approval QR directly in the
|
||||
terminal, waits for a phone scan, exchanges the login ticket and writes the token to
|
||||
`poc/.token` (mode 600, gitignored; override with `TOKEN_FILE`). No existing token required.
|
||||
`poc/.token` (mode 600, gitignored; override with `TOKEN_FILE`). This is the **puppet account's**
|
||||
token. No existing token required.
|
||||
If Discord responds with an hCaptcha challenge, the script prints the challenge and prompts for a
|
||||
`HCAPTCHA_KEY` (or takes it from the environment).
|
||||
|
||||
The headless client consumes this file on startup via `VESKSLOP_TOKEN_FILE` (default
|
||||
`<DATA_DIR>/token`, see [../AGENTS.md](../AGENTS.md) → Auth persistence).
|
||||
|
||||
### 1. Vesktop control bridge — `src/control-bridge.ts`
|
||||
|
||||
The MCP daemon. Exposes Streamable HTTP and forwards tool calls over the JSON-lines protocol on
|
||||
|
||||
Reference in New Issue
Block a user