Consume pairing tokens only after successful WS registration, revoke
prior reconnect credentials on re-pair, emit reconnect.ok, and wait
for server ack before marking the extension connected.
Co-authored-by: Cursor <cursoragent@cursor.com>
Monorepo Pi package with outbound WebSocket, pairing/reconnect flow,
presence reporting, and single-flight task.dispatch handling.
Co-authored-by: Cursor <cursoragent@cursor.com>