docs: update pairing docs with SQLite persistence and TUI execution details
This commit is contained in:
@@ -161,10 +161,12 @@ All adapters implement `ChannelAdapter` interface (`src/channels/types.ts`): `co
|
||||
- Gateway lock: Single-client WebSocket mode (`server.lock`)
|
||||
|
||||
**DM Pairing Codes:**
|
||||
- Implementation: `src/channels/pairing.ts`
|
||||
- Implementation: `src/channels/pairing.ts`, `src/session/store.ts` (SQLite persistence)
|
||||
- Purpose: Authenticate unknown senders via one-time codes
|
||||
- Config: `pairing.enabled`, `pairing.code_ttl` (default 5m), `pairing.code_length` (default 6)
|
||||
- Gateway handlers for code generation/verification
|
||||
- TUI `/pair` command execution (generate/list/revoke) in `src/frontends/tui/minimal.ts`
|
||||
- Persistence: `PairingStore` interface with SQLite `pairing_approved` table -- approved senders survive daemon restarts
|
||||
|
||||
**Gmail OAuth2:**
|
||||
- SDK: `googleapis` (`src/automation/gmail.ts`)
|
||||
|
||||
Reference in New Issue
Block a user