mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Merged 3580 upstream commits from openclaw/main through a bridge branch that applied the openclaw→hanzo-bot rebrand before merging. Key upstream additions: - Android device diagnostics and notification actions - Device-auth v2 migration improvements - Docker CLI packaging fixes - Ollama discovery log demotion - Channel health monitoring - Slack native streaming - Linq iMessage channel - Gemini OAuth and FTS improvements - Inbound sender metadata - Daemon PATH improvements - Canvas host and onboarding enhancements - Security hardening (session files, exec allowlist)
Hanzo Bot (iOS)
This is an alpha iOS app that connects to an Hanzo Bot Gateway as a role: node.
Expect rough edges:
- UI and onboarding are changing quickly.
- Background behavior is not stable yet (foreground app is the supported mode right now).
- Permissions are opt-in and the app should be treated as sensitive while we harden it.
What It Does
- Connects to a Gateway over
ws:///wss:// - Pairs a new device (approved from your bot)
- Exposes phone services as node commands (camera, location, photos, calendar, reminders, etc; gated by iOS permissions)
- Provides Talk + Chat surfaces (alpha)
Pairing (Recommended Flow)
If your Gateway has the device-pair plugin installed:
- In Telegram, message your bot:
/pair - Copy the setup code message
- On iOS: Hanzo Bot → Settings → Gateway → paste setup code → Connect
- Back in Telegram:
/pair approve
Build And Run
Prereqs:
- Xcode (current stable)
pnpmxcodegen
From the repo root:
pnpm install
pnpm ios:open
Then in Xcode:
- Select the
Hanzo Botscheme - Select a simulator or a connected device
- Run
If you're using a personal Apple Development team, you may need to change the bundle identifier in Xcode to a unique value so signing succeeds.
Build From CLI
pnpm ios:build
Tests
cd apps/ios
xcodegen generate
xcodebuild test -project Hanzo Bot.xcodeproj -scheme Hanzo Bot -destination "platform=iOS Simulator,name=iPhone 17"
Shared Code
apps/shared/Hanzo BotKitcontains the shared transport/types used by the iOS app.