Repository navigation
API: apps connected with a key move to OpenBot Cloud connected - #2138
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 24, 2026 18:15
davidmckayv
force-pushed
the
api/move-key-apps
branch
4 times, most recently
from
November 24, 2026 19:30
00d3170 to
b462821
Compare
A move to OpenBot Cloud now says which apps come across connected and which need a sign-in. The export-estimate, the export, the import and its verification gain carried: the apps connected with a key this OpenBot holds, whose keys travel sealed to the import's recipientKey, as a model key already does. ReconnectApp gains reason, for a carried app the organization on Cloud couldn't connect (it doesn't allow it, for example). recipientKey now seals those app keys too, with or without includeModelKeys. Additive only: new optional fields and one new schema.
davidmckayv
force-pushed
the
api/move-key-apps
branch
from
November 24, 2026 19:53
b462821 to
8c34235
Compare
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.
Reported in dogfooding: after a move to OpenBot Cloud a person had to connect about 20 apps again, including apps they had connected with a key they typed. A move already carries the person's AI key sealed for the import. This lets it carry app keys the same way, and says plainly which apps come across connected and which need a sign-in.
What changes in the API
CarriedApp: an app connected with a key, which moves connected. Its key travels sealed to the import'srecipientKey(RSA-OAEP-256 with A256GCM, the AI key's own sealing). The app record never holds the key.carriedonExportEstimate,Export,ImportandImportVerification: the apps that come across connected. On an importedImport, the ones that were connected on Cloud with their Bots given them again.ReconnectApp.reason: why an app the bundle carried still needs connecting on Cloud, for example because the organization doesn't allow it.ExportInput.recipientKeynow also seals app keys, with or withoutincludeModelKeys. Without it, nothing changes: every connection is listed inreconnect, as today.Sign-in connections still don't move. They live with the service OpenBot signed in through, and stay on
reconnect.Compatibility
Additive only: one new schema and new optional fields. A client that doesn't read
carriedsees fewer apps onreconnect, each of which is connected on Cloud already.Tests
bun run api:lintpasses.bun run api:generateregenerated the checked-in client.bun test api: 117 pass, 0 fail.