Deploy and Live Update
A miniapp deployment has two layers:
- an immutable package release produced by your build; and
- a logical tag or environment that selects one verified release.
The AI Platform follows the logical selection while retaining the immutable identity it verified. A new selection activates in a fresh realm; a failed candidate does not replace the last known good release.
Publish Once to Create the Application
Configure the supported Zephyr Cloud integration for the build that produces the assembled dist directory, then run one authenticated build. That first publication creates or discovers the application record and makes it available in the Zephyr Cloud UI. Use identifiers assigned to your organization rather than copying another publisher's values.
Follow the current Zephyr Cloud documentation for authenticating the build and enabling its supported Rspack or Rslib integration. Confirm the organization, project, application, immutable version, and source revision after the build finishes.
Zephyr Cloud is an external service whose interface can change independently, so this guide does not include a product screenshot. Use the current Zephyr Cloud documentation for its UI, then verify the immutable identities listed here in The AI Platform.
Authentication is owned by the developer or CI environment. Do not put credentials, sign-in links, or local session data in the repository.
Establish Development and Production Environments
Keep development publication and production selection in the same Zephyr Cloud application and control plane. After the first publication appears:
- Create an unlocked
devtag that authorized main-branch builds may advance. - Create an unlocked
developmentenvironment that followsdev. - Create a locked
productionenvironment and pin it to an exact immutable version.
Production has no authoritative prod tag. Main builds may advance dev and therefore development; they cannot move the manually pinned production environment.
Follow Development from TAP
- Open Settings → Miniapps in The AI Platform.
- Choose the Zephyr Cloud installation source.
- Select your organization, project, application, and
developmentenvironment. - Enable Follow updates, then choose Next launch or OTA activation.
- Review the requested permissions and install or enable the miniapp.
- Open its surface and confirm the displayed package and release identity.
The selector is logical, but the installation record also retains the exact resolved version, snapshot, descriptor, and integrity identity.
Publish a Visible Change
Change a visible string or behavior, then run the application-local build configured for development publication:
Confirm in Zephyr Cloud that:
- a new immutable release exists;
- the authorized
devtag resolves to that release; - the
developmentenvironment resolves through thedevtag; and - the
productionenvironment still resolves to the previous tested release.
The AI Platform verifies the updated descriptor and asset graph before it activates anything. Next launch keeps the current release active until you restart the app. OTA prepares a fresh realm and swaps the visible contribution after activation succeeds, without restarting the app. Host-managed Code and Browser use next-launch activation.
Compatible state is restored through the declared lifecycle contract. Browser storage tied to an outgoing realm is not a portable state mechanism.
Pin Production
Pin the exact immutable development release that passed validation. Do not rebuild or copy it through another control plane.
- Open the application in the Zephyr Cloud UI.
- Open its
productionenvironment. - Select the intended immutable version and save the exact version pin.
- Confirm
productionresolves to the recorded version ID, snapshot ID, and content digest. - Verify
productionfrom a separate installation or test profile.
Roll Back
Pin the production environment back to a previously verified immutable release. A followed The AI Platform installation resolves the earlier release and performs the same fresh-realm activation path. For development rollback, move the dev tag instead.
If a candidate fails descriptor, integrity, compatibility, import, mount, or state restoration checks, The AI Platform retains the last known good release and reports an activation error. Correct the release or select a previous one; do not ask users to clear unrelated application data.
Publication Evidence
For your own release process, retain a sanitized record of the package ID, immutable release and snapshot, content digest, source revision, selected environment, development tag when applicable, readiness result, and timestamp. Never include credentials or private authentication URLs.