openclaw/src/plugin-sdk
Hongwei Ma 06adadc759 feat: QR code scanning for gateway onboarding
iOS:
- QR scanner view using DataScannerViewController
- Photo library QR detection via CIDetector for saved QR images
- Deep link parser for openclaw://gateway URLs and base64url setup codes
- Onboarding wizard: full-screen welcome with "Scan QR Code" button,
  auto-connect on scan, back navigation, step indicators for manual flow

Backend:
- Add /pair qr action to device-pair extension for QR code generation
- TUI/WebUI differentiation: ASCII QR for TUI, markdown image for WebUI
- Telegram: send QR as media attachment via sendMessageTelegram
- Add data URI support to loadWebMedia for generic base64 media handling
- Export renderQrPngBase64 from plugin SDK for extension use

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
(cherry picked from commit d79ed65be0)
2026-02-16 17:19:12 +01:00
..
account-id.ts perf(test): avoid plugin-sdk barrel imports 2026-02-14 12:42:19 +00:00
agent-media-payload.ts refactor(plugin-sdk): add shared helper utilities 2026-02-15 19:37:40 +00:00
allow-from.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
command-auth.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
config-paths.ts refactor(zalo): share outbound chunker 2026-02-15 01:15:43 +00:00
file-lock.ts refactor(shared): reuse isPidAlive 2026-02-15 19:06:54 +00:00
index.test.ts
index.ts feat: QR code scanning for gateway onboarding 2026-02-16 17:19:12 +01:00
json-store.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
onboarding.ts refactor(onboarding): share promptAccountId helper 2026-02-15 01:15:43 +00:00
provider-auth-result.ts refactor(plugin-sdk): add shared helper utilities 2026-02-15 19:37:40 +00:00
slack-message-actions.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
status-helpers.ts refactor(plugin-sdk): add shared helper utilities 2026-02-15 19:37:40 +00:00
text-chunking.ts refactor(zalo): share outbound chunker 2026-02-15 01:15:43 +00:00
tool-send.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
webhook-path.ts refactor(plugin-sdk): add shared helper utilities 2026-02-15 19:37:40 +00:00
webhook-targets.ts refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00