feat: read 6-month desktop authToken from tokens-mcp.json (v0.1.2)

Token resolution order:
1. PLAUD_TOKEN env var
2. ~/.plaud/tokens-mcp.json (desktop app authToken, ~6-month expiry)
   Written by plaud_decrypt_tokens.py via Electron safeStorage decryption
3. ~/.plaud/config.json (legacy 24-hour web token fallback)

The Plaud desktop app stores a standard JWT authToken in Chromium v10
Electron safeStorage (AES-128-CBC / PBKDF2-SHA1). plaud_decrypt_tokens.py
extracts this token and saves it to tokens-mcp.json. Current token expires
2026-11-25; re-run the decrypt script on that date to renew.
This commit is contained in:
2026-05-12 15:48:08 -05:00
parent 955097676e
commit 381142a6ac
+1 -1
View File
File diff suppressed because one or more lines are too long