How realsigridjin/omo-ui-macosapp works
OmO UI is an Electron macOS client for the omo coding agent, with a SwiftUI iPhone companion that controls the Mac over USB. The desktop workflow runs from the user’s workspace and composer through app state and the Electron bridge to omo app-server; streamed events and reconstructed session history feed the conversation, activity, and agent views. The README also documents side chats, skills, approvals, account usage, onboarding, settings, and automatic omo updates. Some peripheral wiring is not shown in the excerpts, so those links are omitted rather than inferred.
Main entry points: App.tsx App shell · ipc.ts IPC handlers · actions.ts App state and actions · supervisor.ts Omo supervisor
Components 26
Desktop experience
- App shell
src/App.tsx - Composer and skills
src/ui/composer/Composer.tsx - Conversation view
src/ui/conversation/ConversationPane.tsx - Agents and activity
src/ui/agents/AgentsPanel.tsx - Side chat
src/ui/btw/SidePanel.tsx - Settings and accounts
src/ui/settings/SettingsPage.tsx - Onboarding
src/ui/onboarding/Onboarding.tsx
Session state and views
- App state and actions
src/state/actions.ts - Live event parsing
src/state/live-wire.ts - State selectors
src/state/selectors.ts - Markdown rendering
src/dsh/primitives/markdown/highlight.ts
Electron runtime
- Main process
electron/main.ts - IPC handlers
electron/ipc.ts - Omo supervisor
electron/omo/supervisor.ts - App-server client
electron/omo/app-server-client.ts - IPC and wire contracts
shared/protocol.ts - Omo updater
electron/omo/updater.ts
iPhone companion
- USB bridge
electron/iphone/bridge.ts - iPhone app
ios/OmoRemote/RemoteModel.swift - iPhone RPC client
ios/OmoKit/Sources/OmoKit/RPCClient.swift
History and preferences
- Session history
electron/history/session-jsonl.ts - Preferences
electron/prefs.ts - Account usage
electron/accounts/usage.ts
Other components
- User
- omo app-server
- iPhone user
Connections 30
- User → App shell: uses
README.md - App shell → Composer and skills: renders
src/App.tsx - App shell → Conversation view: renders
src/App.tsx - App shell → Side chat: renders
src/App.tsx - App shell → Agents and activity: renders
src/App.tsx - App shell → Settings and accounts: opens
src/App.tsx - App shell → Onboarding: renders
src/App.tsx - App shell → App state and actions: creates
src/App.tsx - Composer and skills → App state and actions: dispatches
- App state and actions → Live event parsing: parses events
src/state/actions.ts - App state and actions → State selectors: selects state
src/state/index.ts - Conversation view → Markdown rendering: renders text
- Main process → IPC handlers: registers handlers
electron/main.ts - Main process → Omo supervisor: starts
electron/main.ts - Main process → USB bridge: starts
electron/main.ts - Omo supervisor → App-server client: launches
electron/omo/supervisor.ts - App-server client → omo app-server: sends RPC
electron/omo/app-server-client.ts - IPC handlers → Omo supervisor: routes requests
electron/ipc.ts - IPC handlers → Session history: loads history
electron/ipc.ts - IPC handlers → Preferences: reads settings
electron/ipc.ts - IPC handlers → Account usage: loads usage
electron/ipc.ts - Omo supervisor → Omo updater: checks updates
electron/omo/supervisor.ts - USB bridge → Omo supervisor: relays requests
electron/iphone/bridge.ts - iPhone user → iPhone app: controls sessions
README.md - iPhone app → iPhone RPC client: uses RPC
- iPhone RPC client → USB bridge: USB connection
README.md - omo app-server → Session history: writes sessions
README.md - Session history → App state and actions: restores conversations
README.md - Settings and accounts → Account usage: shows usage
README.md - Onboarding → omo app-server: installs if missing
README.md