openclaw/docs/platforms
Chris Herold 6e33f3f0f3
iOS: implement dual-connection gateway architecture with deadlock fix
Aligns the iOS app with the Clawnet refactor by implementing proper role
separation for gateway connections. Uses separate operator and node sessions
to match the gateway's authorization requirements.

Changes:
- New GatewayOperatorSession: Wraps GatewayChannelActor for operator-role
  RPC requests (chat.*, health, sessions.list) without invoke handling
- Dual-connection architecture: Operator session for requests, node session
  for node.event calls (e.g., chat.subscribe)
- Separate websocket sessions: Each connection gets its own URLSession to
  prevent response cross-talk
- Updated chat transport: IOSGatewayChatTransport uses operator session for
  requests, node session for subscriptions

ClawdbotKit (shared):
- Deadlock fix in GatewayChannel.swift: Moved connection finalization
  (listen(), connected=true, isConnecting=false, waiter resumption) to occur
  before calling pushHandler. This fixes a latent bug where requests made
  from onConnected callbacks would deadlock. Does not affect macOS (its
  callback doesn't make requests).
- Package.swift: Fixed argument order for Swift 6.2 compatibility

iOS chat is now working. This is the base PR to unlock further work on
the iOS app.
2026-01-27 14:46:27 -08:00
..
mac Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
android.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
digitalocean.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
exe-dev.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
fly.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
gcp.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
hetzner.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
index.md Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
ios.md iOS: implement dual-connection gateway architecture with deadlock fix 2026-01-27 14:46:27 -08:00
linux.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
macos-vm.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
macos.md Branding: update bot.molt bundle IDs + launchd labels 2026-01-27 14:46:50 -06:00
oracle.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
raspberry-pi.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
windows.md refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00