Skip to main content

Deploy a change

Edit your TypeScript, then increase version in the existing YAML file:
Each published version is fixed. Reusing a version number with changed code returns app_version_immutable. Use a new number for each change. Direct REST callers keep the same app family URL and token. SDK and MCP apps that select an exact version need a matching update.

Roll back

Choose a previously deployed version by app name:
New requests go to that version. Your REST URL and token stay the same. Promotion does not rebuild the app or edit your local files. You can also read the app name from your config:
Always pass the destination in --version. The config’s version field does not choose the promotion target.
  • Promotion requires app.unified_app.read and app.unified_app.manage.
  • The target must still have a runnable bundle. Deleted versions cannot be promoted.
  • An explicit app name takes precedence over the config. Without a name or -f, discovery must find exactly one Unified App config.
  • Historical results remain readable through the app family URL and their read handles. Rerun and replay require the original version to be receiving traffic.
  • Unified App REST URLs use the family ID, not an individual version ID. The hosted MCP family URL follows traffic changes; sessions on the old version must reconnect.
  • If another deployment changes traffic concurrently, inspect the current target before retrying.