Repository navigation
OpenBot Mobile: replies stream again when the run's start was missed - #2761
Merged
Merged
Conversation
…hed the phone The phone joins a conversation's live socket a moment after it sends, when the Bot's run is already under way, and Cloud's gateway replays nothing of that run: its RUN_STARTED never arrives. Every word and step after it was dropped for having no run to go to, so nothing was drawn live and the reply only appeared, in jumps, each time the messages were read again. A run is now taken up from its first event (or from the run the join token names), its end is matched by the run's real id, stream_idle ends any run still drawn as live, and while the socket is quiet on a live run for 8 seconds the messages are read again as well. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tylerslaton
requested review from
MikeRyanDev,
davidmckayv,
dustywusty,
guidovizoso,
mxmzb and
samjulien
as code owners
December 2, 2026 02:27
tylerslaton
added a commit
that referenced
this pull request
Dec 3, 2026
…hed the phone (#2761) The phone joins a conversation's live socket a moment after it sends, when the Bot's run is already under way, and Cloud's gateway replays nothing of that run: its RUN_STARTED never arrives. Every word and step after it was dropped for having no run to go to, so nothing was drawn live and the reply only appeared, in jumps, each time the messages were read again. A run is now taken up from its first event (or from the run the join token names), its end is matched by the run's real id, stream_idle ends any run still drawn as live, and while the socket is quiet on a live run for 8 seconds the messages are read again as well. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Temivel
pushed a commit
to Temivel/OpenBot
that referenced
this pull request
Dec 3, 2026
* OpenBot Mobile: its Expo project, build profiles, a build workflow, and doctor and bundle checks in CI (#2176)
* Phone app: its Expo project, build profiles, a build workflow, and doctor and bundle checks in CI
The phone app had no path to a build anybody could install, and CI only checked its types.
- mobile/app.config.ts names the app's Expo project (copilotkit/openbot). A company that builds
the app for its own OpenBot still names its own project with EXPO_PUBLIC_EAS_PROJECT_ID.
- mobile/eas.json has the build profiles: development, development-simulator, preview and
production, each built for OpenBot Cloud.
- The `native types` check also runs Expo's doctor and bundles the JavaScript for iOS and
Android, so an import that does not resolve fails the pull request.
- .github/workflows/mobile-build.yml starts a build on Expo's build service, by hand.
- expo-font is a direct dependency at the SDK's version. expo-symbols asks for any version, so npm
installed 57 beside the SDK's 55, and a native build takes one version of a native module.
- mobile/README.md says how to run the app, what CI checks and how a build is started.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* Call the app OpenBot Mobile in the new README and build workflow
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: the app on Expo SDK 58, signed in with OAuth so it works on OpenBot Cloud (#2188)
* OpenBot Mobile: move to Expo SDK 58
The app was on SDK 55, which Xcode 27 does not build, and the guidelines move it to the template's
SDK in a change of its own before any Uniwind work.
- Every Expo package at SDK 58's version, React Native 0.88 and React 19.3.
- expo-symbols is a direct dependency at the SDK's version: expo-router asks for it as an optional
peer, and npm otherwise refused the install.
- TypeScript 6 lists no global types by default, so tsconfig names Node's for app.config.ts.
- StyleSheet.absoluteFillObject is gone in 0.88; the two gates use absoluteFill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: sign in with OAuth, so it works on OpenBot Cloud
The app signed in with Better Auth's cookie session and social sign-in. OpenBot
Cloud has no social providers, and its hosted sign-in can't hand a cookie back
to the app, so the app showed nothing to tap there.
It now signs in as the server's `openbot-mobile` OAuth client: authorization
code with PKCE (S256) in the system browser's sign-in session, back to
openbotmobile://oauth/callback. The access token stays in memory for its hour.
The refresh token is kept in the secure store and rotates on every use, one
refresh at a time. Every API request sends the token as a bearer, and a
request refused with 401 is sent again once with a new token before the
person is signed out. Sign-out revokes both tokens. Who is signed in is read
from /api/me.
`authClient` keeps the `useSession` shape, so the screens are unchanged
except Home, which has one Sign in button in place of the provider buttons
and the SSO email field.
The server accepts the app's redirect only where EXPO_PROJECT_ID is set
(openbot-backend: config.push.projectId on OpenBot Cloud).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Uniwind, HeroUI Native and the color scheme in global.css
The styling stack docs/app-guidelines.md names for the phone app, added to mobile/ (no template
app generated):
- Uniwind and Tailwind 4, with Metro compiling mobile/global.css, the one stylesheet.
- HeroUI Native and what it draws with: Reanimated, Worklets, Gesture Handler, SVG, Keyboard
Controller, tailwind-variants and tailwind-merge, expo-blur and True Sheet.
- @expo/ui for the platform's own switch and segmented control, react-native-drawer-layout for
the app's menu, Inter (@expo-google-fonts/inter) and Tabler icons, the web app's face and set.
- global.css takes OpenBot's scheme under HeroUI Native's names, light and dark, written by
`bun run tokens:generate`. The generator learns one more entry form, `--surface=card`: a CSS
property under another library's name holding one of the scheme's tokens.
- Buttons are the web app's rounded rectangles, not HeroUI's pills, and fields have a hairline.
- src/uniwind-types.d.ts is what Uniwind writes for className's types; Biome leaves it alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a component library, and a gallery of it
mobile/src/components, drawn with Uniwind and HeroUI Native from the scheme, in the web app's look:
- Text (Inter, the type scale), Icon (Tabler at a 1.75 line), IconButton.
- BotOrb: a Bot's sphere in the palette its seed picks, the web app's own palettes
(src/orb-palette.ts, held to app/src/lib/orb-palette.ts by a test), breathing while it works.
- Rows and Row: one card with hairline dividers, 32px icon tiles, a chevron or a control.
- ConversationRow, BotTile, PersonAvatar, Section, EmptyState, Notice.
- Message, MessageEvent and MessageDay: the person's words in a quiet bubble, a Bot's as plain
text, as the web app draws them. Composer: the message box, lit while someone types in it.
- SearchBar, Toggle and Segmented (the platform's own), Screen, ScrollScreen and Refresh.
Icons come from src/icons.ts, each from its own file: Tabler's index put every one of its 6,000
icons in the bundle (13MB against 3.6MB). The development build shows every component at /gallery,
in light and dark. docs/app-guidelines.md and mobile/AGENTS.md say where the library is and its
rules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the screens in Tyler's plan, drawn with the new components
- Sign in: OpenBot's orb, a welcome, a button for each way this OpenBot lets people in, and
email for a company's sign-in.
- Conversations (Home): each conversation with its Bot's orb, the Bots' names, its name and the
last message; search and New conversation at the bottom. The organization, company sign-in,
renewal and older-pages logic Home had stays; somebody held out or in no organization sees only
the way forward.
- A conversation: the Bot in the header with its settings beside it, the day and time over
messages after a pause, tool calls as quiet lines, a Bot picker when several are in it, and the
message box over the keyboard. A message that fails to send goes back in the box.
- The menu from the left: Conversations, Bots, Routines, Memory, Skills, Connections, then Needs
you and Approvals, and the person and their organization at the foot, which opens their account
(organizations, notifications on this phone, sign out).
- Bots: two to a row, and New Bot (name, what it does, instructions). A Bot's page: its orb and
name, then Conversations by day with New conversation, or Settings: Active, what needs you,
its routines with their switches and Add routine, Memory, Skills, Apps and Approvals.
- Routines, every Bot's, under each Bot; Skills; Connections, which points to the computer.
The root layout loads Inter and wraps the app in Gesture Handler, Keyboard Controller and HeroUI
Native. Signed out shows only Sign in (Stack.Protected). The native header takes the scheme's
colors. No Computer screen is linked: for launch a Bot's computer is a tool call.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Mark a conversation read only while the person can see it
A conversation open in OpenBot was marked read the moment a Bot replied,
even in a window behind others, or in OpenBot Desktop with nobody at the
computer. The reply then counted as seen, so nothing could tell the person
about it on their phone.
It is now marked read only while OpenBot is in sight (its page shown and its
window focused), and as soon as the person comes back to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: stay registered for notifications, and stay quiet about the conversation on screen
Notifications were registered only when the person pressed Notifications in
Account, and the row said they were off again after every restart. A phone
whose push token Expo changed stopped getting them.
- A phone the person turned notifications on for registers again each time
the app starts signed in, so a changed token replaces the old one. It never
asks for permission there. Signing out forgets the phone's id, so it is not
registered again until turned on.
- Account says whether notifications are on for this phone as it is now, and
that Bots tell you when they finish as well as when they need you.
- A notification about the conversation on screen shows no banner and plays no
sound; the conversation brings in what it says at once.
- A conversation open on the phone is marked read while the app is in front,
as the web app does, so what the person read there is not told about again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: follow the phone's light or dark setting
Expo's default interface style is light only, so on a phone set to dark the app stayed light,
though every color in global.css has a dark value. Found on the iOS simulator: with the phone in
dark the app drew light until the gallery forced the dark theme. app.config.ts now asks for
"automatic"; a native build picks it up.
The gallery opens one part at a time, /gallery?only=messages&theme=dark, for a screenshot
without scrolling.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: fields stay above the keyboard, and the app opens on Home
Checked on the iPhone simulator, signed in to a stand-in OpenBot:
- Conversations: the search bar was hidden under the keyboard. The list and the bar now sit in a
KeyboardAvoidingView, so the bar rides on the keyboard.
- A conversation: the message box rose with the keyboard but kept the home indicator's space under
it, leaving a gap. KeyboardBar shrinks that space as the keyboard comes up, for both bars.
- New Bot and every other form: the page didn't make room for the keyboard, so Create sat under it
and couldn't be scrolled to. ScrollScreen, and the older screens' Screen, are now
KeyboardAwareScrollViews: the field in use stays above the keyboard, the rest can be scrolled to,
and dragging down puts the keyboard away.
- Opening the app signed in landed on the component gallery in a development build: the screens
were drawn while the session was still pending, with the signed-in ones guarded out. They now
wait for the first answer about the session.
Swiping back, the menu's edge swipe, and swiping a sheet away already worked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Audit filter test: style the Add filter menu before pressing Bot, so its choices stay open to be read (#2177)
(cherry picked from commit c7d0380ec83e45faef1e7575c839e9e8b0364b62)
* OpenBot Mobile: plain header buttons, the web's message box, and the Bot's introduction
Compared with the web app at phone width, which the desktop app shows:
- Header buttons are plain icons, as the web app's header has them. On iOS 26 a custom header item
sat in a glass bubble that read as a gray disc on OpenBot's background; plainHeaderLeft and
plainHeaderRight hide it. The system's back button can't lose its bubble, so iOS gets a plain
chevron in its place; swiping back works as before, and sheets have no back button.
- A conversation's header has the Bot's computer beside its settings, as on the web.
- The message box takes the web's shape: the text across the full width, attach on the left and
speak and send on the right under it, in a rounder box.
- A conversation opens with the Bot it is with, its orb, name and what it does, as the web app's
conversation does, in place of "Say hello".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: open from the icon to Welcome in one movement
The app had no icon or splash of its own, and opening it showed up to five
screens in turn: Expo's splash, a blank frame while the fonts loaded, a white
cover while the security floor was read, a blank frame while the session was
checked, and a white spinner for up to 8 s while the version was checked.
- The icon and the phone's splash are OpenBot's orb, the desktop app's icon,
on the scheme's background, light and dark.
- The app draws the splash's frame again over everything (src/launch.tsx) and
keeps it until the fonts, the floor, the session and the version check have
answered. The orb breathes while it waits, and a wait past 1.5 s says
"Connecting to OpenBot…".
- Signed out, the orb glides into its place on Welcome and the words rise in
after it. Signed in, or when the floor or the version check stops the app,
the orb swells and fades. With Reduce Motion on, the cover fades and nothing
moves.
- The screens wait for the first answer about the session, and each guard says
where it sends a person: without redirectTo, expo-router picked the first
unguarded screen by file name, so a start opened on the gallery.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the launch orb breathes from the first frame
The breathing started in a passive effect, which waited for the JavaScript
thread while it loaded the app, so the orb sat still for most of a quick
start. It starts in a layout effect now, a little deeper, with a softer glow.
The cover also stays at least 700 ms, one breath out, so a quick start reads
as breathing then moving rather than a flicker, and it holds 120 ms after
everything has answered, so the glide doesn't start while the first screen's
native views are being drawn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: David McKay <davidmckayv@users.noreply.github.com>
* OpenBot Mobile: show a sent message at once, wherever the conversation was scrolled to
Sending from higher up in a conversation left the list where it was, so the message and the reply
landed out of sight. The list now moves to the newest end as the message is sent, as messaging
apps do. Found while recording a walkthrough on the iPhone simulator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Firebase settings for Android push
app.config.ts reads google-services.json from the EAS file variable
GOOGLE_SERVICES_JSON, or from a git-ignored mobile/google-services.json
on a developer's machine. The README says where Android push gets its
settings and its key.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a dock along the bottom in place of the menu
The signed-in app is five tabs: Conversations, Bots, Routines, Needs you
(with a count of what waits) and More (Memory, Skills, Connections, the
approval inbox and your account). The dock is drawn flat in the scheme's
colors, as the web app's sidebar is, on Expo Router's JS tabs; the
guidelines record it as the one piece of chrome the app draws itself.
Each tab is a stack of its own with the native header. A conversation, a
Bot and the rest of what opens from a tab open over the tabs, so the
message box keeps the bottom to itself.
- The drawer and its menu button go; the person's initials at the top of
each tab open their account.
- Conversations' search moves into the header under the title, and new
conversation and New Bot become a + in the header.
- Needs you's cards are drawn with the app's components, on the Bot page
as well.
- The native header follows the app's light or dark: React Navigation's
theme left it light, so the search field and its keyboard came out
light on the dark scheme.
- ScrollScreen wraps its scroll view in a View, which iOS 26 needs to
draw a large title over it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Memory in the app's components, and a lower dock
- Memory is drawn with the app's components: the add field and its
button, then each memory as a card with its words, where it came from,
the platform's switch, and Confirm, Edit and Delete. A memory that is
off reads struck through. Its own heading goes, as the header has it.
- The dock reaches into iOS's home indicator strip, as the system's tab
bar does, instead of leaving the whole strip empty under its labels.
- On Android the dock steps aside while the keyboard is up, so it isn't
lifted onto it, and Conversations' search field gets the scheme's
colors, which Android's header doesn't give it.
- The dock's tabs dim while pressed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the same look on Android, and lists that show there
- Lists with pull to refresh were blank on Android: Refresh, the app's
refresh control, dropped what a scroll view hands it, and on Android
that is the scroll view itself and its size. Conversations, Bots, Needs
you, Routines and a Bot's page all draw again.
- Android looks like iOS. Its header has no large title and offers search
only as an icon, so a tab's screen draws its title at the top of its
content (TabTitle) and Conversations its search field (SearchField), at
iOS's sizes. Pushed screens get the same plain chevron and centered
title on both.
- The launch orb's glow is a radial gradient. The blurred copy of the orb
was blurred only inside its own square on Android, so it stopped at a
hard square edge.
- The dock: a long label shrinks a little rather than being cut on a
narrow phone, and the chosen tab's highlight is a view of its own,
which Android always draws round.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: every screen in the app's components, and the old styles gone
- Custom rules, the approval inbox, Apps, a routine's page and a Bot's
computer are drawn with the app's components and the scheme's colors,
light and dark, on both platforms. Custom rules picks a behaviour from a
ChoiceList; a routine's header names it by its title.
- The update and security-floor covers were white in dark mode: they take
the screen's background and the app's type now.
- src/ui.tsx and src/colors.ts are gone: useAction moves to
src/use-action.ts, and a routine run's status is a text tone (runTone)
instead of a color.
- New components: Card, ChoiceList, and Rows' iconless dividers. Memory and
Needs you use Card. The gallery shows Card, ChoiceList and SearchField.
- Switches are named for screen readers: VoiceOver from an accessibility
label, TalkBack from a description. A routine's switch names the routine.
- The launch glow is drawn from the scheme's violet, so no file outside the
orb palette holds a color.
- The test suite passes as a whole: tolerant-reader.test.ts mocked sign-in
and the app's release differently from generated-client.test.ts, and
Bun's one module registry left the second file with the first one's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: updates without a store release, with a runtime version nobody sets by hand (#2182)
- expo-updates, at the version this Expo SDK was built with.
- mobile/app.config.ts: the update address of the Expo project, and a runtime version that is a
fingerprint of the native side. An installed app takes an update only when its fingerprint is
the update's own.
- mobile/fingerprint.config.js leaves two parts of the app config out of the fingerprint: `extra`,
which holds the OpenBot release, and the versions. Both change with a release and change nothing
native. With them in, an update could never reach an app built from an earlier release.
- mobile/eas.json: a `preview` build takes updates from the `preview` channel, a `production`
build from `production`.
- mobile/README.md and docs/app-guidelines.md say how it works and how to publish.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* The phone app is called OpenBot Mobile, in the docs, the comments and the update sentence (#2178)
The repository had two names for the app in mobile/: "the phone app" and "the native app". Neither
matches OpenBot Desktop and OpenBot Cloud, "app" already means a service a Bot uses, and the app
also runs on a tablet. It is OpenBot Mobile, which is what the folder, the app id
(ai.openbot.mobile) and the sign-in client (openbot-mobile) already say.
- Docs, comments and test names say OpenBot Mobile.
- The sentence an OpenBot refuses an old app with: "This OpenBot needs OpenBot Mobile 1.2.0 or
later. Update OpenBot, then try again." The client is still `mobile` in OpenBot-Client and the
refusal keeps its code.
- The API descriptions that named the app, and the clients generated from them (text only).
- The copy glossary has a row for the name.
Left as they are: the changelog's entries for released versions, the CI check `native types`,
and "native app" where it means a kind of app (RFC 8252) or OpenBot Desktop's own shell.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile build: a production build from the workflow, uploaded to TestFlight and Play internal testing (#2203)
* OpenBot Mobile build: a production build from the workflow, uploaded to TestFlight and Play internal testing
- The workflow offers the `production` profile. That run uses the `mobile-release` environment,
with a token of its own, instead of `mobile-preview`.
- A `submit` switch adds `--auto-submit`: Expo uploads the build when it is done, to TestFlight
and to Google Play's internal testing track. The job still ends once the build has started.
With any other profile the run stops at its first step.
- mobile/eas.json: a `submit` profile for production. Android goes to the `internal` track. iOS
has no `ascAppId` yet, so an iOS upload stops before the build starts and says so.
- mobile/README.md: "Builds for the stores" says what the upload does, what Expo holds for it, and
what is still missing.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* README: what an Android upload needs, without the claim that the first one is made by hand
Expo's current documentation says the first submission creates the app's first release on the
internal testing track, so a first upload by hand is optional.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: bundle ID ai.open.bot.mobile, and the Apple team for submit (#2209)
* OpenBot Mobile: bundle ID ai.open.bot.mobile on iOS and Android, and the Apple team for submit
The ID ai.openbot.mobile belongs to another Apple team, so iOS could not register it. The app now uses
ai.open.bot.mobile on both platforms. That ID is registered on team FHRBUNLTRH with Push Notifications.
eas.json names that team for EAS Submit. The App Store app ID (ascAppId) comes in a later change, after
the App Store Connect app record exists.
* OpenBot Mobile: the README says the Apple team is set and only ascAppId is missing
* OpenBot Mobile: the App Store app ID 6839378233 for submit
* Improve Android Rules choice list accessibility (#2208)
* OpenBot Mobile: Apple's export answer in the config, the iPhone only at launch, and updates published with --environment (#2218)
- app.config.ts: `ios.config.usesNonExemptEncryption` is false. The app's only encryption is HTTPS, and it
checks Ed25519 signatures (src/security-floor-check.ts). Both are exempt, so no upload stops at the question.
- app.config.ts: `ios.supportsTablet` is false. The App Store then asks for no iPad screenshots. An iPad still
runs the app at the iPhone's size.
- README: `eas update` takes `--environment` on this SDK, and bundles with the variables Expo holds, not `.env`.
`EXPO_PUBLIC_SERVER_URL` is now a plain-text variable on the Expo project for every environment.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: the Firebase settings file is out of the runtime version, so an Android build with updates starts (#2229)
The first Android production build since updates were added failed on EAS in "Configure expo-updates":
the runtime version from the machine that started the build (1da1acef) was not the one EAS computed
(8108f086). The one difference was Android's Firebase settings file. EAS has it, from the file variable
GOOGLE_SERVICES_JSON. The machine that starts a build does not, because EAS gives it no file variables.
fingerprint.config.js now ignores that file, where EAS puts it and where a checkout has it. Measured on
this commit: Android is 1da1acef with no file, with the file where EAS puts it, and with the file in
mobile/. iOS stays 2371082a, so the builds on TestFlight keep their runtime version. A changed plugin
option still changes the runtime version.
README: the runtime version no longer depends on the file, and EAS creates the Android keystore by itself.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* Render Markdown in OpenBot Mobile Bot replies (#2224)
* Render Markdown in OpenBot Mobile Bot replies
* Wait for the full transcript in the conversation switch test
* OpenBot Mobile: native navigation, Chats, group chats, attachments and model picker, and a polish pass (#2242)
* OpenBot Mobile: native navigation, Markdown replies, and a polish pass on both platforms (WIP)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: group conversations, header that opens who a conversation is with, flat orb tab, keyboard fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Chats, header search, New and Edit routine, sheets clear of the status bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: detail screens in the app's stack, chat details pushed, a sheet never opens another
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: attach photos and files, pick the model, a fade under the header, and every screen in one design
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: pickers imported directly now that both builds carry them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Android's search icon in the text color
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a group's Bots as a comma list, up to four orbs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a chat's header heading fits the bar, clear of the Dynamic Island
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the fade under the header starts at the bar's edge on iOS, eased and taller
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the fade under the header is placed from where each screen starts, never over its first row
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the header fade measured once each screen has settled; tabs named for screen readers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a chat reads as the web app's transcript: steps folded, approvals decided in place, room between turns
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a lockfile CI's npm installs, and the attach hook without a dependency warning (#2249)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a Bot's answer as it is written, over the conversation's live socket
The conversation screen reloaded every 10 seconds, so an answer appeared all at once up to 10
seconds after it was finished, and "Working…" only when a reload caught the Bot at work.
It now joins the conversation's live updates: a join token (createConversationJoinToken) and the
threadStream socket of api/asyncapi.yaml, Phoenix Channels v2, with the app's access token on the
upgrade. "Working…" shows on RUN_STARTED and the reply's words as TEXT_MESSAGE_CONTENT arrives.
When a run ends the messages are read again at once and the live copy goes, so nothing is drawn
twice. A sent message stays drawn until the messages read back hold it.
- src/live-thread.ts: the socket, with every dependency handed in. Joins the token's topic,
hands on each event once by its id, opens again with a new token from the last id after a
drop, closes in the background, and gives up quietly on a server without join tokens (404).
A conversation no Bot has run in yet (409) opens once a message is sent.
- src/watch-conversation.ts: wires in the app's API, sign-in and React Native's WebSocket.
- src/live-run.ts: AG-UI events to messages, kept only while a run is in progress.
- The 10-second reload stays as it was, the fallback for an older server or a dropped socket.
Checked on the Android emulator against OpenBot Cloud: a 300-word answer streamed in over about
10 seconds, with no duplicate messages afterwards.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* API: stop a Bot's run, the gallery components in a message, and connecting an app from OpenBot Mobile
- stopConversationRun stops one of a Bot's runs in a conversation, as Stop beside the message box
does, for a client with no CopilotKit runtime of its own (OpenBot Mobile).
- ConversationMessage.components lists the gallery components a Bot drew in a message, by name and
with the arguments it gave, so a client can draw them again from the message list.
- ConnectionReturnTo gains mobile, so an app's sign-in page can send the person back to the phone.
- getDeployment says runStop and mobileConnections, so a client offers each only where the server
has it.
All additions: oasdiff against mobile reports no breaking change. OpenBot Mobile's client now also
covers Components, Connections, Notification settings, Reactions, Shared use and Teams.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* API clients: one mock answer for stopConversationRun, and OpenBot Mobile's client covers more areas
The web app's generated MSW mock for stopConversationRun picked between its 200 and 202 examples
with @faker-js/faker, which nothing installs, so the generated file didn't compile. It now answers
a run being stopped, the case a test of Stop reads.
OpenBot Mobile's client also covers Apps, Destinations, Follow-ups and Team Bots, for its
Connections and Bot settings screens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the Bot's cards, Stop, finishing setup, Bot settings, connections and skills
- Conversation: the gallery components a Bot draws (charts, tables, cards, activity reports; the
questions read-only), live from the run's TOOL_CALL events and from the message's components. Stop
replaces Send while a one-Bot conversation's run is live, where getDeployment says runStop. A live
RUN_ERROR is shown as a failed reply, with Connect your AI when no AI is connected.
- Setup gate: terms, onboarding (name) and connecting an AI with a key, on the server's own verdicts
as the web app's gate reads them. Never blocks on an older server.
- Bot settings: Setup, Sharing (visibility, publishing, assignments), Reaching you (Slack, Teams,
SMS), Activity (Stop, Cancel), notifications, and pin, hide, duplicate, reset and delete.
- Connections: the person's apps as the web app lists them, connecting with a key or the app's
sign-in page and returnTo mobile (where getDeployment says mobileConnections), accounts, actions
and disconnecting. Skills: read, write, edit and delete.
Checked against OpenBot Cloud on the iPhone simulator and the Android emulator: live cards, Bot
settings, Reaching you, Connections, and a skill written and deleted. Stop, cards that stay, and
connecting need the server change that comes with this and are covered by tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: announce the cards, and connect apps that sign each person in
Found testing the launch-parity work against a local OpenBot on the iPhone simulator and the
Android emulator.
- The phone announces the cards it draws (announceComponents) once a person is signed in and set
up, as the web app does on load. A Bot is offered a card only once its organization has the
component on record, so in an organization where nobody had opened the web app a Bot had no cards
and drew charts with a command instead.
- Connecting an app that signs each person in itself (added by its address) ended in "That app
doesn't connect this way": confirmConnection is for broker apps only. The phone now reads the
connection when there is nothing to confirm, and hides Disconnect for such apps, as the web app
does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a workflow that publishes updates with EAS Update
Run by hand, like the build workflow: pick the channel and say what changed. A preview update goes
to the preview channel from any branch, in mobile-preview. A production update reaches every app
installed from the stores, so it runs in mobile-release: a reviewer approves it, and only main and
mobile may start it. The bundle is made on the runner from the app's reviewed lockfile and takes
its variables from the Expo environment named after the channel. Updates to one channel run one
at a time.
actionlint and zizmor find nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: every screen follows a change of organization at once, with no navigation error (#2505)
After a pick in Account, Chats went on showing the organization before for up to ten seconds: each screen
keeps its own read, and read again only on its ten-second turn. Coming from an empty organization, one
with six conversations read "No chats yet" for eight seconds. Coming the other way, the other
organization's conversations stayed on screen.
- `chooseOrganization` says the pick (src/organization-chosen.ts), and `useLoad`, which every screen reads
with, starts again on it. What was read is dropped first, and an answer still on its way from the
organization before is not kept. The person's own list of organizations stays on screen while it is read
again (`keep`).
- Chats forgets the older conversations it had loaded when the organization changes.
- Account called `router.dismissAll()` with nothing to dismiss, now that it is a tab, which reported
"The action 'POP_TO_TOP' was not handled by any navigator". It asks `router.canDismiss()` first.
Measured on the iOS simulator, with three organizations: after a pick, Chats showed the new organization's
list within one second, both ways. Before, it took eight.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: delete your account from the Account screen, and cancel a deletion that is scheduled (#2499)
* OpenBot Mobile: delete your account from the Account screen, and cancel a deletion that is scheduled
The App Store asks that an account can be deleted in the app it can be made in. The API has had it since
1.2.1 (`/api/v2/people/me/account-deletion`), and the web app and OpenBot Desktop have the screen. This is
the phone's.
- Account has a Delete account row, on an OpenBot that answers where a deletion stands.
- The sheet says what is deleted and what is kept, in the web app's words. The person types their email
address and "delete my account". Delete in 14 days, or Delete now.
- OpenBot takes the request only from a sign-in of the last ten minutes. An older one is refused
(REAUTHENTICATE), and Sign in again opens the sign-in with `prompt=login`, which makes a new one.
- An organization that stops the deletion is listed with what to do about it.
- OpenBot signs the person out everywhere with the request, so the phone forgets its sign-in and says when
the account goes.
- Somebody who signs in again before then sees only when the account goes, Cancel deletion and Sign out:
OpenBot answers nothing else for them.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: a way on from each organization that stops an account being deleted
The list of organizations that stop a deletion had no way on from the phone: somebody who is the only owner
of one read "make someone else an owner, or delete the organization", and could do neither there.
- The only owner of an organization opens Delete organization from its row: the web app's step, in its
words. Everything in it goes for everybody, so the person types its name first. OpenBot decides whether it
can go. The sheet says that keeping it means making someone else an owner, in OpenBot in a browser.
- An owner beside others leaves it from its row, after a yes.
- The only admin of one with no owner has no screen for it on the phone, and its row says what to do.
- Back from either, the list is read again.
- The sentence over the list wraps. As a section's label it was cut off.
Seen on the iOS simulator with an account that two organizations stop: both rows open the new sheet, and
its button waits for the name. Nothing was deleted: the account is a real one.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: Account and the delete sheets in the look of the other tabs, and More as a menu on iOS (#2510)
* OpenBot Mobile: Account and the delete sheets in the look of the other tabs, and More as a menu on iOS
Account was drawn as a page of settings, cards of bordered rows with icon tiles, on an app whose other tabs
are lists to the screen's edges. It read as another app's screen.
- Account is a list with no cards (`ListRow`): each organization with its letter on a rounded square and a
tick on the one worked in, Notifications as the phone's own switch, which now turns them off too, and Sign
out and Delete account as the two buttons at the foot. The avatar's letters grow with it.
- Delete account and Delete organization follow: the organizations that stop a deletion are the same rows,
what is deleted and kept has an icon each in place of bullet characters, the sheet waits to be told which
of its two forms it is, and a field no longer carries a required mark.
- On iOS the tab bar's last button opens a small menu over the tab the person is on (Routines, Approval
inbox, Memory, Skills, Connections), in iOS's own glass with SF Symbols, and what is picked opens in the
app's stack. The press is caught over the button, so the bar's highlight no longer slides to it and back.
Android keeps More as a tab. Both draw the one list in src/more-items.ts.
- The gallery has the new rows, and docs/app-guidelines.md says when a list runs to the edges and when it is
a card.
Checked on the iOS simulator in light and dark: Account, the menu, picking Routines from it, and both sheets.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: empty lists say so in the middle of the screen, an organization swipes for its way out, and a shorter Delete organization sheet
An empty state had a boxed icon and sat at the top of the page. It is now a glyph, its name,
a line or two and one button, in the middle of what the person sees. A page (ScrollScreen)
and a tab's list (ScreenList) are as tall as what the bars leave, read from a safe area
provider of the screen's own, so the empty page centers and doesn't scroll.
An organization's row on Account swipes left for one action (SwipeRow): Delete for its
owner, which opens the Delete organization sheet, and Leave for anybody else, asked about
first. A person's own organization has none. After either, the person's organizations are
read again, and if it was the one they worked in they work in another of theirs.
The Delete organization sheet says one thing: what goes, the name to type, the button.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: More is the system's menu, Notifications is one place, and a tidier Account
More on iOS opens iOS's own menu (@expo/ui's Menu) from a clear button over the tab bar's
last one, in place of the menu the app drew. expo-glass-effect, which only that menu
used, is gone again, so the branch adds no native package.
Notifications is the approval inbox under a new name, with the phone's switch for
notifications as its first row. The switch is no longer on Account.
Account starts everything on one line: who is signed in as a row, the organizations with
a tick on the one worked in, then Sign out, Delete account, and which OpenBot it is.
A swiped row's action is its glyph alone. The fade under the header shows only once a
page is scrolled, so it no longer lies over a page's own first lines.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: four tabs, Notifications holds everything that waits, and More's menu stands above the bar
Needs you is no tab any more. What it listed (what check-ins found, and the tasks that
wait) is in Notifications, under the approvals and questions, with the phone's switch at
the top. The address needs-you, which a ping's notification opens, goes there. More's
badge counts what waits, from one count the screen and the badge share.
More's menu on iOS is the app's again, drawn with the phone's glass, so it can stand
above the tab bar: iOS's own menu always opens over the button that opens it, and only
from a press inside that button's frame.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: More is a menu on Android too, in Material's own menu
The navigation bar's last button opens Material's menu above the bar, over the tab the
person is on, as iOS's opens the app's. It is one list on one surface: two groups are
two surfaces, and one casts its shadow onto the other. An empty state's lines are
balanced on Android, so no last word is left on a line of its own.
Checked on a Pixel 9 emulator: the menu, Notifications, Account and its swipe, the two
delete sheets, and the empty states.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: Android's More menu is one surface with Material's one shadow
Material's grouped menu drew each part as a surface of its own, and their shadows were
cut off at each surface's edge. The menu is Material 3's standard dropdown now: one
surface in the scheme's colors, 16dp corners, a line before what every Bot shares, and
clear of the screen's edge.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: Android's More menu has each part's icon, from one map the More screen shares
The icons are the app's own set, which what is inside a screen is drawn with: the menu
on Android and More as a screen read them from src/more-icons.ts. iOS's menu keeps the
phone's own glyphs, which the list names.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: a Bot's work shows as it happens, as in the web app (#2552)
A chat often showed nothing while a Bot worked, and then the whole reply at once.
- A new chat's first reply was never watched live: the join token was asked for a moment
before the run had started, refused as nothing to join (409), and not asked for again.
It is now asked for a few more times over the first seconds after a send.
- The phone names the capability conversation-work-turn (OpenBot-Capabilities), as the web
app does, so a conversation's work includes the person's own turn and reads as working.
- The Bot shows as thinking from the moment a message is sent. A reply owed or under way
with no socket carrying it (a group has none) is read again every 1.5 seconds.
- Every step of a live run is held, not only the cards the phone draws, and said in the web
app's words while it runs and once it is over. The words are a written copy of
shared/tool-name.ts (bun run mobile:shared), held to it by a test.
- One row carries a run from "Thinking…" through each step to "Took N steps", changing only
its words. The reply is written under it as markdown, with what is half written closed or
held back, and each new part fades in.
- A run that ended stays drawn until the read messages hold its reply in full: for a few
seconds after a run the server answered with the start of the reply, and the reply on
screen stepped back to it.
Recorded and read frame by frame on a Pixel 9 emulator and an iPhone 17 simulator.
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
* OpenBot Mobile: onboarding as in the web app, and Sign in asks who is signing in (#2570)
* OpenBot Mobile: onboarding as in the web app, and Sign in asks who is signing in
Sign in after Sign out signed the same person straight back in: the browser
kept CopilotKit's sign-in, and the hosted sign-in hands off silently to
whoever is still signed in there. On iOS sign-in now opens a private browser
session (preferEphemeralSession), so every sign-in asks who is signing in.
Android's browser has no private session to ask for, and keeps its sign-in.
Onboarding is the web app's at a phone's width
(app/src/components/onboarding, app/src/routes/_authed/onboarding.tsx): a
header with Back and a dash for each step, the step's words centered, round
buttons fixed at the foot, a slide between steps, and "All set" before the
app opens. Welcome has the web app's "Choose when Bots ask" section and its
Extra vigilant switch (updateApprovalPreferences). Welcome and the terms
show the web app's picture reel (a request typed to a Bot, and the Bots a
person can work with); the name step its orb. The terms are a checkbox with
the two names as links, and Sign out. Connect your AI and the name step use
the web app's words.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: onboarding distilled to one simple page per step
Every step is drawn on one page (src/onboarding/frame.tsx): the platform's own
back glyph and a dash for each step at the top, an orb, the title and one line,
what the step asks for, and one wide button at the foot that rides on the
keyboard. A step is one entry in a table (src/onboarding/flow.tsx), so a new
one is its words, its content and whether it can go on. The picture reel is
gone.
- Terms: one sentence naming them, each name a link, over Agree and continue,
and Sign out.
- Welcome: "Choose when Bots ask" as a phone's grouped setting, its Extra
vigilant switch, and what Bots always ask before as the group's note.
- Connect your AI: who is signed in and Sign out at the end of the choices,
away from Continue.
- Name: the field, focused.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a shorter onboarding, after a design review
- A new account agrees to the terms on Welcome: the terms are its fine print
and its button reads "Agree and continue". The terms screen is left for
somebody already onboarded whose terms changed.
- Each step says one thing: "Give work to Bots in plain words.", "Bots need
an AI to work.", and the name step only its question.
- Connect your AI is one list: each provider with its own logo (Lobe Icons,
MIT: Gemini in its colors, Anthropic in its clay, OpenAI and xAI in the
text color), and a check on the one Bots use. src/brand-logo.tsx is the one
file besides the orb palette with color values in it.
- The Extra vigilant switch is left to Settings, and the orb is on Welcome
and the terms only.
- The page centers each step when it fits, puts Sign out at the top's end
(a text button in iOS's bar, an overflow menu on Android), goes back a step
on Android's back gesture, and draws a disabled button in a quiet fill.
- Name: no label over the field, "Your name" as its placeholder.
- Each step saves what it asks for when Continue is pressed (`submit`), so a
step after Name doesn't lose it, and owns its failure sentence.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: version 1.0.0 for the first store release (#2565)
The version the App Store and Google Play show. Build numbers stay with EAS
(appVersionSource remote, autoIncrement).
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: sign in with ChatGPT, Claude or xAI when connecting an AI (#2605)
* OpenBot Mobile: sign in with ChatGPT, Claude or xAI when connecting an AI
Connect your AI offered keys only and sent plans to a computer. Where the
server lists a provider in the person's signIns, picking it now offers its
sign-in, as the web app does in a browser (startPersonalAiSignIn):
- ChatGPT signs in with a code (method device): the phone shows the code,
opens OpenAI's page, and reads the sign-in until it is approved. Its browser
sign-in ends on a page whose address a phone's browser sheet can't copy.
Where OpenAI gives no code, the phone says to turn on device code sign-in.
- xAI opens its page and reads the sign-in until it is approved.
- Claude opens its page; once approved, the person pastes the code it shows
(finishPersonalAiSignIn).
Approved, the sign-in is connected as the person's AI (a plan, or an xAI
sign-in on the xAI preset's model). An API key stays a tap away. Uses the
existing API only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Connect your AI as a clean list and a centered provider page
The screen stacked a paragraph, a connected card, a heading, the provider's
buttons, Back and Done. Now:
- The list: one short line, then each provider once with its logo, and a
check on the one Bots use. Done sits at the foot, only once Bots have an AI.
- A provider's page: "All providers" at the top, then its logo and name
centered in the room left, and the one thing to press: its sign-in, or its
key and Connect. The other way in is a quiet text link. No Back or Done
buttons in the middle; the screen's own button waits while a page is open,
in onboarding too.
- One shared PrimaryButton (src/components/primary-button.tsx): round, large,
and disabled in a quiet fill, used by onboarding and these screens.
- Key fields lose their required stars.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Account is the settings list, and Notifications is a tab (#2608)
* OpenBot Mobile: Account is the settings list, and Notifications is a tab
Account lists what the web app's settings do, grouped the same way: You
(General, Notifications, Organizations) and Every Bot (AI providers,
Approvals, Routines, Memory, Skills, Connections), then Sign out and Delete
account in red. New screens: General (name and standing instructions),
Notification settings (check-ins and which kinds go where), and
Organizations (the list, with its swipe, moved off Account). Approvals is
the rules screen for every Bot.
The More tab and its menus are gone. Notifications is a tab with the
waiting count, and its Allow notifications switch shows only while this
phone isn't told. Existing operations only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the organization worked in, small and grey under its row's name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: no scroll fade, and a chat header that blurs and steps aside (#2611)
* OpenBot Mobile: Account is the settings list, and Notifications is a tab
Account lists what the web app's settings do, grouped the same way: You
(General, Notifications, Organizations) and Every Bot (AI providers,
Approvals, Routines, Memory, Skills, Connections), then Sign out and Delete
account in red. New screens: General (name and standing instructions),
Notification settings (check-ins and which kinds go where), and
Organizations (the list, with its swipe, moved off Account). Approvals is
the rules screen for every Bot.
The More tab and its menus are gone. Notifications is a tab with the
waiting count, and its Allow notifications switch shows only while this
phone isn't told. Existing operations only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the organization worked in, small and grey under its row's name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: no fade under the header, and a chat header that steps aside
The fade drawn where a page meets the header is gone from every screen.
It sat over the top of some pages' first lines (a Bot's orb, for one).
A chat draws its own header (src/hiding-header.tsx): the way back and who
the chat is with, as before. It slides up under the status bar while the
person scrolls down, and comes back as they scroll up, reach the top, or
send. Only their own scrolling moves it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a chat scrolls on under a blurred header
The chat's header no longer has a solid ground. The conversation scrolls on
under it, blurred most behind the status bar and fading out a little below
the bar: ten faint blur bands on iOS, so no edge shows, and the page's own
ground as a tint over them (the tint alone on Android). The names sit on a
small glass pill so they read over the page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Connections as the web app has it (#2613)
* OpenBot Mobile: Account is the settings list, and Notifications is a tab
Account lists what the web app's settings do, grouped the same way: You
(General, Notifications, Organizations) and Every Bot (AI providers,
Approvals, Routines, Memory, Skills, Connections), then Sign out and Delete
account in red. New screens: General (name and standing instructions),
Notification settings (check-ins and which kinds go where), and
Organizations (the list, with its swipe, moved off Account). Approvals is
the rules screen for every Bot.
The More tab and its menus are gone. Notifications is a tab with the
waiting count, and its Allow notifications switch shows only while this
phone isn't told. Existing operations only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: the organization worked in, small and grey under its row's name
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: no fade under the header, and a chat header that steps aside
The fade drawn where a page meets the header is gone from every screen.
It sat over the top of some pages' first lines (a Bot's orb, for one).
A chat draws its own header (src/hiding-header.tsx): the way back and who
the chat is with, as before. It slides up under the status bar while the
person scrolls down, and comes back as they scroll up, reach the top, or
send. Only their own scrolling moves it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a chat scrolls on under a blurred header
The chat's header no longer has a solid ground. The conversation scrolls on
under it, blurred most behind the status bar and fading out a little below
the bar: ten faint blur bands on iOS, so no edge shows, and the page's own
ground as a tint over them (the tint alone on Android). The names sit on a
small glass pill so they read over the page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Connect an app on Connections, as the web app does
Connections listed only the apps already added, so an organization with
none showed "No apps yet" even to the person who can add them. It now has
the web app's Connect an app: the catalogue's one-press apps nobody has
added (the web's catalogueToAddRows rule), for the same people (a personal
OpenBot, or an organization whose apps aren't locked down). One press adds
the app (createApp) and signs in at it (connectApp), the same requests the
web app and OpenBot Desktop send. The empty state names an admin only where
apps are locked down.
The phone's connect steps move to src/phone-connect.ts, shared by
Connections and an app's own screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Connections gets search, Browse apps, Add custom MCP and the Vault
The rest of the web app's Connections, with the same requests:
- Search apps: filters the page, and searches the wider directory
(listAppDirectory) once the typing settles. A directory app is added and
connected in one press, or requested from an admin
(createAppAccessRequest) by somebody who can't add apps.
- Browse apps: the whole directory, fifty at a time, searched by name.
- Add custom MCP, from the header's +: an MCP server by its address
(createApp from "address"), with a key for an admin, and the server's
refusals as it says them.
- Vault: the website logins Bots sign in with (listSavedLogins), removed
with a swipe (deleteSavedLogin).
Who adds apps now follows the web's rule for the directory and custom
servers: a personal OpenBot, an owner or admin, or anybody while apps are
open.
Signing in to an app from the phone no longer waits for the server to send
the browser back to the app (mobileConnections). Where it can't, the
sign-in ends on the web app's Connections page, the person taps Done, and
the phone asks the app whether the account is connected. The "Connect an
app in OpenBot on your computer" notice is gone.
The phone's API client adds the "Saved logins" and "App access requests"
areas, generated from the spec.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: directory logos draw, two-column app rows, and a swipe to remove
- Browse apps' logos are SVG served from addresses with no .svg at the end,
so an Image couldn't draw them. They are drawn by react-native-svg first,
then tried as an image, and left out where neither loads.
- Each Browse apps row is two columns: the app (its logo beside its name,
what it does under them), and what a press does.
- An added app on Connections swipes: Disconnect for your own account,
saying what else it ends (disconnectApp), or Remove, which turns the app
off for everyone (deleteApp), for whoever the web app lets: a personal
OpenBot's person, an admin, or while apps are open the one who added it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: an added app's row on Connections leads with its logo
As the web app's Connections draws it: the app's logo where it has one
(listApps' logo), and its first letter where it has none or the logo
doesn't load. The logo drawing moves to a shared AppLogo component, used by
Browse apps too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: an app's row ends with an icon for where it stands
In Browse apps and on Connections, the Connect and Request buttons become
one round icon (AppStateIcon): + to add an app (or ask an admin for it), a
plug for an app that is added and waits for the person's account (a press
opens its screen to connect), a check for one that is set up, a clock for
one requested from an admin, and a spinner while a press works.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: no screen is a dead end
A screen opened by a link with nothing under it (a cold start from a
notification or an app's sign-in, or a reload in development) was the only
screen in the stack, so its header had no back button. The root layout now
anchors the tabs (unstable_settings.anchor), so Expo Router puts them under
whatever a link opens, and back always goes somewhere.
An address the app has no screen for went to Expo Router's "Unmatched
Route" page; it goes Home now (app/+not-found.tsx).
The screens that hide the header only pass through to another, and the
chat's own header goes back, or Home when there is nothing to go back to.
tests/no-dead-ends.test.ts holds all three.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: delete an account at once, with nothing to cancel
The phone moves to the account deletion of #2508, with the web app's steps and words.
- Delete account has one button. It always sends immediate: true and deletes the account at once. Then the phone forgets its sign-in and shows sign-in. A 401 after a lost answer reads as the account gone.
- A deletion that stopped partway (503) or one under way (409) is said in the web app's words, and the same button sends it again.
- The page for a scheduled deletion is now the being-deleted page, with Finish deleting (it opens Delete account) and Sign out. Nothing calls cancelAccountDeletion. Setting up is not shown while the account is being deleted.
- The CHANGELOG entry says how deleting works now.
* OpenBot Mobile: built for iPhone Duo, open and closed (#2709)
* OpenBot Mobile: built for iPhone Duo, open and closed
Open, Chats is the list beside the open chat, as on the desktop app, and every
other page is a centered 640-point column clear of iOS's side rail. Closed, the
outer display keeps the phone layout, clear of the rail and side status bar.
Folding on a chat keeps it open; unfolding puts it back beside the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: sign-in's big-screen column without changing the phone's page
Centers the Welcome page on iPhone Duo by padding its scroll view, instead of
wrapping its content in another view, which moved the phone's Sign in button
by a pixel. On a phone the page is now pixel for pixel what it was.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: Android's top app bar centers its title over the column on a big screen
A foldable open or a tablet gets Material's center-aligned top app bar, so a
page's title heads its centered column, as on iPhone Duo.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: how OpenBot Mobile lays out on Android foldables and tablets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a conversation no longer shows the system messages a run records (#2752)
After a reply, the phone drew the run's system message under it: the
Bot's whole instructions, thousands of characters written for the model.
The web app's chat shows no system message, and now neither does the
phone (src/shown-messages.ts).
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a reply streams again when its run's start never reached the phone (#2761)
The phone joins a conversation's live socket a moment after it sends, when
the Bot's run is already under way, and Cloud's gateway replays nothing of
that run: its RUN_STARTED never arrives. Every word and step after it was
dropped for having no run to go to, so nothing was drawn live and the reply
only appeared, in jumps, each time the messages were read again.
A run is now taken up from its first event (or from the run the join token
names), its end is matched by the run's real id, stream_idle ends any run
still drawn as live, and while the socket is quiet on a live run for 8
seconds the messages are read again as well.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: "Thinking…" goes when a run fails, not two minutes later (#2703)
A run that ended in a RUN_ERROR often leaves nothing from the Bot in the
messages, so the conversation still took a reply to be owed and drew
"Thinking…" under the failure until AWAIT_MS (120s) ran out. A live
RUN_ERROR now clears what was awaited.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a Bot's steps read as the web app's, never as what the tool answered (#2760)
* OpenBot Mobile: a Bot's steps read as the web app's, never as what the tool answered
Opened, "Took N steps" listed each step read back over REST by its text, and a `tool` message's text is
the tool's whole answer: a fetched article, with its markdown and escapes. The web app lists one line a
step, in its words for the tool, with what the step was done to beside it (the search, the site, the
app, the command, the file), and keeps the answer behind a second tap.
The phone now does the same (mobile/src/run-steps.ts). A step read back has no name, so it is named
from the calls the conversation's socket carried, the replay's ended runs included: by the message its
answer came in, by the call's id, or by the answer itself. One whose call was never seen reads "Used a
tool". A reply that only called tools is no longer counted again beside its own steps, and a question's
answer is no step, since its card is drawn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* OpenBot Mobile: a Bot's steps have their icons and say what they did in one phrase
The folded line says what the steps did, counted by kind as the web app's
does ("Searched the web and read 2 pages"), in place of "Took 4 steps".
Each step has its kind's icon (the web app's: search, page, browser, app,
command, file, folder, saved file, subtask, tool), and opened, the steps
hang from the line on a thin branch, the last one closing it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 …
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replies on the phone did not stream. They sat half written for a long time and then jumped, while the push notification already said the reply was done.
Cause, confirmed on the Android emulator against OpenBot Cloud with a build that logged every socket frame. For "What's new in tech news today?":
The phone joins a moment after it sends, when the run is already under way, and the gateway replays nothing of it, so
RUN_STARTEDnever arrives.reduceinmobile/src/live-run.tsdropped every event for a run it had not seen start. Nothing was drawn live, and the reply only showed when the 1.5-second reads of the messages caught the server's saved copy, which moves in jumps. The missing replay is likely the same gateway bug David is fixing for the web app's P0: with run replay projections on, a join into a live run is served from the database alone.Change
live-run.ts: a run is taken up from its first event: under the id the event names, else as a new run when the newest one is over. ItsRUN_FINISHED(which names the real id) ends it.caughtUpalso draws the run the join token names. Newidle.live-thread.ts:stream_idle(no run in progress) reaches the screen, which ends any run still drawn as live.conversation.tsx: while the socket is quiet on a live run for 8 seconds, the messages are read again as well; a live run whose end never came, while the messages say nothing is running, is ended.Checked
bun test mobile/tests: 266 pass, including 6 new cases inlive-run.test.ts.tsc --noEmitinmobile.biome lintandbiome formaton the changed files.Not in this PR: a bold link (
**[text](url)**) still shows its raw Markdown in a reply. That is the Markdown renderer, a separate fix.🤖 Generated with Claude Code