openclaw/src
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
..
acp perf(test): fold acp event mapper tests into client suite 2026-02-16 02:45:00 +00:00
agents refactor(core): dedupe tool policy and IPv4 matcher logic 2026-02-16 16:14:54 +00:00
auto-reply refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
browser refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
canvas-host chore: remove accidental a2ui bundle artifacts 2026-02-16 02:45:00 +00:00
channels refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
cli CLI: restore and harden qr --remote pairing behavior (#18166) 2026-02-16 15:38:07 +00:00
commands refactor(test): centralize auth test env lifecycle cleanup 2026-02-16 16:10:18 +00:00
compat
config refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
cron test: annotate harness mocks to avoid TS2742 in CI 2026-02-16 15:19:11 +00:00
daemon refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
discord test: annotate harness mocks to avoid TS2742 in CI 2026-02-16 15:19:11 +00:00
docs
gateway refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
hooks refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
imessage refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
infra refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
line refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
link-understanding
logging test(status): add coverage for update summary + timestamps 2026-02-16 02:47:47 +00:00
macos test: tighten relay smoke + slack token validation 2026-02-16 02:45:00 +00:00
markdown test: remove duplicate hr spacing assertion 2026-02-16 06:16:33 +00:00
media test: consolidate media store header extension coverage 2026-02-16 02:45:00 +00:00
media-understanding refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
memory refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
node-host perf(test): fold node-host runner tests into sanitize env suite 2026-02-16 02:45:00 +00:00
pairing refactor(core): dedupe tool policy and IPv4 matcher logic 2026-02-16 16:14:54 +00:00
plugin-sdk feat: QR code scanning for gateway onboarding 2026-02-16 17:19:12 +01:00
plugins refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
process test: tighten process timeout thresholds with stabilized emit guard 2026-02-16 05:09:47 +00:00
providers refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
routing refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
scripts
security refactor(core): dedupe tool policy and IPv4 matcher logic 2026-02-16 16:14:54 +00:00
sessions perf(test): fold session key utils into routing session key suite 2026-02-16 02:45:00 +00:00
shared refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
signal refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
slack refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
telegram refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
terminal test: strengthen ports, tool policy, and note wrapping 2026-02-16 02:45:00 +00:00
test-helpers refactor(test): simplify state dir env helpers 2026-02-16 00:08:00 +00:00
test-utils refactor(core): dedupe shared config and runtime helpers 2026-02-16 14:59:30 +00:00
tts refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
tui refactor(channels): dedupe transport and gateway test scaffolds 2026-02-16 14:59:31 +00:00
types
utils refactor(utils): share chunkItems helper 2026-02-16 01:52:30 +00:00
web feat: QR code scanning for gateway onboarding 2026-02-16 17:19:12 +01:00
whatsapp
wizard refactor(agent): dedupe harness and command workflows 2026-02-16 14:59:30 +00:00
channel-web.ts
docker-setup.test.ts
entry.ts
extensionAPI.ts
globals.ts
index.ts
logger.test.ts perf(test): fold console prefix tests into logger suite 2026-02-16 02:45:00 +00:00
logger.ts
logging.ts
polls.test.ts
polls.ts
runtime.ts
utils.test.ts perf(test): drop redundant index entrypoint tests 2026-02-16 02:45:00 +00:00
utils.ts
version.test.ts
version.ts