Self-improving AI Employees for everyone
Noodle Mobile: the iOS and iPadOS client
Noodle Mobile (Mobile/VERSION 0.24.0, released 2026-10-07) is a SwiftUI app for iPhone and iPad that joins one or more Noodle Hubs and chats with the bots and groups kept there. It is built as an iOS 26 Messages clone: a single NavigationStack (no split view, even on iPad), a plain list with pinned bots as large circles, a full-bleed per-conversation wallpaper behind a transcript of opaque bubbles, a Liquid Glass composer that sits level with the system search field and is overlaid on the transcript rather than pushing it, a Messages-style long-press "lift" overlay for reactions and actions, and a plus button that morphs into a Camera/Photos/Files panel. Around the chat sit Hub management (pairing by QR, diagnostics, users, devices), bot and group editors, tool/computer/browser assignment, voice messages transcribed on device, WebRTC voice calls, live views of shared browsers and computers, noodlets (small web apps a bot builds) run on the phone or streamed from the Hub, a TV mode that turns the phone into a game controller, and privacy-preserving push notifications. The app uses no custom colour assets: the accent is system blue, surfaces are iOS semantic colours, and every size below is a SwiftUI point value (1 pt = 1 CSS px at the default zoom).
Permalink base for every citation below: https://github.com/pdparchitect/noodle/blob/702339e3153025c9fe9582783caff7a19b48ff97/
2. Scope
Sources read in full (all of Mobile/Sources/**):
| File | Lines | Covers |
|---|---|---|
Mobile/Sources/NoodleMobile/Chats.swift |
2653 | Data model (HubChats), chat list (AgentsView), rows, pinned circles, chat screen (ChatView), bubbles, composer, bot and group editors, avatars |
Mobile/Sources/NoodleMobile/HubScreens.swift |
1102 | Join screen, pairing sources, Help Me Connect, Hubs, Hub details, Archived, Users, Pair Device, QR scanner, Settings |
Mobile/Sources/NoodleMobile/HubTools.swift |
849 | Tools/Computers/Browsers screens, New Tool catalogue, Custom MCP Server, Sharing, live surface screen, live-link kinds |
Mobile/Sources/NoodleMobile/ChatContent.swift |
845 | Attachments, attachment layouts, link previews, pending-file chips, composer text view, @-mentions, Shared sheet |
Mobile/Sources/NoodleMobile/VoiceMessages.swift |
662 | Recorder, recording bar, waveforms, voice-message player |
Mobile/Sources/NoodleMobile/Calls.swift |
563 | Call state, WebRTC audio, call bar, call card, transcript blocks, voice picker |
Mobile/Sources/NoodleMobile/Appearance.swift |
488 | ConversationBackdrop, BackgroundEditor, BotPictureEditor, PersonAvatar, PersonPictureEditor |
Mobile/Sources/NoodleMobile/Noodlets.swift |
332 | Noodlet player, on-device runner, sound, orientation lock |
Mobile/Sources/NoodleMobile/ExternalScreen.swift |
294 | TV output, TV button, controller list, TV game menu |
Mobile/Sources/NoodleMobile/MessageActions.swift |
219 | Message text, long-press overlay, unsent-message actions |
Mobile/Sources/NoodleMobile/Notifications.swift |
168 | CloudKit subscriptions, push registration, notification routing |
Mobile/Sources/NoodleMobile/MessageTables.swift |
157 | Table card and sortable table sheet |
Mobile/Sources/NoodleMobile/WordmarkRefresh.swift |
84 | Pull-to-refresh that draws the wordmark |
Mobile/Sources/NoodleMobile/App.swift |
61 | App entry, join-link alert |
Mobile/Sources/Shared/ReplyNotifications.swift |
81 | App group, push topics, notification content |
Mobile/Sources/NoodleMobileNotifications/NotificationService.swift |
37 | Notification service extension |
Also read: Mobile/README.md, Mobile/AGENTS.md and Mobile/CLAUDE.md (as data: they say releases go through TestFlight, the Xcode project is generated by Tuist from Project.swift, and every user-visible change must add a "What to Test" entry to CHANGELOG.md), Mobile/CHANGELOG.md (0.1.0 to 0.24.0, used to confirm behaviour and dating), Mobile/Project.swift, and two tests that pin values (Mobile/Tests/NoodleMobileTests/ComposerSizeTests.swift, MessageActionsTests.swift). Shared code consulted only for values the mobile UI shows: Shared/HubLink/Sources/HubLink/MessageTable.swift, Shared/HubLink/Sources/HubLink/LinkProtocol.swift, Shared/Wallpaper/Sources/NoodleWallpaperCore/ConversationBackground.swift, Shared/Surface/Sources/Surface/Gamepad.swift, Applet/Protocol/Sources/NoodletRuntime/Grants.swift, Applet/Protocol/Sources/NoodletFormat/Manifest.swift. Mac counterparts for the comparison table: Sources/Noodle/Components.swift, LongMessageText.swift, ChatView.swift, SidebarView.swift, TranscriptScrollView.swift.
Screenshots viewed (ground truth for appearance):
| Screenshot | Shows | Caveat |
|---|---|---|
website/assets/mobile-chats.png |
Chat list, light mode: no title, blue ••• top right, 8 rows with avatars, phase dots, relative times, chevrons |
Predates 0.23.0: no "All" space title menu |
website/assets/mobile-new-bot.png |
Bot editor sheet (editing "Hugo"): glass Cancel/Save capsules, 88 pt avatar with "Edit", grouped form | No navigation title (matches code); Kick/New Session section not visible |
website/assets/mobile-new-tool.png |
New Tool sheet over the editor sheet: catalogue rows, floating bottom "Search tools" field | Row names render in tint blue |
website/assets/mobile-game.png |
A noodlet game in portrait: black screen, Done and a glass Controls/Keyboard capsule, on-screen d-pad and round buttons | |
.github/readme/mobile.png |
The four above side by side | |
.github/readme/hero.png |
The same chat list beside the Mac app | Used for the Mac comparison |
No screenshot shows the mobile conversation screen; everything about it below comes from code and the changelog.
3. Findings
3.1 Platform, shell and navigation
Platform. iOS 26.0 minimum, Swift 6, destinations .iOS (iPhone and iPad), one app target plus a notification service extension sharing an app group (Mobile/Project.swift:15, :40, :73-97). ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME is empty, so the accent is system blue (Project.swift:69; changelog 0.5.0 "Apple's system blue"). Background audio mode is on so calls survive a locked screen (Project.swift:53-54). URL scheme noodle for noodle://join-hub invitations (Project.swift:49). Permission strings: camera "Noodle takes photos you send or use as your picture, scans the QR code of a Noodle Hub invitation, and noodlets you open use the camera when they ask."; local network "Noodle connects to your Noodle Hub on this network."; microphone "Record voice messages you choose to send, transcribed on this device, talk with bots on calls you start, and let noodlets you open listen when they ask." (Project.swift:50-52).
Root. With no Hub joined the window shows JoinView; otherwise AgentsView for all joined Hubs (App.swift:21-27). An invitation link opened from outside the app asks first: alert "Join this Hub?", message "Hub key ", buttons "Cancel" / "Join" (App.swift:30-37); scanning or pasting inside the app joins straight away (changelog 0.4.0). The system pull-to-refresh spinner is made invisible app-wide (UIRefreshControl.appearance().tintColor = .clear, App.swift:16) because a custom wordmark replaces it.
No iPad layout. There is no NavigationSplitView, no horizontalSizeClass check and no userInterfaceIdiom branch anywhere in the app; the only iPad awareness is copy ("Show on iPad", "Run on iPad" via UIDevice.current.model, ExternalScreen.swift:80-81, HubTools.swift:693) and verticalSizeClass == .compact to go full screen in landscape for live views (HubTools.swift:663-666, Noodlets.swift:118, :138). On iPad the list fills the screen and a conversation is pushed over it, with bubbles limited only by a 48 pt opposite-side spacer.
Navigation model. One NavigationStack with a typed path of ChatLink { hub: String, thread: UUID } (Chats.swift:904, :962, :1019-1023, :1251-1255). Everything else is a modal: sheets (each with its own NavigationStack so sub-pages push inside them), fixed-height bottom sheets, and full-screen covers. A sheet chosen from another sheet opens only after the first is dismissed (chosen held, opened in onDismiss: Chats.swift:917-918, :1039-1044, :1234-1243; same pattern for pairing, HubScreens.swift:80-81, :115-123), so two sheets never animate at once.
Screen inventory
| Screen | Presentation | Reached from | Source |
|---|---|---|---|
| Join (wordmark + Pair) | Root | No Hub joined | HubScreens.swift:11-67 |
| Pairing sources | Bottom sheet, 244 pt (184 without camera) | Pair, Add Hub | HubScreens.swift:425-475 |
| QR scanner | Sheet, full bleed | Scan QR Code | HubScreens.swift:1017-1048 |
| Help Me Connect | Sheet | Join failure | HubScreens.swift:235-351 |
| Chat list | Root of stack | Joined | Chats.swift:899-1244 |
| More | Bottom sheet, 292 pt | ••• |
Chats.swift:1259-1282 |
| Conversation | Push | Row or circle tap, notification | Chats.swift:1431-1892 |
| Bot editor (new or edit) | Sheet | More > New Bot; chat title; row menu | Chats.swift:2077-2354 |
| Group editor | Sheet | More > New Group; title; menu | Chats.swift:2387-2543 |
| Shared-bot background | Sheet | Title or menu on a bot shared with you | Chats.swift:2371-2384 |
| Bot Picture | Push in editor | Avatar "Edit" | Appearance.swift:203-308 |
| Voice | Push in editor | Voice row | Calls.swift:487-563 |
| Tools / Computers / Browsers | Push in editor | Rows | HubTools.swift:208-296 |
| New Tool, Custom MCP Server | Sheet, then push | + in Tools |
HubTools.swift:478-638 |
| New Computer / New Browser | Sheet | + in Computers/Browsers |
HubTools.swift:400-475 |
| Sharing | Push in editor | Sharing row | HubTools.swift:300-380 |
| Background | Push in editor | Background row | Appearance.swift:97-200 |
| Hubs | Sheet | More > Hubs | HubScreens.swift:517-584 |
| Hub details (profile) | Push in Hubs | Row or info button | HubScreens.swift:587-684 |
| Your Picture | Sheet | Avatar in Hub details | Appearance.swift:341-488 |
| Archived | Sheet | Hub details | HubScreens.swift:687-724 |
| Users, user | Push | Hub details (admins) | HubScreens.swift:727-903 |
| Pair a Device / Invite | Sheet | Hub details, user | HubScreens.swift:939-1004 |
| Settings | Sheet | More > Settings | HubScreens.swift:1051-1102 |
| Message lift overlay | Full-screen cover, clear, self-animated | Long press on a bubble | MessageActions.swift:87-219 |
| Shared | Sheet | … in conversation |
ChatContent.swift:793-845 |
| Live surface / noodlet | Full-screen cover | Live card, Shared | HubTools.swift:641-779, Noodlets.swift:15-288 |
| Web preview | Sheet (SFSafariViewController) |
Link tap | ChatContent.swift:346-352 |
| Table | Sheet, medium/large | Table card | MessageTables.swift:42-72 |
| Transcript (voice), Call transcript | Sheet, medium/large | Long press voice; tap call block | VoiceMessages.swift:641-654, Calls.swift:460-473 |
3.2 Joining a Hub
Join screen. The Noodle wordmark is stroked full screen at a word width of 220 pt in .primary with round caps and joins; once per launch it is "written" with .easeInOut(duration: 3.4).delay(0.55), then the bottom controls fade and rise 12 pt with .easeOut(duration: 0.5).delay(4.05); Reduce Motion shows both at once (HubScreens.swift:24-31, :49-51, :54-65). The only control is a full-width "Pair" (.borderedProminent, .large) in a 24 pt padded VStack(spacing: 16) at the bottom (HubScreens.swift:32-49).
Pairing sources (bottom sheet, drag indicator, VStack(spacing: 12), padding 24, .large controls): "Scan QR Code" (qrcode.viewfinder, prominent, only where the camera scanner is supported), the system paste control at 50 pt high (UIPasteControl, icon and label, capsule, tint foreground on a 15 % tint background), "Choose Photo" (photo, bordered). Heights 244 / 184 pt (HubScreens.swift:425-475, :479-514). The paste control exists because a paste the person starts is always allowed while reading the clipboard from code is refused.
While joining the button area becomes a 50 pt capsule on .fill.tertiary with a spinner and "Connecting to …" (scales down to 0.7), "Still trying…" fades in above it after 4 s, and "Cancel" sits below (HubScreens.swift:143-169). In the Hubs list the same state is a row: spinner, Hub name, "Connecting…" or "Still trying…", borderless Cancel (HubScreens.swift:172-195). Failure shows a red exclamationmark.triangle label, or, when no address answered, the message in secondary and a bordered "Help Me Connect" (HubScreens.swift:198-232).
Help Me Connect probes each address kind in order and lists them under "Your Hub": "Home Wi-Fi", "Tailscale", "Internet", each answered by green checkmark.circle.fill "Answers" or secondary xmark.circle "No answer" (small spinner while checking). Then advice rows with their symbols: "You're offline. Connect to Wi-Fi or mobile data." (wifi.slash); "Noodle isn't allowed to look for your Hub on this network. Turn on Local Network for Noodle in Settings." (lock, with an "Open Settings" button); "Make sure you're on the same Wi-Fi as the Mac your Hub runs on." or "You're on mobile data. Join the same Wi-Fi as the Mac your Hub runs on." (wifi); "Away from that Wi-Fi? Open Tailscale and connect." (point.3.connected.trianglepath.dotted); "Your Hub answers now. Tap Try Again." (checkmark.circle); "Make sure the Mac your Hub runs on is awake and its Hub is open." (desktopcomputer). A prominent full-width "Try Again" is pinned in the bottom safe-area inset with 24 pt padding; "Done" top left (HubScreens.swift:244-350).
3.3 Chat list (AgentsView)
Anatomy on a 390 pt wide phone (values in points; sketch, not to scale):
+----------------------------------------------------------+
| status bar |
| All v ... | inline bar; title = space menu; plain tinted ellipsis
| |
| [note] [note] | note bubble 14 above the circle top
| (76) (76) (76) | pinned circles: 3 columns, gap 12, row gap 16
| Name Name Name | .caption, 1 line
| | no separator under the circles or above row 1
| o (48) Name Hub name 2 hr ago > | unread dot 10 at x = 8; row leading inset 26
| preview, .subheadline secondary, 2 lines | HStack spacing 12, vertical padding 4
| -------------------------------------------------| separator from the text column; none above row 1
| (48) Name 1 day ago > |
| ... |
| [ Search ] | iOS 26: floating glass field (inferred placement)
+----------------------------------------------------------+
Toolbar. Inline title mode with no title string. The principal slot is the space menu: Text(spaceTitle).font(.headline) plus chevron.down at .caption.weight(.semibold) in secondary, HStack(spacing: 4) (Chats.swift:1092-1120). The trailing item is a plain tinted ellipsis ("More") with the iOS 26 shared glass background hidden, "as in Messages, not the round glass default" (Chats.swift:1028-1034). The screenshot shows the blue ••• and no title.
Spaces menu: a picker with "All", then one entry per joined Hub (by Hub name), then a second picker of spaces the person made, a divider, "New Space…" (plus), and for a custom space "Rename Space…" (pencil) and destructive "Delete Space" (trash). Naming uses an alert "New Space" / "Rename Space" with a "Name" field and "Cancel" / "Create" or "Rename" (disabled while blank); deleting asks "Delete ?" with "Its bots and groups stay in All." (Chats.swift:1054-1068). A space chosen elsewhere that no longer exists falls back to All (Chats.swift:1122-1125). Custom spaces sync through iCloud (Chats.swift:910-912, :1073-1079). A bot or group created while a custom space is shown joins it (Chats.swift:1157-1161).
More sheet: four full-width .bordered .large buttons in VStack(spacing: 12), padding 24, fixed detent 292 pt, drag indicator: "New Bot" (person.badge.plus), "New Group" (person.2), "Hubs" (server.rack), "Settings" (gear) (Chats.swift:1259-1282).
Pinned circles (Messages-style): a LazyVGrid of 3 flexible columns, column spacing 12, row spacing 16, vertical padding 8 plus 8 more at the top when any of the first three carries a note, no separator (Chats.swift:969-985). Each circle is VStack(spacing: 6) of a 76 pt ThreadAvatar and the name in .caption, one line (Chats.swift:1329-1353). An unread mark is a 14 pt tint dot at the avatar's top-leading corner with a 2 pt systemBackground ring (Chats.swift:1341-1347). A note bubble hangs 14 pt above the avatar top: .caption2 (semibold when it is an unread reply), padding 8 × 4, max width 104, one line, .regularMaterial capsule, shadow black 12 % radius 3 y 1 (Chats.swift:1355-1375). The note is the start of the latest unread bot reply (whitespace collapsed, tables removed) or else the status the bot set (Chats.swift:507-514). Tapping a circle opens the chat; touch and hold opens its menu (a Menu with primaryAction, because context menus on several cells of one list row all lifted the row and showed the first circle's menu, Chats.swift:972-978; changelog 0.13.0 fix).
Row anatomy (AgentRow, Chats.swift:1284-1322; screenshot confirms):
| Element | Value |
|---|---|
| Layout | HStack(spacing: 12), vertical padding 4 |
| Avatar | ThreadAvatar 48 pt with phase dot max(8, 0.24 × size) = 11.5 pt, 2 pt systemBackground ring, bottom-trailing |
| Unread dot | 10 pt tint circle in the left margin, 8 pt from the avatar; the row's leading inset is 2 × 8 + 10 = 26 so the dot is 8 pt from the screen edge too (Chats.swift:995, :1291, :1297-1301) |
| Line 1 | Name .headline, 1 line; Hub name .caption secondary when several Hubs are shown together; spacer; time .subheadline secondary, first-baseline aligned |
| Time format | .relative(presentation: .numeric, unitsStyle: .abbreviated): "2 hr ago", "1 day ago", "3 days ago" |
| Line 2 | Last message preview (tables removed) or the bot's description when there are no messages; .subheadline secondary, 2 lines; VStack(spacing: 2) |
| Accessory | Disclosure chevron (it is a NavigationLink) |
| Separators | Hidden above the first row, visible between rows; start at the text column |
The preview is not stripped of Markdown: the screenshot shows "The **8** carries the goo…" in raw form, because previewText only removes tables (Shared/HubLink/Sources/HubLink/MessageTable.swift:54-59).
Ordering. Pinned first, then newest conversation first, where recency is the latest message's time or the bot's creation time (Chats.swift:304-318, :348-351). In All, pins belong to this phone (pins.json) and pinned items are ordered by recency; in a Hub's space the pins are the Hub's (pinnedAt, synced to all devices) and keep the order they were pinned in; in a custom space pins come first in pin order (Chats.swift:329-341, :353-378, :1171-1188). Bots and groups share one list with no section headers. Archived ones leave the list (Chats.swift:269-279).
Search. .searchable(prompt: "Search") (Chats.swift:1004). A non-blank query hides the circles and shows one plain list of matches on name, description or any message body held on the phone, ignoring case and accents (localizedStandardContains, Chats.swift:320-327, :963-967). No results shows the system search empty state. On iOS 26 the field is a floating glass capsule at the bottom of the screen (visible in the New Tool screenshot; the chat-list screenshot does not show it, so its exact resting state there is inferred).
Swipe and touch-and-hold. Leading swipe on an unpinned row: "Pin" (pin.fill) tinted orange; there is no trailing swipe and no delete from the list (Chats.swift:996-999). The touch-and-hold menu (same for rows and circles, Chats.swift:1190-1216): "Pin" (pin.fill) or "Unpin" (pin.slash.fill); submenu "Spaces" (square.stack) with a toggle per space, divider, "New Space…" (which creates the space with this conversation in it and shows it); then for your own bot or group "Edit Bot…"/"Edit Group…" (pencil) and "Archive Bot"/"Archive Group" (archivebox), or for a bot someone shared with you only "Change Background…" (photo).
Empty and loading states (overlay): spinner while any Hub is loading; "Not Connected" (wifi.exclamationmark) with the error; "No Bots" (bubble.left.and.bubble.right) (Chats.swift:1005-1017).
Pull to refresh writes the Noodle wordmark (word width 96 pt, stroked in .primary) progressively as the list is pulled; it is whole at 80 pt of pull and stays whole in the gap the refresh holds open until the reload finishes (WordmarkRefresh.swift:14-83). Used on the chat list, Hubs, Hub details, Users and Tools screens.
Data rules visible in the UI. The last sync is cached and shown at launch before the Hub answers (Chats.swift:96-126). Each Hub is followed over a live event stream and reconnected 5 s after a failure (Chats.swift:536-547); following stops while the app is in the background so the Hub knows to push instead (Chats.swift:1081-1088). Unread means a bot message newer than when the conversation was last read on this phone or reported read by another device; the first sync after installing counts everything as read (Chats.swift:68-70, :228-260, :616-620). Opening a conversation marks it read on the Hub and removes its delivered notifications (Chats.swift:236-247).
3.4 Conversation (ChatView)
Anatomy (from code; no screenshot of this screen exists):
+----------------------------------------------------------+
| < (28) Name phone ... | nav bar over the wallpaper; title opens the editor
| [ phone.fill 00:42 speaker mic end ] | call bar, glass capsule, only during a call
| |
| wallpaper: full bleed under bars and composer, |
| black 25 % scrim unless default |
| |
| +-------------------------------+ | bot: secondarySystemBackground, radius 18,
| | reply text (17 pt body) | >= 48 free | padding 12 x 8; leading
| +-------------------------------+ |
| [react badges] | badges hang 16 above a bubble's top-right corner
| +---------------------------------+ | you: accent fill, white text; trailing
| >= 48 free | your message | |
| +---------------------------------+ |
| Delivered | .caption2, latest own message only
| |
| (+) ( Message ................................ mic ) | 48 high, plus 48 circle, gap 8, side padding 12
+----------------------------------------------------------+ bottom gap max(8, safe-area-bottom - 6); 8 above keyboard
Content is padded 12 at the sides, rows 6 apart; in groups a 28 pt avatar column sits left of bot bubbles.
3.4.1 Header and bars
Inline navigation bar. The principal item is a button holding a 28 pt ThreadAvatar (with phase dot, 8 pt) and the name in .headline .primary, HStack(spacing: 8); tapping opens the editor (or only the background editor for a bot shared with you) (Chats.swift:1567-1576). Trailing items: phone ("Call ") when the bot can be called and is not already on a call (LinkBot.canCall, Codex bots per changelog 0.21.0), and ellipsis ("Shared") when anything live was shared in the conversation (Chats.swift:1577-1594). During a call the CallBar sits in the top safe-area inset under the navigation bar and the conversation stays usable (Chats.swift:1557-1560). A conversation deleted on another device pops itself (Chats.swift:1481-1482).
3.4.2 Transcript layout and scrolling
ScrollView with a LazyVStack(spacing: 6), horizontal padding 12, vertical 8 (Chats.swift:1495-1521, :1932). The wallpaper (ConversationBackdrop) is the scroll view's background and ignores safe areas, so it runs under the bars and the composer; there is no bar behind the composer (Chats.swift:1524, :1681). The keyboard dismisses interactively on scroll (Chats.swift:1523). No timestamps or date separators appear anywhere in the transcript.
Paging: the first open loads the newest 50 messages; a spinner row at the top loads the previous 50 when it appears; newer messages arrive 100 at a time (Chats.swift:93-94, :828-867, :1497-1501). Rows keep their place by message ID so loading earlier pages does not move what is being read (Chats.swift:1517-1518).
Scroll rules (Chats.swift:1377-1428, tested in ConversationScrollTests): opens at the end; while the end is visible (2 pt tolerance, measured above the composer) it stays at the end as content grows; your own new message always scrolls to the bottom; anyone else's scrolls to show the message's top, and only if you were at the bottom; if you were reading higher up nothing moves. Only the person's own scrolling can move it off the end (rows measured while appearing must not).
3.4.3 Bubbles
| Property | You | Bot | System |
|---|---|---|---|
| Alignment | Trailing, Spacer(minLength: 48) before |
Leading, Spacer(minLength: 48) after |
Centred, full width |
| Fill | .accentColor (system blue), opaque |
secondarySystemBackground, opaque |
None |
| Text | White; links underlined in white | .primary; links tint |
.footnote secondary, vertical padding 4 |
| Shape | RoundedRectangle(cornerRadius: 18, style: .continuous), padding 12 × 8 |
same | |
| Extras | Delivery line below; red failure mark to the left | In groups: author name above the first of a run, avatar beside the last |
Sources: Chats.swift:1938-1980, MessageActions.swift:42-83. The text font is the default .body (17 pt at default Dynamic Type, inferred from no explicit font). Text is inline Markdown only (inlineOnlyPreservingWhitespace), and only http, https and mailto links stay tappable (MessageActions.swift:68-82).
Groups. Bot rows always reserve a 28 pt avatar column (HStack(alignment: .bottom, spacing: 6)); the avatar appears beside the last message of each consecutive run by one bot, and the bot's name (.caption secondary, leading padding 12, top padding 4) above the first (Chats.swift:516-534, :1964-1979). In one-to-one chats bot messages have no avatar at all. On a 390 pt phone the widest bubble is 318 pt (366 content − 48), or 284 pt for a bot in a group.
Reaction clearance. Every row adds 16 − 6 = 10 pt of top padding so a reaction badge (hanging 16 pt above the bubble) never moves the conversation when added (Chats.swift:1961-1963, :1979).
Long messages fold when longer than 1,200 characters or 12 lines, to 8 lines with a "Read more" button (.subheadline.weight(.semibold), plain) that expands the whole message in place (Chats.swift:1894-1909, :2040-2041, MessageActions.swift:49-58).
Tables. A Markdown table splits the message into separate bubbles: prose, a table card, more prose; reactions mark the first (Chats.swift:2012-2022). The card: tablecells (.title3, tint), header names joined with " · " (.subheadline.weight(.semibold), 1 line), "1 row"/"N rows" (.footnote, foreground at 70 %), trailing chevron.right (.footnote.weight(.semibold), 50 %); padding 12 × 10, max width 280, same 18 pt bubble shape and colours (MessageTables.swift:7-39). Tapping opens a "Table" sheet (medium/large detents) with a horizontally and vertically scrolling grid: cells .subheadline.monospacedDigit(), max width 240, padding 10 × 8, selectable; headers .footnote.weight(.semibold), tap to sort ascending, descending, then original (chevron 9 pt bold, always laid out so widths do not jump); header band primary at 6 %; corner radius 12; menu "Table Actions" (ellipsis) with "Copy as CSV" (doc.on.doc) and "Share CSV" (square.and.arrow.up) as Table.csv (MessageTables.swift:42-157; changelog 0.22.0).
Press feedback. While pressed a text bubble scales to 0.96 with .spring(duration: 0.25); a 0.35 s long press lifts it (Chats.swift:2017-2018, :2042). VoiceOver gets named actions "Copy" and "React" (Chats.swift:2020, :2043).
3.4.4 Reactions in the transcript
One capsule badge per distinct emoji, overlapping by 6 pt (HStack(spacing: -6)), hung on the bubble's top-trailing corner for every author (offset x +10, y −16). Each badge: .footnote text "emoji" or "emoji N" when more than one reacted, horizontal padding 6, minimum 28 × 28, your own in solid tint with white text, others on tertiarySystemBackground, 2 pt systemBackground stroke. Tapping a badge toggles your reaction. They mark the first text bubble, or the attachments when there is no text (Chats.swift:1987-2007, :2052-2063, :2021, :2032).
3.4.5 Delivery and failed messages
Only your latest message, and any message the Hub does not have yet, shows a status line (.caption2, secondary, red when failed): "Sending…", "Not delivered", "Delivered" or "Sent" (Chats.swift:672-677, :1487-1488, :1956-1958). Sending is optimistic: the message appears at once, files upload first, and it is retried with pauses of 0, 2, 5 and 15 s under the same ID (idempotent) only while it is still the newest message (Chats.swift:656-749). A failed message gets a red exclamationmark.circle (.title2) to the left of the bubble; it is a menu whose section header is the failure reason (or "Not delivered") with "Try Again" (arrow.clockwise, only while newest), "Edit and Send" (pencil, puts the text and files back in the composer, prepending to any draft) and "Delete" (trash, destructive) (MessageActions.swift:11-27, Chats.swift:1864-1879, :1948-1953). Unsent messages survive a relaunch (unsent.json). A message of files alone is sent with the body "Sent N attachment(s)", a lone recording with "Voice message", and the bubble hides those bodies (Chats.swift:698-701, :2065-2069).
3.4.6 Attachments
Order inside a message: text bubbles, then the first public web link's preview card, then attachments (Chats.swift:2009-2034).
| Kind | Rendering | Values |
|---|---|---|
| Picture | Inline image, opens Quick Look (swipes through the message's other files) | Fits 240 × 320 (compact 144 × 192 when sharing a row), minimum 44 on each side, corner radius 16; the frame is reserved from the Hub-provided pixel size so nothing jumps; placeholder secondarySystemBackground with spinner, height = width × 2/3 when the size is unknown; decoded at 720 px (ChatContent.swift:113-153, :196-204) |
| Other file | Card | 44 × 44 thumbnail or symbol (radius 8), filename .subheadline.weight(.medium) 2 lines, byte size .caption secondary, padding 10, max width 260, secondarySystemBackground radius 16 (ChatContent.swift:155-177); symbols photo, film, waveform, doc.richtext, doc.text, doc (:222-229) |
| Live link (browser tab, computer, noodlet) | Card that opens live full screen | 240 × 150 picture radius 12 on secondarySystemBackground; a computer without a picture shows its last 14 terminal lines in 7 pt monospaced white 80 % on black; title .subheadline.weight(.medium); whole card padding 8 on tertiarySystemBackground radius 16; noodlet menu "Open on iPhone" (or "Open on iPad", iphone) / "Open on Hub" (play.display) (ChatContent.swift:73-111) |
| Web page shared as a file | Link preview card | as below |
| Voice message | Player | see 3.10 Voice messages |
Picture context menu: share, and "Use as Background" (photo.on.rectangle) (ChatContent.swift:61-69). Layout of several files follows Settings > Attachments: Vertical (default, 4 pt gap), Wrap (side by side, 8 pt), Stack (overlapping, 12 pt row gap, each next file offset by min(72, 0.42 × width) and dropped 12 pt, black 30 % shadow radius 3 y 2); in Stack only files that swipe together overlap and live cards and voice messages sit whole above them (ChatContent.swift:233-326).
Link preview card: 280 wide; image area 280 × 158 on black 28 % (spinner while loading, link symbol at 26 pt light when there is no image); title .subheadline.weight(.semibold) 2 lines and site .caption secondary, padding 12 × 10; tertiarySystemBackground, radius 16 (ChatContent.swift:497-535). Only public http(s) hosts get one (no .local, private or link-local IPv4), fetched on the phone with a 10 s timeout, image capped at 560 px JPEG 0.8, cached per conversation for 7 days; a page with no metadata gets a card naming its site (ChatContent.swift:355-494). Tapping any web link opens an in-app Safari sheet unless "Preview Web Links" is off (ChatContent.swift:329-352, Chats.swift:1628-1633).
3.4.7 Composer
static let controlHeight: CGFloat = 48 // field and plus height (Chats.swift:1433)
static func composerGap(homeBar: CGFloat) -> CGFloat { max(8, homeBar - 6) } // :1437
private var composerLift: CGFloat { keyboardUp ? 8 : Self.composerGap(homeBar: homeBar) - homeBar } // :1664
.safeAreaInset(edge: .bottom) { Color.clear.frame(height: Self.controlHeight + 8 + composerLift) } // :1542
- Height parity. 48 pt is exactly the height of the iOS 26 search field capsule, pinned by a test that measures the system search field (
ComposerSizeTests.swift:7-25). - Vertical position. With the keyboard down the composer's bottom sits
max(8, safeAreaBottom − 6)above the screen edge: 28 pt on a phone with a 34 pt home-indicator inset (partly over the home bar, level with the system search field), 8 pt on a phone without one. With the keyboard up it sits 8 pt above the keyboard (changelog 0.14.0 fix). Keyboard state comes from will-show/will-hide notifications (Chats.swift:1554-1555). - Overlay, not push. The transcript reserves room for a one-line composer only (48 + 8 + lift); a longer message grows the composer upward over the conversation, which does not move (
Chats.swift:1540-1553; changelog 0.9.0). - Structure (
Chats.swift:1666-1816): horizontal padding 12, top 8; above the controls in aVStack(spacing: 6): the @-mention strip, a transient error line (.footnote, red, cleared after 6 s), and pending file chips; then aGlassEffectContainerHStack(alignment: .bottom, spacing: 8)of the plus and the field. - Plus:
plusat 18 pt medium, secondary, in a 48 × 48 circle with interactive glass ("Add"). - Field: a
UITextView(so a pasted image attaches as "Image.png"), body font, grows to 6 lines then scrolls (ChatContent.swift:630-696); placeholder "Message"; vertical padding 13 inside a capsule of min height 48 (cornerRadius: 24, regular glass), leading padding 16, trailing 5. Inside on the right:mic(18 pt regular, secondary, 30 × 48 hit area, "Record Voice Message") while there is nothing to send, otherwisearrow.up.circle.fillat 30 pt in tint ("Send"). - Disabled (archived): the field is disabled and the placeholder becomes the reason: " is archived", "This group is archived", "Every bot in this group is archived" (
Chats.swift:281-291). - Drafts are kept per conversation on the phone; a draft of only whitespace is discarded so the field returns at its normal size (
Chats.swift:212-223,:1526-1530). - Pending file chip: 32 × 32 thumbnail or symbol (radius 6), filename
.captionmax 120 wide,xmark.circle.fillremove ("Remove "), padding 6,secondarySystemBackgroundcapsule; chips scroll horizontally with 6 pt spacing (ChatContent.swift:538-561). - @-mentions: typing
@after whitespace or one of([{,:plus up to 64 letters, digits or'-_.shows a horizontal strip of matching non-archived bots (a group's own bots, or all your bots with the current one first, then alphabetical); each chip is a 22 pt avatar and name (.subheadline) on asecondarySystemBackgroundcapsule, padding 8 × 5, spacing 6; choosing writes the plain name and a trailing space when at the end (ChatContent.swift:734-774,Chats.swift:1818-1846).
Attach panel (Messages-style morph, Chats.swift:1719-1780): tapping the plus dismisses the keyboard and, with .bouncy(duration: 0.4, extraBounce: 0.05), morphs the glass circle (shared glassEffectID("attach")) into a 230 pt wide glass panel with corner radius 28 and padding 8 that grows up over the conversation from the plus's bottom-left without moving the field. Rows (VStack(spacing: 2)): a 32 pt circle with a gradient of the row's colour holding a white 15 pt semibold symbol, then the title in .body; spacing 14, horizontal padding 8, min height 48. Rows: "Camera" (camera.fill, gray; only with a camera), "Photos" (photo.on.rectangle.angled, blue), "Files" (folder.fill, cyan). The conversation behind is covered with .ultraThinMaterial; tapping it, or the field, closes the panel. Photos allows up to 10 images or videos, named "Photo N." or "Video N." from the item's own type; the camera saves JPEG 0.9 "Photo.jpg"; Files allows any type, several at once (Chats.swift:1610-1626, ChatContent.swift:563-594).
3.4.8 Shared sheet
… opens "Shared": every computer, browser tab and noodlet shared in the conversation, newest first, one entry per target (a computer whatever its view, a browser per tab); rows with a 96 × 64 picture or symbol (radius 8, tertiarySystemBackground), title (2 lines) and kind "Browser", "Computer" or "Noodlet" (.caption); "Done" (ChatContent.swift:792-845, HubTools.swift:781-848). Choosing closes the sheet and opens the item full screen once the sheet is gone (Chats.swift:1596-1608).
3.5 Message lift overlay (long press)
Presented as a full-screen cover with a clear presentation background and system animation disabled; the overlay animates itself (Chats.swift:1635-1650). Values (MessageActions.swift:85-219, layout tested in MessageActionsTests.swift):
| Part | Value |
|---|---|
| Backdrop | Full-screen .ultraThinMaterial, fades in; tap anywhere to close ("Close") |
| Lifted bubble | Redrawn at its on-screen frame (same MessageText look, folded if it was), scale 1.03 |
| Reaction bar | Horizontally scrolling glass capsule (interactive); 12 emoji at 28 pt in 44 × 44 cells, padding 6; width min(screen − 24, 12 × 44 + 12) = 540 cap, height 56; your existing reactions on a tint 30 % circle |
| Reaction set | ❤️ 👍 👎 😂 🎉 ❓ 👀 ⏳ ✅ 🙏 🔥 💡 (heart, thumbs up, thumbs down, tears of joy, party popper, question mark, eyes, hourglass, check mark, folded hands, fire, light bulb), the Mac's twelve |
| Action menu | 220 pt wide glass rounded rectangle (radius 24); items Label with padding 18 × 14, .body: "Copy" (doc.on.doc); for a failed message "Try Again", "Edit and Send", "Copy", "Delete" (red), and the reaction bar hidden |
| Placement | Bar 8 pt above the bubble, menu 8 pt below; aligned to the bubble's trailing edge for your messages, leading for bots; kept 12 pt inside the screen; the bubble moves only if bar or menu would leave the screen; a bubble taller than the space shows its start, minimum 44 |
| Motion | In: .spring(duration: 0.35, bounce: 0.25), bar scales from 0.4 at its bottom corner, menu from 0.4 at its top corner; out: .spring(duration: 0.25) then close |
| Haptic | Medium impact when shown |
3.6 Differences from the Mac design
| Aspect | Mac (verified in code or hero.png) | Mobile |
|---|---|---|
| Navigation | Sidebar with "Bots"/"Groups" sections beside the conversation | One mixed list, push to conversation; no split view on iPad |
| List avatar | 42 pt, row spacing 10, status dot 10 pt with 2 pt ring (Sources/Noodle/SidebarView.swift:145-155) |
48 pt, spacing 12, dot 11.5 pt; pinned bots as 76 pt circles with note bubbles |
| Conversation header | Large centred avatar and name over the wallpaper (hero.png) | 28 pt avatar + .headline name in the nav bar; tap to edit |
| Bubble radius, padding | 16 continuous, 13 × 8 (Components.swift:324-340, :360-372) |
18 continuous, 12 × 8 |
| Text size | 12.5 pt, line spacing 2 (LongMessageText.swift:38-43) |
.body (17 pt), default spacing |
| Bubble fill over a wallpaper | Translucent: .ultraThinMaterial plus accent 28 % (you) or black 22 % (bot) (Components.swift:363-368) |
Always opaque accent / secondarySystemBackground |
| Row gap, overhang, content gap | 10 / 12 / 3 (TranscriptScrollView.swift:29-32, Components.swift:209-212) |
6 / 16 / 4 |
| Bot avatar beside bubbles | 27 pt on bot messages, also one-to-one (hero.png, Components.swift:255-274) |
28 pt, groups only, last of each run |
| Opposite-side spacer | 120 (Components.swift:253, :313) |
48 |
| Reaction badge | Emoji 14 pt + count 10 pt; yours accent 25 %; stroke 1.5 at 85 %; offset x 5 (Components.swift:381-386, :460-476) |
.footnote "emoji N"; yours solid tint with white text; 2 pt stroke; badges overlap 6; offset x 10 |
| Reacting | Context menu with two rows of six emoji (MessageContextMenu.swift:48) |
Lift overlay with a 12-emoji glass bar |
| Delivery label | 9.5 pt tertiary under user messages: "Saved", "Sent", "Delivered", "Not delivered" (Components.swift:305-310, :522-529) |
.caption2 secondary, latest own message only: "Sending…", "Sent", "Delivered", "Not delivered" (red) |
| System message | Capsule with person.2.fill, 11.5 pt medium, ultra-thin material radius 14 (Components.swift:239-250) |
Plain centred .footnote secondary |
| Long message | Same limits; "Read more" (text.alignleft) opens a reader popover (LongMessageText.swift:47-58) |
Same limits; "Read more" expands in place |
| Table | Rendered inside the bubble (Components.swift:335-339) |
Card opening a sortable sheet with CSV copy/share |
| Composer | Controls 36 pt, send 27 wide (ChatView.swift:374-377) |
48 pt (search-field parity), send 30; plus morphs into an attach panel |
3.7 New bot, groups and the bot editor
Bot editor (AgentEditor, Chats.swift:2076-2354; screenshot mobile-new-bot.png). A sheet with its own stack, a grouped Form, no navigation title, toolbar "Cancel" and "Create" (new) or "Save" (edit), rendered as glass capsules in the screenshot; while saving the confirm button becomes a spinner. A new bot starts with an empty name, the sparkles symbol and a random colour index (Chats.swift:2100-2101). Sections in order:
- Avatar 88 pt with "Edit" (
.subheadline, tint) below, on a clear row, pushing "Bot Picture" (Chats.swift:2161-2174). - "Name" text field.
- "Hub" picker (new bot with several Hubs only); "Harness" menu picker whose items show the provider name with the profile as a subtitle and whose chosen value reads "Provider · Profile" on one line, middle-truncated, or "Choose"; "Model" ("Default" or "Choose" when the plan restricts models); "Effort" ("Default" plus the model's efforts) only when the model offers them; "Voice" (value "Automatic" until chosen) only when the harness has voices. With no harness lent: "Your plan lends no harnesses" (
Chats.swift:2178-2229,:2545-2550). Changing harness clears the effort, sets the harness's initial model and drops a voice the new harness does not offer (Chats.swift:2124-2134). An agent's current harness, model or effort that the plan no longer lends is kept at the top of its list so it still displays (Chats.swift:2104-2156). - Error text in red, when any.
- Existing bots only: "Tools", "Computers", "Browsers" (pushes); "Sharing" with value "Only You", "1 Person" or "N People" (only on Hubs that allow sharing); "Background"; "Kick" (only when the bot has failed) and "New Session"; destructive "Delete Bot" (
Chats.swift:2233-2263).
Create/Save is disabled until there is a name and a harness, and a model when the plan restricts models (Chats.swift:2293-2295). Confirmations: "Delete ?" / "Delete" / "The bot and its conversation are deleted from the Hub for all your devices."; "Start a new session for ?" / "New Session" / "Cancel" / " will start with a fresh context. Its workspace, memory and messages are kept."; Kick may return a Hub-supplied question (title defaults to "Recover Bot") with its confirm title, optional "New Session" and "Cancel" (Chats.swift:2265-2286). A bot someone shared with you opens only its background editor with "Done" (Chats.swift:2356-2384).
Bot Picture (Appearance.swift:203-308): 104 pt preview; section "Image": "Choose Photo" (photo), "Create Image" (apple.image.playground, Image Playground seeded with the bot's name, description and backstory), "Use Symbol Instead" (square.grid.2x2) or disabled "Using Symbol" (checkmark); section "Colour": six 34 pt gradient swatches, spacing 12, white 13 pt bold checkmark on the selected one; section "Symbol": a 6-column grid (spacing 10) of 42 pt tall tiles, radius 10, 18 pt semibold symbols, selected accent with white, others secondary 14 %. Symbols in order: sparkles, bolt.fill, brain.head.profile, hammer.fill, terminal.fill, magnifyingglass, shippingbox.fill, paintbrush.fill, checkmark.seal.fill, ladybug.fill, wand.and.stars, gearshape.2.fill. Photos are fitted to 512 px, JPEG 0.86, max 50 MB ("Choose an image smaller than 50 MB.") (ChatContent.swift:776-790).
Voice (Calls.swift:486-563): groups "Feminine" and "Masculine" (.footnote.weight(.semibold) secondary), 3-column grid spacing 10, tiles min height 72, radius 14, a waveform (.title3) that animates while its bundled sample plays, name .subheadline (semibold when selected), selected fill accent 16 % with a 1.5 pt accent border, others secondary 10 %. Tapping selects and plays the sample.
Sharing (HubTools.swift:298-380): an adaptive grid (minimum 76, spacing 8, row spacing 14) of 56 pt person avatars with names (.caption); selected people get a 2.5 pt accent ring and a 20 pt checkmark.circle.fill, others are at 55 % opacity; .snappy(duration: 0.2); selection haptic. Footer: "Only you can talk to ." or "<A, B and C> can talk to too." (LinkProtocol.swift:629-634). Empty: "Nobody else is on this Hub".
Group editor (Chats.swift:2386-2543): title "New Group" or "Group Info"; "Name"; "Description" (2 to 4 lines); "Hub" picker for a new group (switching Hub clears the members); section "Members": your own non-archived bots alphabetically, each a 32 pt avatar, name, description (.subheadline secondary, 2 lines) and a tint checkmark when chosen, "No Bots" when empty; existing groups add "Background" and "Delete Group" ("The group and its messages are deleted from the Hub for all your devices. Its bots stay."). Create requires a name and at least one member.
3.8 Tools, computers and browsers
List screens "Tools", "Computers", "Browsers" (HubTools.swift:207-296): every item of that kind the user has on the Hub, ticked (checkmark, tint) when this bot may use it; tapping toggles assignment at once (spinner in place of the tick while busy); detail line .caption secondary (a connection's problem, a computer's state, a browser's "Paused"); a bordered small "Sign In" button for a connection not signed in; swipe "Delete"; "None on this Hub yet"; toolbar "Add" (plus).
New Tool (sheet, mobile-new-tool.png, HubTools.swift:477-595): title "New Tool", "Cancel"; the Hub's catalogue of services, filtered by a bottom search "Search tools" where every typed word must appear in the name, summary or badge; each row a 32 pt icon (radius 7; first letter on .quaternary when there is no icon), the name, an optional badge (.caption2 orange on orange 12 % capsule, padding 6 × 2) and a one-line summary (.caption). In the screenshot names render in tint blue and summaries in lighter blue because the hierarchical .primary/.secondary styles resolve against the list button's tint. A final section links to "Custom MCP Server": fields "Name" and "MCP Server URL" (https only), "Add". Tapping a service saves a connection named after it (a second one becomes "Notion 2"), assigns it to the bot, starts sign-in in the system web-auth sheet with the callback noodle-mobile://mcp/oauth/callback, then closes (HubTools.swift:5-6, :44-59, :525-561).
New Computer / New Browser (HubTools.swift:382-475): "Kind" picker of the Hub's computer templates (computers only), "Name" prefilled "’s Computer" or "’s Browser", "Creating…" progress while a computer image downloads, "Cancel" / "Create"; the new item is assigned to the bot.
3.9 Hub screens and Settings
Hubs (sheet, HubScreens.swift:516-584): one row per joined Hub: Hub name (primary) over the user's name (.subheadline secondary), the connection status in colour ("Connecting…" secondary, "Connected" green, "Not connected" orange), and an info.circle "Details" button; a section with "Add Hub" (plus). When a Hub does not answer its bots' dots show offline (gray) (HubScreens.swift:905-936).
Hub details (HubScreens.swift:586-684): an 88 pt PersonAvatar with a 28 pt pencil.circle.fill badge (white on accent, on a grouped-background circle) opening "Your Picture"; the user's name in .title2.bold() and the Hub name in secondary; rows "Status", "Plan", "Address", "Hub Key", "Device Key"; an error in orange; "Archived" with its count; "Pair Another Device" (if allowed); "Users" (admins); destructive "Leave Hub" ("Leave ?" / "Leave" / "Joining again needs a new invitation.").
Archived (sheet): rows with a 32 pt avatar, the name, "Bot" or "Group" (.caption), and a borderless "Unarchive"; a row opens the conversation read-only; empty state "Nothing Archived" (archivebox) (HubScreens.swift:686-724).
Users (admins): 36 pt avatars, name, "" or " · Admin"; "Add User" (plus) opens an alert "New User" with "Name" / "Cancel" / "Add". User: "Plan" picker and "Can Pair Devices" toggle (disabled for admins, footer "Admins are changed only in the Hub’s own Settings."); "Devices" with "Connected", "Last seen " or "Paired ", swipe "Remove" ("It can no longer reach the Hub until it joins again."), "No devices", "Invite"; "Remove User" ("Their devices and their bots are removed from the Hub."); toolbar "Rename" (HubScreens.swift:726-903).
Pair a Device / Invite : a 240 × 240 QR code (nearest-neighbour scaling) with 12 pt padding on a white radius-12 card, "Hub key " (.footnote.monospaced() secondary), bordered "Copy Link" and "Share…", a live "Expires " that turns into "New Invitation" when expired (HubScreens.swift:938-1004).
Settings (sheet, HubScreens.swift:1050-1102): "Attachments" segmented Wrap / Vertical / Stack with footers "Files sit side by side and wrap onto new rows.", "Files sit one below another.", "Files overlap, with part of each one showing."; "Preview Web Links" toggle with footer "Web links open in a preview first, with a button to continue in Safari. When off, they open in Safari."; "Haptics for On-Screen Controls" (off by default); "Noodlet Permissions": each noodlet with what it was allowed ("Microphone", "Camera", "Speech Recognition", "Screen Recording", "Local Network"), swipe to revoke.
3.10 Voice messages
Recording replaces the field in the composer slot: a regular-glass rounded rectangle (radius 18), padding 12 × 4, with a matching hit shape so taps beside controls do not reach the conversation (Chats.swift:1668-1675). Contents (VoiceMessages.swift:387-458), HStack(spacing: 10): xmark discard (30 × 36); while preparing or finishing a spinner and .caption secondary text ("Preparing speech…", "Downloading speech model…", "Starting microphone…", "Finishing transcription…"); while recording a 6 pt red dot and a live waveform 22 pt high; the time m:ss in .caption.monospacedDigit(); stop.fill (30 × 36); and a 30 pt arrow.up.circle.fill send that is enabled while recording or ready (sending while recording stops first). Errors show in red .caption; after a failed transcription with audio kept, "Retry Transcription" and "Send Audio Only". The limit is 10 minutes (600 s). Transcription runs on device as the person speaks; a partial or failed transcript is never sent without asking (VoiceMessages.swift:9-264).
Live waveform: bars 2.5 wide every 5 pt, scrolling right to left at a fixed 50 ms per bar a quarter second behind the clock, 12 s kept, height mapped from a fixed −60 to −12 dB range, minimum 2, corner 1.25, .primary at 70 % (VoiceMessages.swift:460-515).
Player in the transcript: a 250 pt card on secondarySystemBackground (radius 16, padding 12 × 7): play/pause (28 × 32), the waveform (28 pt high, up to 60 bars, square-root amplitude, minimum 2, 2 pt gaps, radius 2, played part accent, rest secondary 60 %) that seeks on tap, and the time in .caption.monospacedDigit() secondary (duration, or position while playing). Touch and hold offers "Show Transcript" (text.quote), a "Transcript" sheet at medium/large ("No transcript available."). One recording plays at a time, through the speaker even in Silent Mode (VoiceMessages.swift:537-662). A recording is sent as "Voice message.caf" with the transcript, duration and waveform as metadata.
3.11 Calls
PhoneCalls allows one call per Hub; starting another hangs up the first (Calls.swift:28-146). Audio runs in a hidden 1 × 1 transparent WKWebView doing WebRTC; the Hub only relays the offer and answer and receives spoken lines; the call starts on the earpiece at full voice quality and "Speaker" switches to voice-chat processing for echo cancellation; AirPods use A2DP (Calls.swift:148-308). The timer and a chime start only when both the Hub and the media say connected.
Call bar (Calls.swift:344-389): a glass capsule in the top inset with horizontal padding 18, vertical 10, outer padding 16 horizontal and 4 top, HStack(spacing: 14), .body.weight(.medium): phone.fill (secondary while connecting, green when connected), the elapsed time in a slot as wide as "00:00" ("--:--" while connecting; "h:mm:ss" past an hour), spacer, Speaker (speaker.fill / speaker.wave.3.fill, accent when on), Mute (mic.fill / mic.slash.fill), End (phone.down.fill, red).
In the transcript: a full-width card "Voice call with " (.subheadline.weight(.medium)) with a live timer or the final length (hours, minutes and seconds in abbreviated units; a rendering such as "2 min, 5 sec" is inferred), phone or green phone.fill, padding 14 × 9, .ultraThinMaterial radius 14. Spoken lines appear as transcript blocks placed after the last message sent before they were said, so typing during a call splits the transcript: waveform icon, two-line preview (a live block shows its last two lines, a finished one its first two), speaker in .footnote.weight(.semibold) secondary ("You" or the bot's name) followed by the line in .subheadline, "N lines" in .caption2 tertiary, padding 14 × 8, .ultraThinMaterial radius 12, inset 24 pt from the sides; tapping opens a "Call" sheet listing every line (Calls.swift:310-342, :391-477).
3.12 Live views and noodlets on mobile
Live surface (a shared browser tab or computer, or a noodlet streamed from the Hub) opens as a full-screen cover on black (HubTools.swift:640-779). In portrait: inline navigation bar with the card's title (or "Live"), "Done", and a primary group of "Show on TV" (tv) for games, "Controls" (gamecontroller.fill / gamecontroller), "Keyboard" (keyboard) and "Run on iPhone" (iphone) for a noodlet that can run locally. In landscape (compact vertical size) or on TV the bar and status bar hide and the same buttons float icon-only in .buttonStyle(.glass) over the top corners, 12 pt from the sides. Touch and hold then move drags; two-finger pinch zooms and pans (changelog 0.11.0). A noodlet with game controls shows an on-screen gamepad; a connected hardware controller hides the buttons it covers.
Noodlets (Noodlets.swift:13-288): a noodlet runs on the phone in a web view (files fetched once per revision and cached; its data and secrets stay on the Hub) or streams from the Hub; the choice is remembered per noodlet, and the card's menu chooses before opening; noodlets using camera, microphone or screen always run on the phone (changelog 0.12.0). On first use of declared permissions it asks: "“