Skip to content

Cherry-pick abb8f6310: iOS: auto-load scoped gateway canvas with safe fallback#1336

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/abb8f6310-ios-canvas-gateway
Mar 14, 2026
Merged

Cherry-pick abb8f6310: iOS: auto-load scoped gateway canvas with safe fallback#1336
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/abb8f6310-ios-canvas-gateway

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick from upstream

  • Upstream commit: abb8f6310
  • Author: mbelinky (Mariano)
  • Tier: AUTO-PICK (alive=2, rebranded=2)

Summary

Auto-loads the scoped gateway canvas with safe fallback. Adds A2UIReadyState enum and ensureA2UIReadyWithCapabilityRefresh method for robust canvas host validation before A2UI operations.

Conflict resolution

Three hunks resolved across two files:

  1. NodeAppModel+Canvas.swift — fork removed import OpenClawKit during rebrand (not needed); took upstream's new A2UIReadyState enum
  2. NodeAppModel.swift hunk 1 — fork had RemoteClawCanvasA2UICommand (rebranded); took upstream's new ensureA2UIReadyWithCapabilityRefresh flow with fork's names
  3. NodeAppModel.swift hunk 2 — whitespace-only difference (blank line before case); kept fork's rebranded names + upstream's formatting

Depends on #1335

Closes #914 — commit 2/4

…#40282)

Merged via squash.

- mb-server validation: `swift test --package-path apps/shared/OpenClawKit --filter GatewayNodeSessionTests`
- mb-server validation: `pnpm build`
- Scope note: top-level `RootTabs` shell change was intentionally removed from this PR before merge

(cherry picked from commit abb8f63)
@alexey-pelykh alexey-pelykh merged commit 27b4d76 into main Mar 14, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/abb8f6310-ios-canvas-gateway branch March 14, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cherry-pick: iOS/macOS gateway replay, tailscale discovery, canvas auto-load,

2 participants