Skip to content

API: apps connected with a key move to OpenBot Cloud connected - #2138

Merged
davidmckayv merged 1 commit into
mainfrom
api/move-key-apps
Nov 24, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
api/move-key-apps

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

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's recipientKey (RSA-OAEP-256 with A256GCM, the AI key's own sealing). The app record never holds the key.
  • carried on ExportEstimate, Export, Import and ImportVerification: the apps that come across connected. On an imported Import, 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.recipientKey now also seals app keys, with or without includeModelKeys. Without it, nothing changes: every connection is listed in reconnect, 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 carried sees fewer apps on reconnect, each of which is connected on Cloud already.

Tests

  • bun run api:lint passes.
  • bun run api:generate regenerated the checked-in client.
  • bun test api: 117 pass, 0 fail.

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
davidmckayv merged commit 7a73d35 into main Nov 24, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the api/move-key-apps branch November 24, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant